Uses of Class
org.h2.schema.Schema
-
Packages that use Schema Package Description org.h2.command This package contains the parser and the base classes for prepared SQL statements.org.h2.command.ddl Contains DDL (data definition language) and related SQL statements.org.h2.command.dml Contains DML (data manipulation language) and related SQL statements.org.h2.constraint Database constraints such as check constraints, unique constraints, and referential constraints.org.h2.engine Contains high level classes of the database and classes that don't fit in another sub-package.org.h2.jdbc.meta Implementation of the JDBC database metadata API (package java.sql).org.h2.mode Utility classes for compatibility with other database, for example MySQL.org.h2.schema Schema implementation and objects that are stored in a schema (for example, sequences and constants).org.h2.table Classes related to a table and table meta data. -
-
Uses of Schema in org.h2.command
Methods in org.h2.command that return Schema Modifier and Type Method Description private Schema
Parser. findSchema(java.lang.String schemaName)
private Schema
Parser. getSchema()
private Schema
Parser. getSchema(java.lang.String schemaName)
private Schema
Parser. getSchemaWithDefault()
Methods in org.h2.command with parameters of type Schema Modifier and Type Method Description private void
Parser. checkSchema(Schema old)
private Column
Parser. columnIfTableExists(Schema schema, java.lang.String tableName, java.lang.String columnName, boolean ifTableExists, boolean ifExists)
private Prepared
Parser. commandIfTableExists(Schema schema, java.lang.String tableName, boolean ifTableExists, Prepared commandIfTableExists)
private UserDefinedFunction
Parser. findUserDefinedFunctionWithinPath(Schema schema, java.lang.String name)
private Prepared
Parser. getAlterTableAlterColumnDropDefaultExpression(Schema schema, java.lang.String tableName, boolean ifTableExists, Column column, int type)
private FunctionAlias
Parser. getFunctionAliasWithinPath(java.lang.String name, Schema schema)
static AlterTableAddConstraint
Parser. newPrimaryKeyConstraintCommand(SessionLocal session, Schema schema, java.lang.String tableName, Column column)
Create a new alter table command.private AlterTableAlterColumn
Parser. parseAlterTableAddColumn(java.lang.String tableName, Schema schema, boolean ifTableExists)
private Prepared
Parser. parseAlterTableAlter(Schema schema, java.lang.String tableName, boolean ifTableExists)
private AlterTableAlterColumn
Parser. parseAlterTableAlterColumnDataType(Schema schema, java.lang.String tableName, java.lang.String columnName, boolean ifTableExists, boolean ifExists)
private Prepared
Parser. parseAlterTableAlterColumnIdentity(Schema schema, java.lang.String tableName, boolean ifTableExists, Column column)
private Prepared
Parser. parseAlterTableAlterColumnSet(Schema schema, java.lang.String tableName, boolean ifTableExists, boolean ifExists, java.lang.String columnName, Column column)
private AlterTableAlterColumn
Parser. parseAlterTableAlterColumnType(Schema schema, java.lang.String tableName, java.lang.String columnName, boolean ifTableExists, boolean ifExists, boolean preserveNotNull)
private Prepared
Parser. parseAlterTableCompatibility(Schema schema, java.lang.String tableName, boolean ifTableExists, Mode mode)
private Prepared
Parser. parseAlterTableDrop(Schema schema, java.lang.String tableName, boolean ifTableExists)
private Prepared
Parser. parseAlterTableDropCompatibility(Schema schema, java.lang.String tableName, boolean ifTableExists)
private Prepared
Parser. parseAlterTableRename(Schema schema, java.lang.String tableName, boolean ifTableExists)
private Prepared
Parser. parseAlterTableSet(Schema schema, java.lang.String tableName, boolean ifTableExists)
private void
Parser. parseReferences(AlterTableAddConstraint command, Schema schema, java.lang.String tableName)
private void
Parser. parseTableColumnDefinition(CommandWithColumns command, Schema schema, java.lang.String tableName, boolean forCreateTable)
private DefineCommand
Parser. parseTableConstraintIf(java.lang.String tableName, Schema schema, boolean ifTableExists)
private void
Parser. readColumnConstraints(CommandWithColumns command, Schema schema, java.lang.String tableName, Column column)
private Expression
Parser. readFunction(Schema schema, java.lang.String name)
private Expression
Parser. readFunctionWithSchema(Schema schema, java.lang.String name, java.lang.String upperName)
private TableFunction
Parser. readTableFunction(java.lang.String name, Schema schema)
private Expression
Parser. readUserDefinedFunctionIf(Schema schema, java.lang.String functionName)
private Table
Parser. tableIfTableExists(Schema schema, java.lang.String tableName, boolean ifTableExists)
-
Uses of Schema in org.h2.command.ddl
Fields in org.h2.command.ddl declared as Schema Modifier and Type Field Description private Schema
AlterIndexRename. oldSchema
private Schema
AlterSchemaRename. oldSchema
private Schema
AlterTableAddConstraint. refSchema
Schema
CreateSynonymData. schema
The schema.Schema
CreateTableData. schema
The schema.(package private) Schema
DropTable.SchemaAndTable. schema
private Schema
GrantRevoke. schema
private Schema
SchemaCommand. schema
Schema
CreateSynonymData. synonymForSchema
Schema synonymFor is located in.Methods in org.h2.command.ddl that return Schema Modifier and Type Method Description protected Schema
SchemaCommand. getSchema()
Get the schemaMethods in org.h2.command.ddl with parameters of type Schema Modifier and Type Method Description void
DropTable. addTable(Schema schema, java.lang.String tableName)
Add a table to drop.void
AlterIndexRename. setOldSchema(Schema old)
void
AlterSchemaRename. setOldSchema(Schema schema)
void
AlterTableAddConstraint. setRefTableName(Schema refSchema, java.lang.String ref)
Set the referenced table.void
GrantRevoke. setSchema(Schema schema)
Set the specified schemavoid
CreateSynonym. setSynonymForSchema(Schema synonymForSchema)
private int
AlterDomainAddConstraint. tryUpdate(Schema schema, Domain domain)
Try to execute the statement.(package private) long
AlterDomain. update(Schema schema)
(package private) abstract long
AlterDomain. update(Schema schema, Domain domain)
(package private) long
AlterDomainAddConstraint. update(Schema schema, Domain domain)
(package private) long
AlterDomainDropConstraint. update(Schema schema, Domain domain)
(package private) long
AlterDomainExpressions. update(Schema schema, Domain domain)
(package private) long
AlterDomainRename. update(Schema schema, Domain domain)
(package private) long
AlterDomainRenameConstraint. update(Schema schema, Domain domain)
(package private) long
AlterSequence. update(Schema schema)
(package private) long
CreateConstant. update(Schema schema)
(package private) long
CreateDomain. update(Schema schema)
(package private) long
CreateSequence. update(Schema schema)
(package private) long
CreateSynonym. update(Schema schema)
(package private) long
CreateView. update(Schema schema)
(package private) long
DropAggregate. update(Schema schema)
(package private) long
DropConstant. update(Schema schema)
(package private) long
DropDomain. update(Schema schema, Domain domain)
(package private) long
DropFunctionAlias. update(Schema schema)
(package private) long
DropSequence. update(Schema schema)
(package private) long
DropSynonym. update(Schema schema)
(package private) abstract long
SchemaOwnerCommand. update(Schema schema)
Method parameters in org.h2.command.ddl with type arguments of type Schema Modifier and Type Method Description private static void
DropDatabase. addAll(java.util.Collection<Schema> schemas, int type, java.util.ArrayList<SchemaObject> list)
-
Uses of Schema in org.h2.command.dml
Methods in org.h2.command.dml with parameters of type Schema Modifier and Type Method Description private boolean
ScriptCommand. excludeSchema(Schema schema)
Method parameters in org.h2.command.dml with type arguments of type Schema Modifier and Type Method Description private void
ScriptCommand. dumpDomains(java.util.ArrayList<Schema> schemas)
Constructors in org.h2.command.dml with parameters of type Schema Constructor Description AlterTableSet(SessionLocal session, Schema schema, int type, boolean value)
-
Uses of Schema in org.h2.constraint
Constructors in org.h2.constraint with parameters of type Schema Constructor Description Constraint(Schema schema, int id, java.lang.String name, Table table)
ConstraintCheck(Schema schema, int id, java.lang.String name, Table table)
ConstraintDomain(Schema schema, int id, java.lang.String name, Domain domain)
ConstraintReferential(Schema schema, int id, java.lang.String name, Table table)
ConstraintUnique(Schema schema, int id, java.lang.String name, Table table, boolean primaryKey)
-
Uses of Schema in org.h2.engine
Fields in org.h2.engine declared as Schema Modifier and Type Field Description private Schema
Database. infoSchema
private Schema
Database. mainSchema
private Schema
Database. pgCatalogSchema
Fields in org.h2.engine with type parameters of type Schema Modifier and Type Field Description private java.util.concurrent.ConcurrentHashMap<java.lang.String,Schema>
Database. schemas
Methods in org.h2.engine that return Schema Modifier and Type Method Description Schema
Database. findSchema(java.lang.String schemaName)
Get the schema if it exists, or null if not.Schema
Database. getMainSchema()
Returns main schema (usually PUBLIC).Schema
Database. getSchema(java.lang.String schemaName)
Get the schema.Methods in org.h2.engine that return types with arguments of type Schema Modifier and Type Method Description java.util.Collection<Schema>
Database. getAllSchemas()
java.util.Collection<Schema>
Database. getAllSchemasNoMeta()
Methods in org.h2.engine with parameters of type Schema Modifier and Type Method Description void
User. checkSchemaOwner(Schema schema)
Checks if this user has schema owner rights for the specified schema.private boolean
User. hasSchemaRight(Schema schema)
See if this user has owner rights for the specified schema(package private) boolean
RightOwner. isSchemaRightGrantedRecursive(Schema schema)
Checks if a schema owner right is already granted to this object or to objects that were granted to this object.void
SessionLocal. setCurrentSchema(Schema schema)
-
Uses of Schema in org.h2.jdbc.meta
Methods in org.h2.jdbc.meta that return types with arguments of type Schema Modifier and Type Method Description private java.util.Collection<Schema>
DatabaseMetaLocal. getSchemas(java.lang.String schema)
private java.util.Collection<Schema>
DatabaseMetaLocal. getSchemasForPattern(java.lang.String schemaPattern)
Methods in org.h2.jdbc.meta with parameters of type Schema Modifier and Type Method Description private boolean
DatabaseMetaLocal. checkSchema(java.lang.String schemaName, Schema schema)
private java.util.Collection<? extends SchemaObject>
DatabaseMetaLocal. getTablesForPattern(Schema schema, java.lang.String tablePattern)
-
Uses of Schema in org.h2.mode
Subclasses of Schema in org.h2.mode Modifier and Type Class Description class
PgCatalogSchema
pg_catalog
schema.Constructors in org.h2.mode with parameters of type Schema Constructor Description PgCatalogTable(Schema schema, int id, int type)
Create a new metadata table. -
Uses of Schema in org.h2.schema
Subclasses of Schema in org.h2.schema Modifier and Type Class Description class
InformationSchema
Information schema.class
MetaSchema
Meta data schema.Fields in org.h2.schema declared as Schema Modifier and Type Field Description private Schema
SchemaObject. schema
Methods in org.h2.schema that return Schema Modifier and Type Method Description Schema
SchemaObject. getSchema()
Get the schema in which this object is definedMethods in org.h2.schema with parameters of type Schema Modifier and Type Method Description static FunctionAlias
FunctionAlias. newInstance(Schema schema, int id, java.lang.String name, java.lang.String javaClassMethod, boolean force)
Create a new alias based on a method name.static FunctionAlias
FunctionAlias. newInstanceFromSource(Schema schema, int id, java.lang.String name, java.lang.String source, boolean force)
Create a new alias based on source code.Constructors in org.h2.schema with parameters of type Schema Constructor Description Constant(Schema schema, int id, java.lang.String name)
Domain(Schema schema, int id, java.lang.String name)
FunctionAlias(Schema schema, int id, java.lang.String name)
SchemaObject(Schema newSchema, int id, java.lang.String name, int traceModuleId)
Initialize some attributes of this object.Sequence(SessionLocal session, Schema schema, int id, java.lang.String name, SequenceOptions options, boolean belongsToTable)
Creates a new sequence.TriggerObject(Schema schema, int id, java.lang.String name, Table table)
UserAggregate(Schema schema, int id, java.lang.String name, java.lang.String className, boolean force)
UserDefinedFunction(Schema newSchema, int id, java.lang.String name, int traceModuleId)
-
Uses of Schema in org.h2.table
Methods in org.h2.table that return Schema Modifier and Type Method Description Schema
TableSynonym. getSynonymForSchema()
Methods in org.h2.table with parameters of type Schema Modifier and Type Method Description static Table
TableView. createShadowTableForRecursiveTableExpression(boolean isTemporary, SessionLocal targetSession, java.lang.String cteViewName, Schema schema, java.util.List<Column> columns, Database db)
Create a table for a recursive query.static TableView
TableView. createTableViewMaybeRecursive(Schema schema, int id, java.lang.String name, java.lang.String querySQL, java.util.ArrayList<Parameter> parameters, Column[] columnTemplates, SessionLocal session, boolean literalsChecked, boolean isTableExpression, boolean isTemporary, Database db)
Create a view.void
Column. initializeSequence(SessionLocal session, Schema schema, int id, boolean temporary)
Initialize the sequence for this column.Constructors in org.h2.table with parameters of type Schema Constructor Description DataChangeDeltaTable(Schema schema, SessionLocal session, DataChangeStatement statement, DataChangeDeltaTable.ResultOption resultOption)
FunctionTable(Schema schema, SessionLocal session, TableFunction function)
InformationSchemaTable(Schema schema, int id, int type)
Create a new metadata table.InformationSchemaTableLegacy(Schema schema, int id, int type)
Create a new metadata table.MetaTable(Schema schema, int id, int type)
Create a new metadata table.RangeTable(Schema schema, Expression min, Expression max)
Create a new range with the given start and end expressions.RangeTable(Schema schema, Expression min, Expression max, Expression step)
Table(Schema schema, int id, java.lang.String name, boolean persistIndexes, boolean persistData)
TableLink(Schema schema, int id, java.lang.String name, java.lang.String driver, java.lang.String url, java.lang.String user, java.lang.String password, java.lang.String originalSchema, java.lang.String originalTable, boolean emitUpdates, boolean force)
TableValueConstructorTable(Schema schema, SessionLocal session, Column[] columns, java.util.ArrayList<java.util.ArrayList<Expression>> rows)
TableView(Schema schema, int id, java.lang.String name, java.lang.String querySQL, java.util.ArrayList<Parameter> params, Column[] columnTemplates, SessionLocal session, boolean allowRecursive, boolean literalsChecked, boolean isTableExpression, boolean isTemporary)
VirtualConstructedTable(Schema schema, int id, java.lang.String name)
VirtualTable(Schema schema, int id, java.lang.String name)
-