Package org.h2.mode

Class PgCatalogTable

  • All Implemented Interfaces:
    HasSQL

    public final class PgCatalogTable
    extends MetaTable
    This class is responsible to build the pg_catalog tables.
    • Field Detail

      • 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:
        Constant Field Values
    • Constructor Detail

      • PgCatalogTable

        public PgCatalogTable​(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 Detail

      • generateRows

        public java.util.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