Class InformationSchema
java.lang.Object
org.h2.engine.DbObject
org.h2.schema.Schema
org.h2.schema.MetaSchema
org.h2.schema.InformationSchema
- All Implemented Interfaces:
HasSQL
Information schema.
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class DbObject
AGGREGATE, comment, COMMENT, CONSTANT, CONSTRAINT, database, DOMAIN, FUNCTION_ALIAS, INDEX, RIGHT, ROLE, SCHEMA, SEQUENCE, SETTING, SYNONYM, TABLE_OR_VIEW, trace, TRIGGER, USERFields inherited from interface HasSQL
ADD_PLAN_INFORMATION, DEFAULT_SQL_FLAGS, NO_CASTS, QUOTE_ONLY_WHEN_REQUIRED, REPLACE_LOBS_FOR_TRACE, TRACE_SQL_FLAGS -
Constructor Summary
ConstructorsConstructorDescriptionInformationSchema(Database database, User owner) Creates new instance of information schema. -
Method Summary
Methods inherited from class MetaSchema
findTableOrView, getAllTablesAndViews, getTableOrView, getTableOrViewByName, isEmptyMethods inherited from class 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, setTableEngineParamsMethods inherited from class DbObject
checkRename, getComment, getCreateSQLForMeta, getDatabase, getDropSQL, getId, getModificationId, getName, getSQL, getSQL, invalidate, isTemporary, isValid, rename, setComment, setModified, setObjectName, setTemporary, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface HasSQL
getTraceSQL
-
Field Details
-
newTables
-
oldTables
-
-
Constructor Details
-
InformationSchema
-
-
Method Details
-
getMap
Description copied from class:MetaSchemaReturns map of tables in this schema.- Specified by:
getMapin classMetaSchema- Parameters:
session- the session- Returns:
- map of tables in this schema
-
fillMap
-