public class OSelectStatement extends OStatement
Modifier and Type | Field and Description |
---|---|
protected OFetchPlan |
fetchPlan |
protected OGroupBy |
groupBy |
protected OLetClause |
letClause |
protected OLimit |
limit |
protected OStorage.LOCKING_STRATEGY |
lockRecord |
protected Boolean |
noCache |
protected OOrderBy |
orderBy |
protected Boolean |
parallel |
protected OProjection |
projection |
protected OSkip |
skip |
protected OFromClause |
target |
protected OTimeout |
timeout |
protected OUnwind |
unwind |
protected OWhereClause |
whereClause |
CUSTOM_STRICT_SQL, originalStatement
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OSelectStatement(int id) |
OSelectStatement(OrientSql p,
int id) |
createExecutionPlan, deserializeFromOResult, execute, execute, execute, execute, execute, execute, execute, getOriginalStatement, setOriginalStatement, toString
childrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString
protected OFromClause target
protected OProjection projection
protected OWhereClause whereClause
protected OGroupBy groupBy
protected OOrderBy orderBy
protected OUnwind unwind
protected OSkip skip
protected OLimit limit
protected OStorage.LOCKING_STRATEGY lockRecord
protected OFetchPlan fetchPlan
protected OLetClause letClause
protected OTimeout timeout
protected Boolean parallel
protected Boolean noCache
public OSelectStatement(int id)
public OSelectStatement(OrientSql p, int id)
public OProjection getProjection()
public void setProjection(OProjection projection)
public OFromClause getTarget()
public void setTarget(OFromClause target)
public OWhereClause getWhereClause()
public void setWhereClause(OWhereClause whereClause)
public OGroupBy getGroupBy()
public void setGroupBy(OGroupBy groupBy)
public OOrderBy getOrderBy()
public void setOrderBy(OOrderBy orderBy)
public OSkip getSkip()
public void setSkip(OSkip skip)
public OLimit getLimit()
public void setLimit(OLimit limit)
public OStorage.LOCKING_STRATEGY getLockRecord()
public void setLockRecord(OStorage.LOCKING_STRATEGY lockRecord)
public OFetchPlan getFetchPlan()
public void setFetchPlan(OFetchPlan fetchPlan)
public OLetClause getLetClause()
public void setLetClause(OLetClause letClause)
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class OStatement
public void validate() throws OCommandSQLParsingException
validate
in class OStatement
OCommandSQLParsingException
public boolean executinPlanCanBeCached()
executinPlanCanBeCached
in class OStatement
public OResultSet execute(ODatabase db, Object[] args, OCommandContext parentCtx, boolean usePlanCache)
execute
in class OStatement
public OResultSet execute(ODatabase db, Map params, OCommandContext parentCtx, boolean usePlanCache)
execute
in class OStatement
public OInternalExecutionPlan createExecutionPlan(OCommandContext ctx, boolean enableProfiling)
OStatement
createExecutionPlan
in class OStatement
ctx
- the context that will be used to execute the statementenableProfiling
- true to enable profiling, false to disable itpublic OInternalExecutionPlan createExecutionPlanNoCache(OCommandContext ctx, boolean enableProfiling)
createExecutionPlanNoCache
in class OStatement
public OSelectStatement copy()
copy
in class OStatement
public boolean refersToParent()
refersToParent
in class OStatement
public OUnwind getUnwind()
public boolean isIdempotent()
isIdempotent
in class OStatement
public void setUnwind(OUnwind unwind)
public OTimeout getTimeout()
public void setTimeout(OTimeout timeout)
public void setParallel(Boolean parallel)
public void setNoCache(Boolean noCache)
public OResult serialize()
serialize
in class OStatement
public void deserialize(OResult fromResult)
deserialize
in class OStatement
Copyright © 2009–2020 OrientDB. All rights reserved.