Uses of Class
org.h2.table.Table
Packages that use Table
Package
Description
Contains interfaces for user-defined extensions, such as triggers and user-defined aggregate functions.
This package contains the parser and the base classes for prepared SQL statements.
Contains DDL (data definition language) and related SQL statements.
Contains DML (data manipulation language) and related SQL statements.
Contains queries.
Database constraints such as check constraints, unique constraints, and referential constraints.
Contains high level classes of the database and classes that don't fit in another sub-package.
Expressions include mathematical operations, simple values, and others.
Various table index implementations, as well as cursors to navigate in an index.
Implementation of the JDBC database metadata API (package java.sql).
Utility classes for compatibility with other database, for example MySQL.
Helper classes to use the MVStore in the H2 database.
Implementation of row and internal result sets.
Schema implementation and objects that are stored in a schema (for example, sequences and constants).
Classes related to a table and table meta data.
-
Uses of Table in org.h2.api
Methods in org.h2.api that return TableModifier and TypeMethodDescriptionTableEngine.createTable(CreateTableData data) Create new table. -
Uses of Table in org.h2.command
Methods in org.h2.command that return TableModifier and TypeMethodDescriptionParser.parseTableName(String sql) Parse a SQL code snippet that represents a table name.private TableParser.readDataChangeDeltaTable(String resultOptionName, int backupIndex) private TableParser.readTableOrView()private TableParser.readTableOrView(String tableName) private TableParser.tableIfTableExists(Schema schema, String tableName, boolean ifTableExists) Methods in org.h2.command with parameters of type TableModifier and TypeMethodDescriptionprivate TableFilterParser.buildTableFilter(Table table, String alias, ArrayList<String> derivedColumnNames, IndexHints indexHints) private ColumnParser.parseColumn(Table table) private Column[]Parser.parseColumnList(Table table) private IndexHintsParser.parseIndexHints(Table table) private voidParser.parseInsertCompatibility(Insert command, Table table, Mode mode) private voidParser.parseInsertSet(Insert command, Table table, Column[] columns) private ExpressionParser.readOnDuplicateKeyValues(Table table, Update update) -
Uses of Table in org.h2.command.ddl
Fields in org.h2.command.ddl declared as TableModifier and TypeFieldDescriptionprivate TableAnalyze.tableused in ANALYZE TABLE...private TableTruncateTable.tableFields in org.h2.command.ddl with type parameters of type TableMethods in org.h2.command.ddl that return TableModifier and TypeMethodDescriptionprivate TableAlterTableAlterColumn.cloneTableStructure(Table table, Column[] columns, Database db, String tempName, ArrayList<Column> newColumns) Methods in org.h2.command.ddl with parameters of type TableModifier and TypeMethodDescriptionprivate voidAlterTableAddConstraint.addConstraintToTable(Database db, Table table, Constraint constraint) voidAdd the specified table to the list of tables.static voidAnalyze.analyzeTable(SessionLocal session, Table table, int sample, boolean manual) Analyze this table.private static booleanAlterTableAddConstraint.canUseIndex(Index index, Table table, IndexColumn[] cols, boolean unique) private static voidAlterTableAlterColumn.checkDefaultReferencesTable(Table table, Expression defaultExpression) private voidAlterTableAlterColumn.checkNoNullValues(Table table) private voidAlterTableAlterColumn.checkNullable(Table table) private TableAlterTableAlterColumn.cloneTableStructure(Table table, Column[] columns, Database db, String tempName, ArrayList<Column> newColumns) private voidAlterTableAlterColumn.convertIdentityColumn(Table table, Column c) private voidAlterTableAlterColumn.copyData(Table table, ArrayList<Sequence> sequences, boolean createConstraints) private IndexAlterTableAddConstraint.createIndex(Table t, IndexColumn[] cols, boolean unique) private ConstraintUniqueAlterTableAddConstraint.createUniqueConstraint(Table table, Index index, IndexColumn[] indexColumns, boolean forForeignKey) private static booleanAlterDomain.forTable(SessionLocal session, Domain domain, BiPredicate<Domain, Column> columnProcessor, boolean recompileExpressions, Table t) private StringAlterTableAddConstraint.generateConstraintName(Table table) private static IndexAlterTableAddConstraint.getIndex(Table t, IndexColumn[] cols, boolean unique) private static ConstraintUniqueAlterTableAddConstraint.getUniqueConstraint(Table t, IndexColumn[] cols) private voidAlterTableAlterColumn.removeSequence(Table table, Sequence sequence) voidvoidprivate intTry to execute the statement.(package private) abstract longlonglonglonglonglong -
Uses of Table in org.h2.command.dml
Fields in org.h2.command.dml declared as TableModifier and TypeFieldDescriptionprivate TableInsert.tableprivate TableMerge.tableprivate final TableSetClauseList.tableFields in org.h2.command.dml with type parameters of type TableMethods in org.h2.command.dml that return TableModifier and TypeMethodDescriptionabstract TableDataChangeStatement.getTable()Return the target table.final TableFilteredDataChangeStatement.getTable()Insert.getTable()Merge.getTable()MergeUsing.getTable()Methods in org.h2.command.dml with parameters of type TableModifier and TypeMethodDescription(package private) static voidUpdate.doUpdate(Prepared prepared, SessionLocal session, Table table, LocalResult rows) private booleanScriptCommand.excludeTable(Table table) private intScriptCommand.generateInsertValues(int count, Table table) (package private) booleanSetClauseList.prepareUpdate(Table table, SessionLocal session, ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode, LocalResult rows, Row oldRow, boolean updateToCurrentValuesReturnsZero) voidvoidMethod parameters in org.h2.command.dml with type arguments of type TableConstructors in org.h2.command.dml with parameters of type Table -
Uses of Table in org.h2.command.query
Fields in org.h2.command.query with type parameters of type TableMethods in org.h2.command.query that return TableModifier and TypeMethodDescriptionQuery.toTable(String alias, Column[] columnTemplates, ArrayList<Parameter> parameters, boolean forCreateView, Query topQuery) Converts this query to a table or a view.TableValueConstructor.toTable(String alias, Column[] columnTemplates, ArrayList<Parameter> parameters, boolean forCreateView, Query topQuery) Methods in org.h2.command.query that return types with arguments of type TableModifier and TypeMethodDescriptionQuery.getTables()Get all tables that are involved in this query.Select.getTables()SelectUnion.getTables()TableValueConstructor.getTables()Methods in org.h2.command.query with parameters of type Table -
Uses of Table in org.h2.constraint
Fields in org.h2.constraint declared as TableModifier and TypeFieldDescriptionprivate TableConstraintReferential.refTableprotected TableConstraint.tableThe table for which this constraint is defined.Methods in org.h2.constraint that return TableModifier and TypeMethodDescriptionConstraint.getRefTable()ConstraintReferential.getRefTable()Constraint.getTable()Methods in org.h2.constraint with parameters of type TableModifier and TypeMethodDescriptionabstract voidConstraint.checkRow(SessionLocal session, Table t, Row oldRow, Row newRow) Check if this row fulfils the constraint.voidConstraintCheck.checkRow(SessionLocal session, Table t, Row oldRow, Row newRow) voidConstraintDomain.checkRow(SessionLocal session, Table t, Row oldRow, Row newRow) voidConstraintReferential.checkRow(SessionLocal session, Table t, Row oldRow, Row newRow) voidConstraintUnique.checkRow(SessionLocal session, Table t, Row oldRow, Row newRow) ConstraintCheck.getCreateSQLForCopy(Table forTable, String quotedName) ConstraintDomain.getCreateSQLForCopy(Table forTable, String quotedName) ConstraintReferential.getCreateSQLForCopy(Table forTable, String quotedName) Create the SQL statement of this object so a copy of the table can be made.ConstraintReferential.getCreateSQLForCopy(Table forTable, Table forRefTable, String quotedName, boolean internalIndex) Create the SQL statement of this object so a copy of the table can be made.ConstraintUnique.getCreateSQLForCopy(Table forTable, String quotedName) private StringConstraintUnique.getCreateSQLForCopy(Table forTable, String quotedName, boolean internalIndex) Constraint.getReferencedColumns(Table table) Get all referenced columns.ConstraintCheck.getReferencedColumns(Table table) ConstraintDomain.getReferencedColumns(Table table) ConstraintReferential.getReferencedColumns(Table table) ConstraintUnique.getReferencedColumns(Table table) voidConstraintReferential.setRefTable(Table refTable) Constructors in org.h2.constraint with parameters of type TableModifierConstructorDescription(package private)Constraint(Schema schema, int id, String name, Table table) ConstraintCheck(Schema schema, int id, String name, Table table) ConstraintReferential(Schema schema, int id, String name, Table table) ConstraintUnique(Schema schema, int id, String name, Table table, boolean primaryKey) -
Uses of Table in org.h2.engine
Fields in org.h2.engine declared as TableModifier and TypeFieldDescriptionprivate final TableDatabase.metaprivate TableSessionLocal.waitForLockFields in org.h2.engine with type parameters of type TableModifier and TypeFieldDescriptionSessionLocal.localTempTablesSessionLocal.locksSessionLocal.tablesToAnalyzeTables marked for ANALYZE after the current transaction is committed.Methods in org.h2.engine that return TableModifier and TypeMethodDescriptionSessionLocal.findLocalTempTable(String name) Get the local temporary table if one exists with that name, or null if not.Database.getDependentTable(SchemaObject obj, Table except) Get the first table that depends on this object.Database.getFirstUserTable()Get the first user defined table, excluding the LOB_BLOCKS table that the Recover tool creates.SessionLocal.getWaitForLock()Methods in org.h2.engine that return types with arguments of type TableModifier and TypeMethodDescriptionDatabase.getAllTablesAndViews()Get all tables and views.SessionLocal.getLocalTempTables()SessionLocal.getLocks()Methods in org.h2.engine with parameters of type TableModifier and TypeMethodDescriptionvoidSessionLocal.addLocalTempTable(Table table) Add a local temporary table to this session.voidUser.checkTableRight(Table table, int rightMask) Checks that this user has the given rights for the specified table.Comment.getCreateSQLForCopy(Table table, String quotedName) abstract StringDbObject.getCreateSQLForCopy(Table table, String quotedName) Build a SQL statement to re-create the object, or to create a copy of the object with a different name or referencing a different tableRight.getCreateSQLForCopy(Table table, String quotedName) Role.getCreateSQLForCopy(Table table, String quotedName) Setting.getCreateSQLForCopy(Table table, String quotedName) User.getCreateSQLForCopy(Table table, String quotedName) Database.getDependentTable(SchemaObject obj, Table except) Get the first table that depends on this object.booleanUser.hasTableRight(Table table, int rightMask) See if this user has the given rights for this database object.(package private) final booleanRightOwner.isTableRightGrantedRecursive(Table table, int rightMask) Checks if a right is already granted to this object or to objects that were granted to this object.voidSessionLocal.markTableForAnalyze(Table table) Mark that the given table needs to be analyzed on commit.voidSessionLocal.registerTableAsLocked(Table table) Register table as locked within current transaction.voidSessionLocal.registerTableAsUpdated(Table table) Register table as updated within current transaction.voidSessionLocal.removeLocalTempTable(Table table) Drop and remove the given local temporary table from this session.voidSessionLocal.setWaitForLock(Table waitForLock, Thread waitForLockThread) Set the table this session is waiting for, and the thread that is waiting.(package private) voidUnlock just this table. -
Uses of Table in org.h2.expression
Fields in org.h2.expression declared as TableMethods in org.h2.expression that return TableMethods in org.h2.expression with parameters of type TableModifier and TypeMethodDescriptionstatic ExpressionVisitorExpressionVisitor.getColumnsVisitor(HashSet<Column> columns, Table table) Create a new visitor to get all referenced columns.static ExpressionVisitorExpressionVisitor.getOptimizableVisitor(Table table) Create a new visitor to check if all aggregates are for the given table.Constructors in org.h2.expression with parameters of type TableModifierConstructorDescriptionprivateExpressionVisitor(int type, int queryLevel, HashSet<?> set, AllColumnsForPlan columns1, Table table, ColumnResolver resolver, long[] maxDataModificationId) -
Uses of Table in org.h2.index
Fields in org.h2.index declared as TableModifier and TypeFieldDescriptionprotected final TableIndex.tableThe table.private TableIndexCursor.tableprivate final TableViewCursor.tableMethods in org.h2.index that return TableMethods in org.h2.index with parameters of type TableModifier and TypeMethodDescriptionIndex.getCreateSQLForCopy(Table targetTable, String quotedName) Constructors in org.h2.index with parameters of type TableModifierConstructorDescriptionprotectedIndex(Table newTable, int id, String name, IndexColumn[] newIndexColumns, int uniqueColumnCount, IndexType newIndexType) Initialize the index. -
Uses of Table in org.h2.jdbc.meta
Methods in org.h2.jdbc.meta with parameters of type TableModifier and TypeMethodDescriptionprivate voidDatabaseMetaLocal.addCrossReferenceResult(SimpleResult result, Value catalog, String pkSchema, Table pkTable, String fkSchema, Table fkTable, ConstraintReferential fk) private voidDatabaseMetaLocal.getColumnsAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, Table t, CompareLike columnLike) private voidDatabaseMetaLocal.getIndexInfo(Value catalogValue, Value schemaValue, Table table, boolean unique, boolean approximate, SimpleResult result, Database db) private voidDatabaseMetaLocal.getPseudoColumnsAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, Table t, CompareLike columnLike) private voidDatabaseMetaLocal.getTablesAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, Table t, boolean synonym, HashSet<String> typesSet) -
Uses of Table in org.h2.mode
Subclasses of Table in org.h2.modeModifier and TypeClassDescriptionfinal classThis class is responsible to build the pg_catalog tables.Fields in org.h2.mode with type parameters of type TableMethods in org.h2.mode that return types with arguments of type TableModifier and TypeMethodDescriptionPgCatalogSchema.fillMap()PgCatalogSchema.getMap(SessionLocal session) Methods in org.h2.mode with parameters of type TableModifier and TypeMethodDescriptionprivate voidPgCatalogTable.addAttribute(SessionLocal session, ArrayList<Row> rows, int id, int relId, Table table, Column column, int ordinal) private voidPgCatalogTable.pgAttribute(SessionLocal session, ArrayList<Row> rows, Table table) private voidPgCatalogTable.pgClass(SessionLocal session, ArrayList<Row> rows, Table table) -
Uses of Table in org.h2.mvstore.db
Subclasses of Table in org.h2.mvstore.dbConstructors in org.h2.mvstore.db with parameters of type TableModifierConstructorDescriptionprotectedMVIndex(Table newTable, int id, String name, IndexColumn[] newIndexColumns, int uniqueColumnCount, IndexType newIndexType) -
Uses of Table in org.h2.result
Methods in org.h2.result with parameters of type TableModifier and TypeMethodDescriptionstatic LocalResultLocalResult.forTable(SessionLocal session, Table table) Constructs a new local result object for the specified table. -
Uses of Table in org.h2.schema
Fields in org.h2.schema declared as TableFields in org.h2.schema with type parameters of type TableModifier and TypeFieldDescriptionInformationSchema.newTablesInformationSchema.oldTablesprivate final ConcurrentHashMap<String, Table> Schema.tablesAndViewsMethods in org.h2.schema that return TableModifier and TypeMethodDescriptionSchema.createTable(CreateTableData data) Add a table to the schema.MetaSchema.findTableOrView(SessionLocal session, String name) Schema.findTableOrView(SessionLocal session, String name) Try to find a table or view with this name.TriggerObject.getTable()Get the table of this trigger.MetaSchema.getTableOrView(SessionLocal session, String name) Schema.getTableOrView(SessionLocal session, String name) Get the table or view with the given name.MetaSchema.getTableOrViewByName(SessionLocal session, String name) Schema.getTableOrViewByName(SessionLocal session, String name) Get the table with the given name, if any.Schema.resolveTableOrView(SessionLocal session, String name) Try to find a table or view with this name.Methods in org.h2.schema that return types with arguments of type TableModifier and TypeMethodDescriptionInformationSchema.fillMap(boolean old) MetaSchema.getAllTablesAndViews(SessionLocal session) Schema.getAllTablesAndViews(SessionLocal session) Get all tables and views.InformationSchema.getMap(SessionLocal session) MetaSchema.getMap(SessionLocal session) Returns map of tables in this schema.Methods in org.h2.schema with parameters of type TableModifier and TypeMethodDescriptionprivate static JdbcResultSetTriggerObject.createResultSet(JdbcConnection conn, Table table, Row row, boolean updatable) booleanTriggerObject.fireRow(SessionLocal session, Table table, Row oldRow, Row newRow, boolean beforeAction, boolean rollback) Call the fire method of the user-defined trigger class if required.Constant.getCreateSQLForCopy(Table table, String quotedName) Domain.getCreateSQLForCopy(Table table, String quotedName) Schema.getCreateSQLForCopy(Table table, String quotedName) Sequence.getCreateSQLForCopy(Table table, String quotedName) TriggerObject.getCreateSQLForCopy(Table targetTable, String quotedName) final StringUserDefinedFunction.getCreateSQLForCopy(Table table, String quotedName) Schema.getUniqueConstraintName(SessionLocal session, Table table) Create a unique constraint name.Schema.getUniqueIndexName(SessionLocal session, Table table, String prefix) Create a unique index name.Constructors in org.h2.schema with parameters of type Table -
Uses of Table in org.h2.table
Subclasses of Table in org.h2.tableModifier and TypeClassDescriptionclassA data change delta table.classThe DUAL table for selects without a FROM clause.classA table backed by a system or user-defined function that returns a result set.final classThis class is responsible to build the INFORMATION_SCHEMA tables.final classThis class is responsible to build the legacy variant of INFORMATION_SCHEMA tables.classThis class is responsible to build the database meta data pseudo tables.classThe table SYSTEM_RANGE is a virtual table that generates incrementing numbers with a given start end point.classThe base class of a regular table, or a user defined table.classA linked table contains connection information for a table accessible by JDBC.classA table for table value constructor.classA view is a virtual table that is defined by a query.classA base class for virtual tables that construct all their content at once.classA base class for virtual tables.Fields in org.h2.table declared as TableModifier and TypeFieldDescriptionprivate TableTableSynonym.synonymForThe table the synonym is created for.private TableColumn.tableprivate final TableGeneratedColumnResolver.tableprivate final TableTableFilter.tableFields in org.h2.table with type parameters of type TableMethods in org.h2.table that return TableModifier and TypeMethodDescriptionstatic TableTableView.createShadowTableForRecursiveTableExpression(boolean isTemporary, SessionLocal targetSession, String cteViewName, Schema schema, List<Column> columns, Database db) Create a table for a recursive query.TableSynonym.getSynonymFor()Column.getTable()TableFilter.getTable()Methods in org.h2.table that return types with arguments of type TableModifier and TypeMethodDescriptionInformationSchemaTableLegacy.getAllTables(SessionLocal session) Get all tables of this database, including local temporary tables for the session.TableView.getTables()InformationSchemaTableLegacy.getTablesByName(SessionLocal session, String tableName) Methods in org.h2.table with parameters of type TableModifier and TypeMethodDescriptionprivate voidInformationSchemaTable.addPrivilege(SessionLocal session, ArrayList<Row> rows, DbObject grantee, String catalog, Table table, String column, String right) private voidInformationSchemaTableLegacy.addPrivilege(SessionLocal session, ArrayList<Row> rows, DbObject grantee, String catalog, Table table, String column, String right) private voidInformationSchemaTable.addPrivileges(SessionLocal session, ArrayList<Row> rows, DbObject grantee, String catalog, Table table, String column, int rightMask) private voidInformationSchemaTableLegacy.addPrivileges(SessionLocal session, ArrayList<Row> rows, DbObject grantee, String catalog, Table table, String column, int rightMask) static voidDataChangeDeltaTable.collectInsertedFinalRow(SessionLocal session, Table table, ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode, Row newRow) Collects final row for INSERT operations.private voidInformationSchemaTable.columns(SessionLocal session, ArrayList<Row> rows, String catalog, String mainSchemaName, String collation, Table table, String tableName) private voidInformationSchemaTable.columns(SessionLocal session, ArrayList<Row> rows, String catalog, String mainSchemaName, String collation, Table table, String tableName, Column c, int ordinalPosition) static voidTableView.destroyShadowTableForRecursiveExpression(boolean isTemporary, SessionLocal targetSession, Table recursiveTable) Remove a table for a recursive query.private voidInformationSchemaTable.elementTypesFieldsForTable(SessionLocal session, ArrayList<Row> rows, String catalog, int type, String mainSchemaName, String collation, String schemaName, Table table) Table.getCreateSQLForCopy(Table table, String quotedName) TableSynonym.getCreateSQLForCopy(Table table, String quotedName) TableView.getCreateSQLForCopy(Table table, String quotedName) protected final booleanMetaTable.hideTable(Table table, SessionLocal session) Check whether to hide the table.private voidInformationSchemaTable.indexColumns(SessionLocal session, ArrayList<Row> rows, String catalog, Table table, String tableName, Index index) private voidInformationSchemaTable.indexes(SessionLocal session, ArrayList<Row> rows, String catalog, boolean columns, Table table, String tableName) private voidInformationSchemaTable.indexes(SessionLocal session, ArrayList<Row> rows, String catalog, Table table, String tableName, Index index) private voidInformationSchemaTable.keyColumnUsage(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Constraint.Type constraintType, IndexColumn[] indexColumns, Table table, String tableName) static voidIndexColumn.mapColumns(IndexColumn[] indexColumns, Table table) Map the columns using the column names and the specified table.voidSet the table and column id.private voidInformationSchemaTable.tableConstraints(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Constraint.Type constraintType, Table table, String tableName) private voidInformationSchemaTable.tables(SessionLocal session, ArrayList<Row> rows, String catalog, Table table, String tableName) private voidInformationSchemaTable.triggers(SessionLocal session, ArrayList<Row> rows, String catalog, TriggerObject trigger, String eventManipulation, Table table, String tableName) private voidInformationSchemaTable.views(SessionLocal session, ArrayList<Row> rows, String catalog, Table table, String tableName) Constructors in org.h2.table with parameters of type TableModifierConstructorDescription(package private)GeneratedColumnResolver(Table table) Column resolver for generated columns.TableFilter(SessionLocal session, Table table, String alias, boolean rightsChecked, Select select, int orderInFrom, IndexHints indexHints) Create a new table filter object.