Class ONestedProjectionItem
java.lang.Object
com.orientechnologies.orient.core.sql.parser.SimpleNode
com.orientechnologies.orient.core.sql.parser.ONestedProjectionItem
- All Implemented Interfaces:
Node
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OIdentifierprotected booleanprotected ONestedProjectionprotected OExpressionprotected booleanprotected booleanFields inherited from class com.orientechnologies.orient.core.sql.parser.SimpleNode
children, firstToken, id, lastToken, PARAMETER_PLACEHOLDER, parent, parser, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()voiddeserialize(OResult fromResult) booleanexpand(OExpression expression, String name, Object value, OCommandContext ctx, int recursion) inthashCode()booleangiven a property name, calculates if this property name matches this nested projection item, eg.voidtoGenericStatement(StringBuilder builder) voidtoString(Map<Object, Object> params, StringBuilder builder) Methods inherited from class com.orientechnologies.orient.core.sql.parser.SimpleNode
dump, getValue, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toGenericStatement, toString, toString
-
Field Details
-
exclude
protected boolean exclude -
star
protected boolean star -
expression
-
rightWildcard
protected boolean rightWildcard -
expansion
-
alias
-
-
Constructor Details
-
ONestedProjectionItem
public ONestedProjectionItem(int id) -
ONestedProjectionItem
-
-
Method Details
-
copy
- Overrides:
copyin classSimpleNode
-
matches
given a property name, calculates if this property name matches this nested projection item, eg.- this is a *, so it matches any property name
- the field name for this projection item is the same as the input property name
- this item has a wildcard and the partial field is a prefix of the input property name
- Parameters:
propertyName-- Returns:
-
toString
- Specified by:
toStringin classSimpleNode
-
toGenericStatement
- Specified by:
toGenericStatementin classSimpleNode
-
equals
-
hashCode
public int hashCode() -
expand
public Object expand(OExpression expression, String name, Object value, OCommandContext ctx, int recursion) -
serialize
-
deserialize
-