Package | Description |
---|---|
org.h2.command.ddl | |
org.h2.command.dml | |
org.h2.constraint | |
org.h2.engine | |
org.h2.expression | |
org.h2.index | |
org.h2.schema | |
org.h2.table |
Modifier and Type | Method and Description |
---|---|
void |
GrantRevoke.addTable(Table table)
Add the specified table to the list of tables.
|
static void |
Analyze.analyzeTable(Session session,
Table table,
int sample,
boolean manual)
Analyze this table.
|
void |
AlterTableRename.setOldTable(Table table) |
void |
TruncateTable.setTable(Table table) |
void |
AlterTableRenameColumn.setTable(Table table) |
void |
AlterTableAlterColumn.setTable(Table table) |
Modifier and Type | Method and Description |
---|---|
HashSet<Table> |
SelectUnion.getTables() |
HashSet<Table> |
Select.getTables() |
abstract HashSet<Table> |
Query.getTables()
Get all tables that are involved in this query.
|
Modifier and Type | Method and Description |
---|---|
void |
Merge.setTable(Table table) |
void |
Insert.setTable(Table table) |
Modifier and Type | Field and Description |
---|---|
protected Table |
Constraint.table
The table for which this constraint is defined.
|
Modifier and Type | Method and Description |
---|---|
Table |
ConstraintReferential.getRefTable() |
Table |
Constraint.getRefTable() |
Table |
Constraint.getTable() |
Modifier and Type | Method and Description |
---|---|
void |
ConstraintUnique.checkRow(Session session,
Table t,
Row oldRow,
Row newRow) |
void |
ConstraintReferential.checkRow(Session session,
Table t,
Row oldRow,
Row newRow) |
void |
ConstraintCheck.checkRow(Session session,
Table t,
Row oldRow,
Row newRow) |
abstract void |
Constraint.checkRow(Session session,
Table t,
Row oldRow,
Row newRow)
Check if this row fulfils the constraint.
|
String |
ConstraintUnique.getCreateSQLForCopy(Table forTable,
String quotedName) |
String |
ConstraintReferential.getCreateSQLForCopy(Table forTable,
String quotedName)
Create the SQL statement of this object so a copy of the table can be made.
|
String |
ConstraintCheck.getCreateSQLForCopy(Table forTable,
String quotedName) |
String |
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.
|
HashSet<Column> |
ConstraintUnique.getReferencedColumns(Table table) |
HashSet<Column> |
ConstraintReferential.getReferencedColumns(Table table) |
HashSet<Column> |
ConstraintCheck.getReferencedColumns(Table table) |
abstract HashSet<Column> |
Constraint.getReferencedColumns(Table table)
Get all referenced columns.
|
void |
ConstraintReferential.setRefTable(Table refTable) |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
Table |
Session.findLocalTempTable(String name)
Get the local temporary table if one exists with that name, or null if
not.
|
Table |
Database.getDependentTable(SchemaObject obj,
Table except)
Get the first table that depends on this object.
|
Table |
Database.getFirstUserTable()
Get the first user defined table.
|
Table |
Right.getGrantedTable() |
Table[] |
Session.getLocks() |
Table |
UndoLogRecord.getTable()
Get the table.
|
Table |
Session.getWaitForLock() |
Modifier and Type | Method and Description |
---|---|
ArrayList<Table> |
Database.getAllTablesAndViews(boolean includeMeta)
Get all tables and views.
|
ArrayList<Table> |
Session.getLocalTempTables() |
Modifier and Type | Method and Description |
---|---|
void |
Session.addLocalTempTable(Table table)
Add a local temporary table to this session.
|
void |
Session.addLock(Table table)
Add a lock for the given table.
|
void |
User.checkRight(Table table,
int rightMask)
Checks that this user has the given rights for this database object.
|
String |
UserDataType.getCreateSQLForCopy(Table table,
String quotedName) |
String |
UserAggregate.getCreateSQLForCopy(Table table,
String quotedName) |
String |
User.getCreateSQLForCopy(Table table,
String quotedName) |
String |
Setting.getCreateSQLForCopy(Table table,
String quotedName) |
String |
Role.getCreateSQLForCopy(Table table,
String quotedName) |
String |
Right.getCreateSQLForCopy(Table table,
String quotedName) |
String |
FunctionAlias.getCreateSQLForCopy(Table table,
String quotedName) |
String |
DbObject.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 table
|
String |
Comment.getCreateSQLForCopy(Table table,
String quotedName) |
Table |
Database.getDependentTable(SchemaObject obj,
Table except)
Get the first table that depends on this object.
|
Right |
RightOwner.getRightForTable(Table table)
Get the 'grant table' right of this object.
|
void |
RightOwner.grantRight(Table table,
Right right)
Grant a right for the given table.
|
boolean |
User.hasRight(Table table,
int rightMask)
See if this user has the given rights for this database object.
|
void |
Session.log(Table table,
short operation,
Row row)
Add an undo log entry to this session.
|
void |
Session.removeLocalTempTable(Table table)
Drop and remove the given local temporary table from this session.
|
void |
Session.setWaitForLock(Table table) |
Constructor and Description |
---|
Right(Database db,
int id,
RightOwner grantee,
int grantedRight,
Table grantedRightOnTable) |
Modifier and Type | Method and Description |
---|---|
Table |
ExpressionVisitor.getTable()
Get the table.
|
Modifier and Type | Method and Description |
---|---|
static ExpressionVisitor |
ExpressionVisitor.getOptimizableVisitor(Table table)
Create a new visitor to check if all aggregates are for the given table.
|
Modifier and Type | Field and Description |
---|---|
protected Table |
BaseIndex.table |
Modifier and Type | Method and Description |
---|---|
Table |
MultiVersionIndex.getTable() |
Table |
Index.getTable()
Get the table on which this index is based.
|
Table |
BaseIndex.getTable() |
Modifier and Type | Method and Description |
---|---|
String |
MultiVersionIndex.getCreateSQLForCopy(Table forTable,
String quotedName) |
String |
BaseIndex.getCreateSQLForCopy(Table targetTable,
String quotedName) |
protected void |
BaseIndex.initBaseIndex(Table newTable,
int id,
String name,
IndexColumn[] newIndexColumns,
IndexType newIndexType)
Initialize the base index.
|
Modifier and Type | Method and Description |
---|---|
Table |
Schema.createTable(CreateTableData data)
Add a table to the schema.
|
Table |
Schema.findTableOrView(Session session,
String name)
Try to find a table or view with this name.
|
Table |
TriggerObject.getTable()
Get the table of this trigger.
|
Table |
Schema.getTableOrView(Session session,
String name)
Get the table or view with the given name.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<Table> |
Schema.getAllTablesAndViews()
Get all tables and views.
|
Modifier and Type | Method and Description |
---|---|
String |
TriggerObject.getCreateSQLForCopy(Table targetTable,
String quotedName) |
String |
Sequence.getCreateSQLForCopy(Table table,
String quotedName) |
String |
Schema.getCreateSQLForCopy(Table table,
String quotedName) |
String |
Constant.getCreateSQLForCopy(Table table,
String quotedName) |
String |
Schema.getUniqueConstraintName(Session session,
Table table)
Create a unique constraint name.
|
String |
Schema.getUniqueIndexName(Session session,
Table table,
String prefix)
Create a unique index name.
|
Constructor and Description |
---|
TriggerObject(Schema schema,
int id,
String name,
Table table) |
Modifier and Type | Class and Description |
---|---|
class |
FunctionTable
A table backed by a system or user-defined function that returns a result set.
|
class |
MetaTable
This class is responsible to build the database meta data pseudo tables.
|
class |
RangeTable
The table SYSTEM_RANGE is a virtual table that generates incrementing numbers
with a given start end end point.
|
class |
RegularTable
Most tables are an instance of this class.
|
class |
TableBase
The base class of a regular table, or a user defined table.
|
class |
TableLink
A linked table contains connection information for a table accessible by JDBC.
|
class |
TableView
A view is a virtual table that is defined by a query.
|
Modifier and Type | Method and Description |
---|---|
Table |
TableFilter.getTable() |
Table |
Column.getTable() |
Modifier and Type | Method and Description |
---|---|
String |
TableView.getCreateSQLForCopy(Table table,
String quotedName) |
String |
Table.getCreateSQLForCopy(Table table,
String quotedName) |
static void |
IndexColumn.mapColumns(IndexColumn[] indexColumns,
Table table)
Map the columns using the column names and the specified table.
|
void |
Column.setTable(Table table,
int columnId)
Set the table and column id.
|
Constructor and Description |
---|
TableFilter(Session session,
Table table,
String alias,
boolean rightsChecked,
Select select)
Create a new table filter object.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.