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.
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. -
Uses of Table in org.h2.command.ddl
Methods in org.h2.command.ddl with parameters of type TableModifier and TypeMethodDescriptionvoidAdd the specified table to the list of tables.static voidAnalyze.analyzeTable(SessionLocal session, Table table, int sample, boolean manual) Analyze this table.voidvoidlonglonglonglonglong -
Uses of Table in org.h2.command.dml
Methods in org.h2.command.dml that return TableModifier and TypeMethodDescriptionabstract TableDataChangeStatement.getTable()Return the target table.Insert.getTable()Merge.getTable()MergeUsing.getTable()Methods in org.h2.command.dml with parameters of type TableModifier and TypeMethodDescriptionvoidvoidMethod 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
Methods 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 TypeFieldDescriptionprotected 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) 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 TableModifierConstructorDescriptionConstraintCheck(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
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.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. -
Uses of Table in org.h2.expression
Methods 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. -
Uses of Table in org.h2.index
Fields in org.h2.index declared as 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.mode
Subclasses of Table in org.h2.modeModifier and TypeClassDescriptionfinal classThis class is responsible to build the pg_catalog tables.Methods in org.h2.mode that return types with arguments of type 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
Methods 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 TypeMethodDescriptionMetaSchema.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 TypeMethodDescriptionbooleanTriggerObject.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.Methods 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 TableMethods in org.h2.table with parameters of type TableModifier and TypeMethodDescriptionstatic voidDataChangeDeltaTable.collectInsertedFinalRow(SessionLocal session, Table table, ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode, Row newRow) Collects final row for INSERT operations.static voidTableView.destroyShadowTableForRecursiveExpression(boolean isTemporary, SessionLocal targetSession, Table recursiveTable) Remove a table for a recursive query.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.static voidIndexColumn.mapColumns(IndexColumn[] indexColumns, Table table) Map the columns using the column names and the specified table.voidSet the table and column id.Constructors in org.h2.table with parameters of type TableModifierConstructorDescriptionTableFilter(SessionLocal session, Table table, String alias, boolean rightsChecked, Select select, int orderInFrom, IndexHints indexHints) Create a new table filter object.