Class ConvertToResultInternalStep

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

public class ConvertToResultInternalStep extends AbstractExecutionStep
takes a result set made of OUpdatableRecord instances and transforms it in another result set made of normal OResultInternal instances.

This is the opposite of ConvertToUpdatableResultStep

Author:
Luigi Dell'Aquila (l.dellaquila-(at)-orientdb.com)
  • Constructor Details

    • ConvertToResultInternalStep

      public ConvertToResultInternalStep(OCommandContext ctx, 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