public class RetryStep extends AbstractExecutionStep
Modifier and Type | Field and Description |
---|---|
List<OStatement> |
body |
List<OStatement> |
elseBody |
boolean |
elseFail |
ctx, next, prev, profilingEnabled, timedOut
Constructor and Description |
---|
RetryStep(List<OStatement> statements,
int retries,
List<OStatement> elseStatements,
Boolean elseFail,
OCommandContext ctx,
boolean enableProfiling) |
Modifier and Type | Method and Description |
---|---|
OScriptExecutionPlan |
initPlan(List<OStatement> body,
OCommandContext ctx) |
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
public List<OStatement> body
public List<OStatement> elseBody
public boolean elseFail
public RetryStep(List<OStatement> statements, int retries, List<OStatement> elseStatements, Boolean elseFail, OCommandContext ctx, boolean enableProfiling)
public OResultSet syncPull(OCommandContext ctx, int nRecords) throws OTimeoutException
OTimeoutException
public OScriptExecutionPlan initPlan(List<OStatement> body, OCommandContext ctx)
Copyright © 2009–2020 OrientDB. All rights reserved.