Class NormalizeResultSet

All Implemented Interfaces:
CursorResultSet, NoPutResultSet, ResultSet, RowLocationRetRowSource, RowSource

class NormalizeResultSet extends NoPutResultSetImpl implements CursorResultSet
Cast the rows from the source result set to match the format of the result set for the entire statement.
  • Field Details

    • source

      public NoPutResultSet source
    • normalizedRow

      private ExecRow normalizedRow
    • numCols

      private int numCols
    • startCol

      private int startCol
    • cachedDestinations

      private final DataValueDescriptor[] cachedDestinations
      This array contains data value descriptors that can be used (and reused) by normalizeRow() to hold the normalized column values.
    • resultDescription

      private ResultDescription resultDescription
    • desiredTypes

      private DataTypeDescriptor[] desiredTypes
  • Constructor Details

    • NormalizeResultSet

      public NormalizeResultSet(NoPutResultSet source, Activation activation, int resultSetNumber, int erdNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost, boolean forUpdate) throws StandardException
      Constructor for a NormalizeResultSet
      Parameters:
      source - The NoPutResultSet from which to get rows to be normalized
      activation - The activation for this execution
      resultSetNumber - The resultSetNumber
      erdNumber - The integer for the ResultDescription
      Throws:
      StandardException - on error
  • Method Details