Package org.h2.schema

Class InformationSchema

  • All Implemented Interfaces:
    HasSQL

    public final class InformationSchema
    extends MetaSchema
    Information schema.
    • Field Detail

      • newTables

        private volatile java.util.HashMap<java.lang.String,​Table> newTables
      • oldTables

        private volatile java.util.HashMap<java.lang.String,​Table> oldTables
    • Constructor Detail

      • InformationSchema

        public InformationSchema​(Database database,
                                 User owner)
        Creates new instance of information schema.
        Parameters:
        database - the database
        owner - the owner of the schema (system user)
    • Method Detail

      • getMap

        protected java.util.Map<java.lang.String,​Table> getMap​(SessionLocal session)
        Description copied from class: MetaSchema
        Returns map of tables in this schema.
        Specified by:
        getMap in class MetaSchema
        Parameters:
        session - the session
        Returns:
        map of tables in this schema
      • fillMap

        private java.util.HashMap<java.lang.String,​Table> fillMap​(boolean old)