Class CheckClusterTypeStep

java.lang.Object
com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
com.orientechnologies.orient.core.sql.executor.CheckClusterTypeStep
All Implemented Interfaces:
OExecutionStepInternal

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

Author:
Luigi Dell'Aquila (luigi.dellaquila - at - orientdb.com)