Class SelectUnion.LazyResultUnion

java.lang.Object
org.h2.result.FetchedResult
org.h2.result.LazyResult
org.h2.command.query.SelectUnion.LazyResultUnion
All Implemented Interfaces:
AutoCloseable, ResultInterface
Enclosing class:
SelectUnion

private final class SelectUnion.LazyResultUnion extends LazyResult
Lazy execution for this union.
  • Field Details

  • Constructor Details

    • LazyResultUnion

      LazyResultUnion(Expression[] expressions, int columnCount)
  • Method Details

    • getVisibleColumnCount

      public int getVisibleColumnCount()
      Description copied from interface: ResultInterface
      Get the number of visible columns. More columns may exist internally for sorting or grouping.
      Returns:
      the number of columns
    • fetchNextRow

      protected Value[] fetchNextRow()
      Description copied from class: LazyResult
      Fetch next row or null if none available.
      Specified by:
      fetchNextRow in class LazyResult
      Returns:
      next row or null
    • close

      public void close()
      Description copied from interface: ResultInterface
      Close the result and delete any temporary files
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface ResultInterface
      Overrides:
      close in class LazyResult
    • reset

      public void reset()
      Description copied from interface: ResultInterface
      Go to the beginning of the result, that means before the first row.
      Specified by:
      reset in interface ResultInterface
      Overrides:
      reset in class LazyResult