Package | Description |
---|---|
org.h2.command.ddl | |
org.h2.command.dml | |
org.h2.constraint | |
org.h2.engine | |
org.h2.expression | |
org.h2.index | |
org.h2.table |
Modifier and Type | Field and Description |
---|---|
ArrayList<Column> |
CreateTableData.columns
The column list.
|
Modifier and Type | Method and Description |
---|---|
void |
CreateTable.addColumn(Column column)
Add a column to this table.
|
void |
CreateUserDataType.setColumn(Column column) |
void |
AlterTableRenameColumn.setColumn(Column column) |
void |
AlterTableAlterColumn.setNewColumn(Column newColumn) |
void |
AlterTableAlterColumn.setOldColumn(Column oldColumn) |
Modifier and Type | Method and Description |
---|---|
Column[] |
SelectListColumnResolver.getColumns() |
Column |
SelectListColumnResolver.getRowIdColumn() |
Column[] |
SelectListColumnResolver.getSystemColumns() |
Modifier and Type | Method and Description |
---|---|
Value |
SelectListColumnResolver.getValue(Column column) |
Expression |
SelectListColumnResolver.optimize(ExpressionColumn expressionColumn,
Column column) |
void |
Update.setAssignment(Column column,
Expression expression)
Add an assignment of the form column = expression.
|
void |
AlterSequence.setColumn(Column column) |
void |
Merge.setColumns(Column[] columns) |
void |
Insert.setColumns(Column[] columns) |
void |
Merge.setKeys(Column[] keys) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Column |
UserDataType.getColumn() |
Modifier and Type | Method and Description |
---|---|
void |
UserDataType.setColumn(Column column) |
Modifier and Type | Method and Description |
---|---|
Column |
ExpressionColumn.getColumn() |
Modifier and Type | Method and Description |
---|---|
void |
Parameter.setColumn(Column column) |
void |
Function.setDataType(Column col) |
Modifier and Type | Method and Description |
---|---|
static ExpressionVisitor |
ExpressionVisitor.getColumnsVisitor(HashSet<Column> columns)
Create a new visitor to get all referenced columns.
|
void |
TableFunction.setColumns(ArrayList<Column> columns) |
Constructor and Description |
---|
ExpressionColumn(Database database,
Column column) |
Modifier and Type | Field and Description |
---|---|
protected Column[] |
BaseIndex.columns |
Modifier and Type | Method and Description |
---|---|
Column |
IndexCondition.getColumn()
Get the referenced column.
|
Column[] |
MultiVersionIndex.getColumns() |
Column[] |
Index.getColumns()
Get the indexed columns.
|
Column[] |
BaseIndex.getColumns() |
Modifier and Type | Method and Description |
---|---|
int |
ScanIndex.getColumnIndex(Column col) |
int |
PageDelegateIndex.getColumnIndex(Column col) |
int |
PageDataIndex.getColumnIndex(Column col) |
int |
MultiVersionIndex.getColumnIndex(Column col) |
int |
MetaIndex.getColumnIndex(Column col) |
int |
Index.getColumnIndex(Column col)
Get the index of a column in the list of index columns
|
int |
BaseIndex.getColumnIndex(Column col) |
Modifier and Type | Field and Description |
---|---|
Column |
IndexColumn.column
The column, or null if not set.
|
protected Column[] |
Table.columns
The columns of this table.
|
Modifier and Type | Method and Description |
---|---|
Column |
Column.getClone() |
Column |
Table.getColumn(int index)
Get the column at the given index.
|
Column |
Table.getColumn(String columnName)
Get the column with the given name.
|
Column[] |
TableFilter.getColumns() |
Column[] |
Table.getColumns() |
Column[] |
SingleColumnResolver.getColumns() |
Column[] |
ColumnResolver.getColumns()
Get the column list.
|
Column |
TableFilter.getRowIdColumn() |
Column |
Table.getRowIdColumn()
Get the row id column if this table has one.
|
Column |
SingleColumnResolver.getRowIdColumn() |
Column |
RegularTable.getRowIdColumn() |
Column |
ColumnResolver.getRowIdColumn()
Get the row id pseudo column, if there is one.
|
Column[] |
TableFilter.getSystemColumns()
Get the system columns that this table understands.
|
Column[] |
SingleColumnResolver.getSystemColumns() |
Column[] |
ColumnResolver.getSystemColumns()
Get the list of system columns, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
TableFilter.addNaturalJoinColumn(Column c)
Add a column to the natural join key column list.
|
void |
Table.dropSingleColumnConstraintsAndIndexes(Session session,
Column col)
Check that this column is not referenced by a multi-column constraint or
multi-column index.
|
Value |
TableLink.getDefaultValue(Session session,
Column column)
Get or generate a default value for the given column.
|
Value |
Table.getDefaultValue(Session session,
Column column)
Get or generate a default value for the given column.
|
Index |
Table.getIndexForColumn(Column column,
boolean first)
Get the index that has the given column as the first element.
|
Value |
TableFilter.getValue(Column column) |
Value |
SingleColumnResolver.getValue(Column col) |
Value |
ColumnResolver.getValue(Column column)
Get the value for the given column.
|
boolean |
TableFilter.isNaturalJoinColumn(Column c)
Check if the given column is a natural join column.
|
Expression |
TableFilter.optimize(ExpressionColumn expressionColumn,
Column column) |
Expression |
SingleColumnResolver.optimize(ExpressionColumn expressionColumn,
Column col) |
Expression |
ColumnResolver.optimize(ExpressionColumn expressionColumn,
Column column)
Get the expression that represents this column.
|
void |
Table.renameColumn(Column column,
String newName)
Rename a column of this table.
|
protected void |
Table.setColumns(Column[] columns) |
static IndexColumn[] |
IndexColumn.wrap(Column[] columns)
Create an array of index columns from a list of columns.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.