Package org.h2.table

Class ShadowTable

All Implemented Interfaces:
HasSQL

public class ShadowTable extends VirtualConstructedTable
A temporary shadow table for recursive queries.
  • Constructor Details

  • Method Details

    • getResult

      public ResultInterface getResult(SessionLocal session)
      Description copied from class: VirtualConstructedTable
      Read the rows from the table.
      Specified by:
      getResult in class VirtualConstructedTable
      Parameters:
      session - the session
      Returns:
      the result
    • isDeterministic

      public boolean isDeterministic()
      Description copied from class: Table
      Check if the table is deterministic.
      Specified by:
      isDeterministic in class Table
      Returns:
      true if it is
    • canGetRowCount

      public boolean canGetRowCount(SessionLocal session)
      Description copied from class: Table
      Check if the row count can be retrieved quickly.
      Specified by:
      canGetRowCount in class Table
      Parameters:
      session - the session
      Returns:
      true if it can
    • getRowCount

      public long getRowCount(SessionLocal session)
      Description copied from class: Table
      Get the row count for this table.
      Specified by:
      getRowCount in class Table
      Parameters:
      session - the session
      Returns:
      the row count
    • getRowCountApproximation

      public long getRowCountApproximation(SessionLocal session)
      Description copied from class: Table
      Get the approximated row count for this table.
      Specified by:
      getRowCountApproximation in class Table
      Parameters:
      session - the session
      Returns:
      the approximated row count