
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, originalStatementchildren, 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, jjtAccept, setOriginalStatement, toStringchildrenAccept, dump, getDatabase, getValue, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toStringprotected 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 OStatementpublic void validate()
throws OCommandSQLParsingException
validate in class OStatementOCommandSQLParsingExceptionpublic boolean executinPlanCanBeCached()
executinPlanCanBeCached in class OStatementpublic OResultSet execute(ODatabase db, Object[] args, OCommandContext parentCtx, boolean usePlanCache)
execute in class OStatementpublic OResultSet execute(ODatabase db, Map params, OCommandContext parentCtx, boolean usePlanCache)
execute in class OStatementpublic OInternalExecutionPlan createExecutionPlan(OCommandContext ctx, boolean enableProfiling)
OStatementcreateExecutionPlan in class OStatementctx - 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 OStatementpublic OSelectStatement copy()
copy in class OStatementpublic boolean refersToParent()
refersToParent in class OStatementpublic OUnwind getUnwind()
public boolean isIdempotent()
isIdempotent in class OStatementpublic void setUnwind(OUnwind unwind)
public void setTimeout(OTimeout timeout)
public OTimeout getTimeout()
public void setParallel(Boolean parallel)
public void setNoCache(Boolean noCache)
public OResult serialize()
serialize in class OStatementpublic void deserialize(OResult fromResult)
deserialize in class OStatementCopyright © 2009–2025 OrientDB. All rights reserved.