Class CheckRecordTypeStep

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

public class CheckRecordTypeStep extends AbstractExecutionStep
Checks that all the records from the upstream are of a particular type (or subclasses). Throws OCommandExecutionException in case it's not true
  • Constructor Details

    • CheckRecordTypeStep

      public CheckRecordTypeStep(OCommandContext ctx, String className, boolean profilingEnabled)
  • Method Details

    • syncPull

      public OResultSet syncPull(OCommandContext ctx, int nRecords) throws OTimeoutException
      Throws:
      OTimeoutException
    • prettyPrint

      public String prettyPrint(int depth, int indent)
    • getCost

      public long getCost()
      Description copied from interface: OExecutionStep
      returns the absolute cost (in nanoseconds) of the execution of this step
      Returns:
      the absolute cost (in nanoseconds) of the execution of this step, -1 if not calculated