public class FetchFromClassExecutionStep extends AbstractExecutionStep
Modifier and Type | Field and Description |
---|---|
protected String |
className |
protected boolean |
orderByRidAsc |
protected boolean |
orderByRidDesc |
protected List<OExecutionStep> |
subSteps |
ctx, next, prev, profilingEnabled, timedOut
Modifier | Constructor and Description |
---|---|
protected |
FetchFromClassExecutionStep(OCommandContext ctx,
boolean profilingEnabled) |
|
FetchFromClassExecutionStep(String className,
Set<String> clusters,
OCommandContext ctx,
Boolean ridOrder,
boolean profilingEnabled) |
|
FetchFromClassExecutionStep(String className,
Set<String> clusters,
QueryPlanningInfo planningInfo,
OCommandContext ctx,
Boolean ridOrder,
boolean profilingEnabled)
iterates over a class and its subclasses
|
Modifier and Type | Method and Description |
---|---|
boolean |
canBeCached() |
void |
close() |
OExecutionStep |
copy(OCommandContext ctx) |
void |
deserialize(OResult fromResult) |
long |
getCost()
returns the absolute cost (in nanoseconds) of the execution of this step
|
List<OExecutionStep> |
getSubSteps() |
protected OClass |
loadClassFromSchema(String className,
OCommandContext ctx) |
String |
prettyPrint(int depth,
int indent) |
void |
sendTimeout() |
OResult |
serialize() |
OResultSet |
syncPull(OCommandContext ctx,
int nRecords) |
getContext, getCostFormatted, getNext, getPrev, isProfilingEnabled, setNext, setPrevious, setProfilingEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
basicDeserialize, basicSerialize, getDescription, getIndent, getName, getSubExecutionPlans, getTargetNode, getType, reset
toResult
protected String className
protected boolean orderByRidAsc
protected boolean orderByRidDesc
protected List<OExecutionStep> subSteps
protected FetchFromClassExecutionStep(OCommandContext ctx, boolean profilingEnabled)
public FetchFromClassExecutionStep(String className, Set<String> clusters, OCommandContext ctx, Boolean ridOrder, boolean profilingEnabled)
public FetchFromClassExecutionStep(String className, Set<String> clusters, QueryPlanningInfo planningInfo, OCommandContext ctx, Boolean ridOrder, boolean profilingEnabled)
className
- the class nameclusters
- if present (it can be null), filter by only these clustersctx
- the query contextridOrder
- true to sort by RID asc, false to sort by RID desc, null for no sort.protected OClass loadClassFromSchema(String className, OCommandContext ctx)
public OResultSet syncPull(OCommandContext ctx, int nRecords) throws OTimeoutException
OTimeoutException
public void sendTimeout()
sendTimeout
in interface OExecutionStepInternal
sendTimeout
in class AbstractExecutionStep
public void close()
close
in interface OExecutionStepInternal
close
in class AbstractExecutionStep
public String prettyPrint(int depth, int indent)
public long getCost()
OExecutionStep
public OResult serialize()
public void deserialize(OResult fromResult)
public List<OExecutionStep> getSubSteps()
public boolean canBeCached()
public OExecutionStep copy(OCommandContext ctx)
Copyright © 2009–2020 OrientDB. All rights reserved.