public class IfStep extends AbstractExecutionStep
Modifier and Type | Field and Description |
---|---|
protected OBooleanExpression |
condition |
protected OScriptExecutionPlan |
negativePlan |
List<OStatement> |
negativeStatements |
protected OScriptExecutionPlan |
positivePlan |
List<OStatement> |
positiveStatements |
ctx, next, prev, profilingEnabled, timedOut
Constructor and Description |
---|
IfStep(OCommandContext ctx,
boolean profilingEnabled) |
Modifier and Type | Method and Description |
---|---|
OBooleanExpression |
getCondition() |
OScriptExecutionPlan |
getNegativePlan() |
OScriptExecutionPlan |
getPositivePlan() |
protected void |
init(OCommandContext ctx) |
void |
initNegativePlan(OCommandContext ctx) |
void |
initPositivePlan(OCommandContext ctx) |
void |
setCondition(OBooleanExpression condition) |
void |
setNegativePlan(OScriptExecutionPlan negativePlan) |
void |
setPositivePlan(OScriptExecutionPlan positivePlan) |
OResultSet |
syncPull(OCommandContext ctx,
int nRecords) |
close, getContext, getCostFormatted, getNext, getPrev, isProfilingEnabled, sendTimeout, setNext, setPrevious, setProfilingEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
basicDeserialize, basicSerialize, canBeCached, copy, deserialize, getDescription, getIndent, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, prettyPrint, reset, serialize
getCost, toResult
protected OBooleanExpression condition
protected OScriptExecutionPlan positivePlan
protected OScriptExecutionPlan negativePlan
public List<OStatement> positiveStatements
public List<OStatement> negativeStatements
public IfStep(OCommandContext ctx, boolean profilingEnabled)
public OResultSet syncPull(OCommandContext ctx, int nRecords) throws OTimeoutException
OTimeoutException
protected void init(OCommandContext ctx)
public void initPositivePlan(OCommandContext ctx)
public void initNegativePlan(OCommandContext ctx)
public OBooleanExpression getCondition()
public void setCondition(OBooleanExpression condition)
public OScriptExecutionPlan getPositivePlan()
public void setPositivePlan(OScriptExecutionPlan positivePlan)
public OScriptExecutionPlan getNegativePlan()
public void setNegativePlan(OScriptExecutionPlan negativePlan)
Copyright © 2009–2021 OrientDB. All rights reserved.