
public class CheckClusterTypeStep extends AbstractExecutionStep
This step is used just as a gate check to verify that a cluster belongs to a class.
It accepts two values: a target cluster (name or OCluster) and a class. If the cluster belongs to the class, then the syncPool() returns an empty result set, otherwise it throws an OCommandExecutionException
ctx, next, prev, profilingEnabled, timedOut| Constructor and Description |
|---|
CheckClusterTypeStep(OCluster targetCluster,
String clazz,
OCommandContext ctx,
boolean profilingEnabled) |
CheckClusterTypeStep(String targetClusterName,
String clazz,
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, setProfilingEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbasicDeserialize, basicSerialize, canBeCached, copy, deserialize, getDescription, getIndent, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, reset, serializetoResultpublic CheckClusterTypeStep(String targetClusterName, String clazz, OCommandContext ctx, boolean profilingEnabled)
public CheckClusterTypeStep(OCluster targetCluster, String clazz, OCommandContext ctx, boolean profilingEnabled)
public OResultSet syncPull(OCommandContext ctx, int nRecords) throws OTimeoutException
OTimeoutExceptionpublic String prettyPrint(int depth, int indent)
public long getCost()
OExecutionStepCopyright © 2009–2025 OrientDB. All rights reserved.