public class CountFromClassStep extends AbstractExecutionStep
ctx, next, prev, profilingEnabled, timedOut
Constructor and Description |
---|
CountFromClassStep(OIdentifier targetClass,
String alias,
OCommandContext ctx,
boolean profilingEnabled) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeCached() |
long |
getCost()
returns the absolute cost (in nanoseconds) of the execution of this step
|
String |
prettyPrint(int depth,
int indent) |
void |
reset() |
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, copy, deserialize, getDescription, getIndent, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, serialize
toResult
public CountFromClassStep(OIdentifier targetClass, String alias, OCommandContext ctx, boolean profilingEnabled)
targetClass
- An identifier containing the name of the class to countalias
- the name of the property returned in the result-setctx
- the query contextprofilingEnabled
- true to enable the profiling of the execution (for SQL PROFILE)public OResultSet syncPull(OCommandContext ctx, int nRecords) throws OTimeoutException
OTimeoutException
public void reset()
public String prettyPrint(int depth, int indent)
public long getCost()
OExecutionStep
public boolean canBeCached()
Copyright © 2009–2020 OrientDB. All rights reserved.