
public class OTraverseStatement extends OStatement
| Modifier and Type | Class and Description |
|---|---|
static class |
OTraverseStatement.Strategy |
| Modifier and Type | Field and Description |
|---|---|
protected OLimit |
limit |
protected OInteger |
maxDepth |
protected List<OTraverseProjectionItem> |
projections |
protected OSkip |
skip |
protected OTraverseStatement.Strategy |
strategy |
protected OFromClause |
target |
protected OWhereClause |
whileClause |
CUSTOM_STRICT_SQL, originalStatementchildren, firstToken, id, lastToken, parent, parser, value| Constructor and Description |
|---|
OTraverseStatement(int id) |
OTraverseStatement(OrientSql p,
int id) |
createExecutionPlan, createExecutionPlanNoCache, deserialize, deserializeFromOResult, execute, execute, execute, execute, execute, execute, execute, executinPlanCanBeCached, getOriginalStatement, jjtAccept, serialize, setOriginalStatement, toStringchildrenAccept, dump, getDatabase, getValue, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toStringprotected List<OTraverseProjectionItem> projections
protected OFromClause target
protected OWhereClause whileClause
protected OSkip skip
protected OLimit limit
protected OTraverseStatement.Strategy strategy
protected OInteger maxDepth
public OTraverseStatement(int id)
public OTraverseStatement(OrientSql p, int id)
public void validate()
throws OCommandSQLParsingException
validate in class OStatementOCommandSQLParsingExceptionpublic 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 void toString(Map<Object,Object> params, StringBuilder builder)
toString in class OStatementpublic boolean refersToParent()
refersToParent in class OStatementpublic OStatement copy()
copy in class OStatementpublic boolean isIdempotent()
isIdempotent in class OStatementpublic List<OTraverseProjectionItem> getProjections()
public void setProjections(List<OTraverseProjectionItem> projections)
public OFromClause getTarget()
public void setTarget(OFromClause target)
public OWhereClause getWhileClause()
public void setWhileClause(OWhereClause whileClause)
public OLimit getLimit()
public void setLimit(OLimit limit)
public OTraverseStatement.Strategy getStrategy()
public void setStrategy(OTraverseStatement.Strategy strategy)
public OInteger getMaxDepth()
public void setMaxDepth(OInteger maxDepth)
public OSkip getSkip()
public void setSkip(OSkip skip)
Copyright © 2009–2025 OrientDB. All rights reserved.