Class CheckClusterTypeStep
java.lang.Object
com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
com.orientechnologies.orient.core.sql.executor.CheckClusterTypeStep
- All Implemented Interfaces:
OExecutionStepInternal
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
- Author:
- Luigi Dell'Aquila (luigi.dellaquila - at - orientdb.com)
-
Field Summary
Fields inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
prev -
Constructor Summary
ConstructorsConstructorDescriptionCheckClusterTypeStep(OCluster targetCluster, String clazz) CheckClusterTypeStep(String targetClusterName, String clazz) -
Method Summary
Modifier and TypeMethodDescriptioninternalStart(OCommandContext context) prettyPrint(OPrintContext ctx) Methods inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
getPrev, setPrevious, startMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.sql.executor.OExecutionStepInternal
canBeCached, copy, deserialize, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, serialize, serializeToResult, toResult, toResult
-
Constructor Details
-
CheckClusterTypeStep
-
CheckClusterTypeStep
-
-
Method Details
-
internalStart
- Specified by:
internalStartin classAbstractExecutionStep- Throws:
OTimeoutException
-
prettyPrint
-