public class OWhileBlock extends OStatement
Modifier and Type | Field and Description |
---|---|
protected OBooleanExpression |
condition |
protected List<OStatement> |
statements |
CUSTOM_STRICT_SQL, originalStatement
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OWhileBlock(int id) |
OWhileBlock(OrientSql p,
int id) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsReturn() |
OStatement |
copy() |
OUpdateExecutionPlan |
createExecutionPlan(OCommandContext ctx,
boolean enableProfiling)
creates an execution plan for current statement
|
boolean |
equals(Object o) |
OResultSet |
execute(ODatabase db,
Map params,
OCommandContext parentCtx) |
OResultSet |
execute(ODatabase db,
Object[] args,
OCommandContext parentCtx) |
int |
hashCode() |
Object |
jjtAccept(OrientSqlVisitor visitor,
Object data)
Accept the visitor.
|
void |
toString(Map<Object,Object> params,
StringBuilder builder) |
createExecutionPlan, createExecutionPlanNoCache, deserialize, deserializeFromOResult, execute, execute, execute, executinPlanCanBeCached, getOriginalStatement, isIdempotent, refersToParent, serialize, setOriginalStatement, toString, validate
childrenAccept, dump, getDatabase, getValue, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString
protected OBooleanExpression condition
protected List<OStatement> statements
public OWhileBlock(int id)
public OWhileBlock(OrientSql p, int id)
public Object jjtAccept(OrientSqlVisitor visitor, Object data)
jjtAccept
in interface Node
jjtAccept
in class OStatement
public OResultSet execute(ODatabase db, Object[] args, OCommandContext parentCtx)
execute
in class OStatement
public OResultSet execute(ODatabase db, Map params, OCommandContext parentCtx)
execute
in class OStatement
public OUpdateExecutionPlan 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 OStatement copy()
copy
in class OStatement
public boolean containsReturn()
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class OStatement
Copyright © 2009–2019 OrientDB. All rights reserved.