public class CopyRecordContentBeforeUpdateStep extends AbstractExecutionStep
Reads an upstream result set and returns a new result set that contains copies of the original OResult instances
This is mainly used from statements that need to copy of the original data before modifying it, eg. UPDATE ... RETURN BEFORE
ctx, next, prev, profilingEnabled, timedOut
Constructor and Description |
---|
CopyRecordContentBeforeUpdateStep(OCommandContext ctx,
boolean profilingEnabled) |
Modifier and Type | Method and Description |
---|---|
long |
getCost()
returns the absolute cost (in nanoseconds) of the execution of this step
|
String |
prettyPrint(int depth,
int indent) |
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, reset, serialize
toResult
public CopyRecordContentBeforeUpdateStep(OCommandContext ctx, boolean profilingEnabled)
public OResultSet syncPull(OCommandContext ctx, int nRecords) throws OTimeoutException
OTimeoutException
public String prettyPrint(int depth, int indent)
public long getCost()
OExecutionStep
Copyright © 2009–2019 OrientDB. All rights reserved.