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, originalStatement
children, 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, serialize, setOriginalStatement, toString
childrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString
protected 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 OStatement
OCommandSQLParsingException
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 void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class OStatement
public boolean refersToParent()
refersToParent
in class OStatement
public OStatement copy()
copy
in class OStatement
public boolean isIdempotent()
isIdempotent
in class OStatement
public 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–2020 OrientDB. All rights reserved.