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 SchemaParser. findSchema(java.lang.String schemaName)private SchemaParser. getSchema()private SchemaParser. getSchema(java.lang.String schemaName)private SchemaParser. getSchemaWithDefault()Methods in org.h2.command with parameters of type Schema Modifier and Type Method Description private voidParser. checkSchema(Schema old)private ColumnParser. columnIfTableExists(Schema schema, java.lang.String tableName, java.lang.String columnName, boolean ifTableExists, boolean ifExists)private PreparedParser. commandIfTableExists(Schema schema, java.lang.String tableName, boolean ifTableExists, Prepared commandIfTableExists)private UserDefinedFunctionParser. findUserDefinedFunctionWithinPath(Schema schema, java.lang.String name)private PreparedParser. getAlterTableAlterColumnDropDefaultExpression(Schema schema, java.lang.String tableName, boolean ifTableExists, Column column, int type)private FunctionAliasParser. getFunctionAliasWithinPath(java.lang.String name, Schema schema)static AlterTableAddConstraintParser. newPrimaryKeyConstraintCommand(SessionLocal session, Schema schema, java.lang.String tableName, Column column)Create a new alter table command.private AlterTableAlterColumnParser. parseAlterTableAddColumn(java.lang.String tableName, Schema schema, boolean ifTableExists)private PreparedParser. parseAlterTableAlter(Schema schema, java.lang.String tableName, boolean ifTableExists)private AlterTableAlterColumnParser. parseAlterTableAlterColumnDataType(Schema schema, java.lang.String tableName, java.lang.String columnName, boolean ifTableExists, boolean ifExists)private PreparedParser. parseAlterTableAlterColumnIdentity(Schema schema, java.lang.String tableName, boolean ifTableExists, Column column)private PreparedParser. parseAlterTableAlterColumnSet(Schema schema, java.lang.String tableName, boolean ifTableExists, boolean ifExists, java.lang.String columnName, Column column)private AlterTableAlterColumnParser. parseAlterTableAlterColumnType(Schema schema, java.lang.String tableName, java.lang.String columnName, boolean ifTableExists, boolean ifExists, boolean preserveNotNull)private PreparedParser. parseAlterTableCompatibility(Schema schema, java.lang.String tableName, boolean ifTableExists, Mode mode)private PreparedParser. parseAlterTableDrop(Schema schema, java.lang.String tableName, boolean ifTableExists)private PreparedParser. parseAlterTableDropCompatibility(Schema schema, java.lang.String tableName, boolean ifTableExists)private PreparedParser. parseAlterTableRename(Schema schema, java.lang.String tableName, boolean ifTableExists)private PreparedParser. parseAlterTableSet(Schema schema, java.lang.String tableName, boolean ifTableExists)private voidParser. parseReferences(AlterTableAddConstraint command, Schema schema, java.lang.String tableName)private voidParser. parseTableColumnDefinition(CommandWithColumns command, Schema schema, java.lang.String tableName, boolean forCreateTable)private DefineCommandParser. parseTableConstraintIf(java.lang.String tableName, Schema schema, boolean ifTableExists)private voidParser. readColumnConstraints(CommandWithColumns command, Schema schema, java.lang.String tableName, Column column)private ExpressionParser. readFunction(Schema schema, java.lang.String name)private ExpressionParser. readFunctionWithSchema(Schema schema, java.lang.String name, java.lang.String upperName)private TableFunctionParser. readTableFunction(java.lang.String name, Schema schema)private ExpressionParser. readUserDefinedFunctionIf(Schema schema, java.lang.String functionName)private TableParser. 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 SchemaAlterIndexRename. oldSchemaprivate SchemaAlterSchemaRename. oldSchemaprivate SchemaAlterTableAddConstraint. refSchemaSchemaCreateSynonymData. schemaThe schema.SchemaCreateTableData. schemaThe schema.(package private) SchemaDropTable.SchemaAndTable. schemaprivate SchemaGrantRevoke. schemaprivate SchemaSchemaCommand. schemaSchemaCreateSynonymData. synonymForSchemaSchema synonymFor is located in.Methods in org.h2.command.ddl that return Schema Modifier and Type Method Description protected SchemaSchemaCommand. getSchema()Get the schemaMethods in org.h2.command.ddl with parameters of type Schema Modifier and Type Method Description voidDropTable. addTable(Schema schema, java.lang.String tableName)Add a table to drop.voidAlterIndexRename. setOldSchema(Schema old)voidAlterSchemaRename. setOldSchema(Schema schema)voidAlterTableAddConstraint. setRefTableName(Schema refSchema, java.lang.String ref)Set the referenced table.voidGrantRevoke. setSchema(Schema schema)Set the specified schemavoidCreateSynonym. setSynonymForSchema(Schema synonymForSchema)private intAlterDomainAddConstraint. tryUpdate(Schema schema, Domain domain)Try to execute the statement.(package private) longAlterDomain. update(Schema schema)(package private) abstract longAlterDomain. update(Schema schema, Domain domain)(package private) longAlterDomainAddConstraint. update(Schema schema, Domain domain)(package private) longAlterDomainDropConstraint. update(Schema schema, Domain domain)(package private) longAlterDomainExpressions. update(Schema schema, Domain domain)(package private) longAlterDomainRename. update(Schema schema, Domain domain)(package private) longAlterDomainRenameConstraint. update(Schema schema, Domain domain)(package private) longAlterSequence. update(Schema schema)(package private) longCreateConstant. update(Schema schema)(package private) longCreateDomain. update(Schema schema)(package private) longCreateSequence. update(Schema schema)(package private) longCreateSynonym. update(Schema schema)(package private) longCreateView. update(Schema schema)(package private) longDropAggregate. update(Schema schema)(package private) longDropConstant. update(Schema schema)(package private) longDropDomain. update(Schema schema, Domain domain)(package private) longDropFunctionAlias. update(Schema schema)(package private) longDropSequence. update(Schema schema)(package private) longDropSynonym. update(Schema schema)(package private) abstract longSchemaOwnerCommand. update(Schema schema)Method parameters in org.h2.command.ddl with type arguments of type Schema Modifier and Type Method Description private static voidDropDatabase. 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 booleanScriptCommand. excludeSchema(Schema schema)Method parameters in org.h2.command.dml with type arguments of type Schema Modifier and Type Method Description private voidScriptCommand. 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 SchemaDatabase. infoSchemaprivate SchemaDatabase. mainSchemaprivate SchemaDatabase. pgCatalogSchemaFields 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. schemasMethods in org.h2.engine that return Schema Modifier and Type Method Description SchemaDatabase. findSchema(java.lang.String schemaName)Get the schema if it exists, or null if not.SchemaDatabase. getMainSchema()Returns main schema (usually PUBLIC).SchemaDatabase. 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 voidUser. checkSchemaOwner(Schema schema)Checks if this user has schema owner rights for the specified schema.private booleanUser. hasSchemaRight(Schema schema)See if this user has owner rights for the specified schema(package private) booleanRightOwner. isSchemaRightGrantedRecursive(Schema schema)Checks if a schema owner right is already granted to this object or to objects that were granted to this object.voidSessionLocal. 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 booleanDatabaseMetaLocal. 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 classPgCatalogSchemapg_catalogschema.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 classInformationSchemaInformation schema.classMetaSchemaMeta data schema.Fields in org.h2.schema declared as Schema Modifier and Type Field Description private SchemaSchemaObject. schemaMethods in org.h2.schema that return Schema Modifier and Type Method Description SchemaSchemaObject. 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 FunctionAliasFunctionAlias. 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 FunctionAliasFunctionAlias. 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 SchemaTableSynonym. getSynonymForSchema()Methods in org.h2.table with parameters of type Schema Modifier and Type Method Description static TableTableView. 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 TableViewTableView. 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.voidColumn. 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)
-