Class OProjection
java.lang.Object
com.orientechnologies.orient.core.sql.parser.SimpleNode
com.orientechnologies.orient.core.sql.parser.OProjection
- All Implemented Interfaces:
Node
-
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.core.sql.parser.SimpleNode
children, firstToken, id, lastToken, PARAMETER_PLACEHOLDER, parent, parser, value -
Constructor Summary
ConstructorsConstructorDescriptionOProjection(int id) OProjection(OrientSql p, int id) OProjection(List<OProjectionItem> items, boolean distinct) -
Method Summary
Modifier and TypeMethodDescriptioncalculateSingle(OCommandContext iContext, OResult iRecord) copy()voiddeserialize(OResult fromResult) booleanvoidextractSubQueries(SubQueryCollector collector) getItems()inthashCode()booleanbooleanbooleanisExpand()booleanvoidsetDistinct(boolean distinct) voidsetItems(List<OProjectionItem> items) voidtoGenericStatement(StringBuilder builder) voidtoString(Map<Object, Object> params, StringBuilder builder) voidvalidate()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
-
distinct
protected boolean distinct
-
-
Constructor Details
-
OProjection
-
OProjection
public OProjection(int id) -
OProjection
-
-
Method Details
-
getItems
-
setItems
-
toString
- Specified by:
toStringin classSimpleNode
-
toGenericStatement
- Specified by:
toGenericStatementin classSimpleNode
-
calculateSingle
-
isExpand
public boolean isExpand() -
validate
public void validate() -
getExpandContent
-
getAllAliases
-
copy
- Overrides:
copyin classSimpleNode
-
equals
-
hashCode
public int hashCode() -
isDistinct
public boolean isDistinct() -
setDistinct
public void setDistinct(boolean distinct) -
extractSubQueries
-
refersToParent
public boolean refersToParent() -
serialize
-
deserialize
-
isCacheable
public boolean isCacheable()
-