Package org.h2.table

Class InformationSchemaTableLegacy

All Implemented Interfaces:
HasSQL

public final class InformationSchemaTableLegacy extends MetaTable
This class is responsible to build the legacy variant of INFORMATION_SCHEMA tables.
  • Field Details

    • META_TABLE_TYPE_COUNT

      public static final int META_TABLE_TYPE_COUNT
      The number of meta table types. Supported meta table types are 0..META_TABLE_TYPE_COUNT - 1.
      See Also:
  • Constructor Details

    • InformationSchemaTableLegacy

      public InformationSchemaTableLegacy(Schema schema, int id, int type)
      Create a new metadata table.
      Parameters:
      schema - the schema
      id - the object id
      type - the meta table type
  • Method Details

    • generateRows

      public ArrayList<Row> generateRows(SessionLocal session, SearchRow first, SearchRow last)
      Description copied from class: MetaTable
      Generate the data for the given metadata table using the given first and last row filters.
      Specified by:
      generateRows in class MetaTable
      Parameters:
      session - the session
      first - the first row to return
      last - the last row to return
      Returns:
      the generated rows
    • 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