Class SelectUnion.LazyResultUnion

  • All Implemented Interfaces:
    java.lang.AutoCloseable, ResultInterface
    Enclosing class:
    SelectUnion

    private final class SelectUnion.LazyResultUnion
    extends LazyResult
    Lazy execution for this union.
    • Constructor Detail

      • LazyResultUnion

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

      • 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 java.lang.AutoCloseable
        Specified by:
        close in interface ResultInterface
        Overrides:
        close in class LazyResult