Package org.h2.mode
Class PgCatalogSchema
- java.lang.Object
-
- org.h2.engine.DbObject
-
- org.h2.schema.Schema
-
- org.h2.schema.MetaSchema
-
- org.h2.mode.PgCatalogSchema
-
- All Implemented Interfaces:
HasSQL
public final class PgCatalogSchema extends MetaSchema
pg_catalog
schema.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<java.lang.String,Table>
tables
-
Fields inherited from class org.h2.engine.DbObject
AGGREGATE, comment, COMMENT, CONSTANT, CONSTRAINT, database, DOMAIN, FUNCTION_ALIAS, INDEX, RIGHT, ROLE, SCHEMA, SEQUENCE, SETTING, SYNONYM, TABLE_OR_VIEW, trace, TRIGGER, USER
-
Fields inherited from interface org.h2.util.HasSQL
ADD_PLAN_INFORMATION, DEFAULT_SQL_FLAGS, NO_CASTS, QUOTE_ONLY_WHEN_REQUIRED, REPLACE_LOBS_FOR_TRACE, TRACE_SQL_FLAGS
-
-
Constructor Summary
Constructors Constructor Description PgCatalogSchema(Database database, User owner)
Creates new instance ofpg_catalog
schema.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.util.HashMap<java.lang.String,Table>
fillMap()
protected java.util.Map<java.lang.String,Table>
getMap(SessionLocal session)
Returns map of tables in this schema.-
Methods inherited from class org.h2.schema.MetaSchema
findTableOrView, getAllTablesAndViews, getTableOrView, getTableOrViewByName, isEmpty
-
Methods inherited from class org.h2.schema.Schema
add, canDrop, createSynonym, createTable, createTableLink, findAggregate, findConstant, findConstraint, findDomain, findFunction, findFunctionOrAggregate, findIndex, findSequence, findTrigger, freeUniqueName, getAll, getAll, getAllConstants, getAllConstraints, getAllDomains, getAllFunctionsAndAggregates, getAllIndexes, getAllSequences, getAllSynonyms, getAllTriggers, getChildren, getConstant, getConstraint, getCreateSQL, getCreateSQLForCopy, getDomain, getIndex, getOwner, getSequence, getSynonym, getTableEngineParams, getType, getUniqueConstraintName, getUniqueDomainConstraintName, getUniqueIndexName, remove, removeChildrenAndResources, rename, reserveUniqueName, resolveTableOrView, setTableEngineParams
-
Methods inherited from class org.h2.engine.DbObject
checkRename, getComment, getCreateSQLForMeta, getDatabase, getDropSQL, getId, getModificationId, getName, getSQL, getSQL, invalidate, isTemporary, isValid, rename, setComment, setModified, setObjectName, setTemporary, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.h2.util.HasSQL
getTraceSQL
-
-
-
-
Field Detail
-
tables
private volatile java.util.HashMap<java.lang.String,Table> tables
-
-
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 classMetaSchema
- Parameters:
session
- the session- Returns:
- map of tables in this schema
-
fillMap
private java.util.HashMap<java.lang.String,Table> fillMap()
-
-