
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, setProfilingEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbasicDeserialize, basicSerialize, getDescription, getIndent, getName, getSubExecutionPlans, getTargetNode, getType, resettoResultprotected 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
OTimeoutExceptionpublic void sendTimeout()
sendTimeout in interface OExecutionStepInternalsendTimeout in class AbstractExecutionSteppublic void close()
close in interface OExecutionStepInternalclose in class AbstractExecutionSteppublic String prettyPrint(int depth, int indent)
public long getCost()
OExecutionSteppublic OResult serialize()
public void deserialize(OResult fromResult)
public List<OExecutionStep> getSubSteps()
public boolean canBeCached()
public OExecutionStep copy(OCommandContext ctx)
Copyright © 2009–2025 OrientDB. All rights reserved.