Package org.h2.table

Class VirtualConstructedTable

All Implemented Interfaces:
HasSQL
Direct Known Subclasses:
DataChangeDeltaTable, FunctionTable, TableValueConstructorTable

public abstract class VirtualConstructedTable extends VirtualTable
A base class for virtual tables that construct all their content at once.
  • Constructor Details

    • VirtualConstructedTable

      protected VirtualConstructedTable(Schema schema, int id, String name)
  • Method Details

    • getResult

      public abstract ResultInterface getResult(SessionLocal session)
      Read the rows from the table.
      Parameters:
      session - the session
      Returns:
      the result
    • getScanIndex

      public Index getScanIndex(SessionLocal session)
      Description copied from class: Table
      Get the scan index to iterate through all rows.
      Specified by:
      getScanIndex in class Table
      Parameters:
      session - the session
      Returns:
      the index
    • getMaxDataModificationId

      public long getMaxDataModificationId()
      Description copied from class: Table
      Get the last data modification id.
      Specified by:
      getMaxDataModificationId in class Table
      Returns:
      the modification id