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