| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private boolean | |
| private boolean | |
| private ArrayList | |
| private ArrayList | |
| private Expression | defaultExpression
Default or on update expression. |
| private boolean | |
| private boolean | |
| private Column | |
| private Expression | |
| private Column | |
| private String | |
| private int | |
| private Expression |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static StringBuilder | |
| public void | addColumn(Column
the column to add column)Implements abstract org. Add a column to this table. |
| private void | |
| private static void | |
| private void | |
| private void | |
| private void | checkViews(SchemaObject sourceTable, SchemaObject newTable)
Check that all views and other dependent objects. |
| private void | checkViewsAreValid(DbObject
the table or view to check tableOrView)Check that a table or view is still valid. |
| private Table | |
| private void | |
| private void | |
| private void | |
| public int | getType()
Implements abstract org. Get the command type as defined in CommandInterface |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setDefaultExpression(Expression
default or on update expression defaultExpression)Set default or on update expression. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public long |
| addAfter | back to summary |
|---|---|
| private String addAfter | |
| addBefore | back to summary |
|---|---|
| private String addBefore | |
| addFirst | back to summary |
|---|---|
| private boolean addFirst | |
| booleanFlag | back to summary |
|---|---|
| private boolean booleanFlag | |
| columnsToAdd | back to summary |
|---|---|
| private ArrayList<Column> columnsToAdd | |
| columnsToRemove | back to summary |
|---|---|
| private ArrayList<Column> columnsToRemove | |
| defaultExpression | back to summary |
|---|---|
| private Expression defaultExpression Default or on update expression. | |
| ifNotExists | back to summary |
|---|---|
| private boolean ifNotExists | |
| ifTableExists | back to summary |
|---|---|
| private boolean ifTableExists | |
| newColumn | back to summary |
|---|---|
| private Column newColumn | |
| newSelectivity | back to summary |
|---|---|
| private Expression newSelectivity | |
| oldColumn | back to summary |
|---|---|
| private Column oldColumn | |
| tableName | back to summary |
|---|---|
| private String tableName | |
| type | back to summary |
|---|---|
| private int type | |
| usingExpression | back to summary |
|---|---|
| private Expression usingExpression | |
| AlterTableAlterColumn | back to summary |
|---|---|
| public AlterTableAlterColumn(SessionLocal session, Schema schema) | |
| addColumn | back to summary |
|---|---|
| private static StringBuilder addColumn(Column column, StringBuilder columnNames, StringBuilder columnValues) | |
| addColumn | back to summary |
|---|---|
| public void addColumn(Column column) Implements abstract org. Doc from org. Add a column to this table. | |
| checkClustering | back to summary |
|---|---|
| private void checkClustering(Column c) | |
| checkDefaultReferencesTable | back to summary |
|---|---|
| private static void checkDefaultReferencesTable(Table table, Expression defaultExpression) | |
| checkNoNullValues | back to summary |
|---|---|
| private void checkNoNullValues(Table table) | |
| checkNullable | back to summary |
|---|---|
| private void checkNullable(Table table) | |
| checkViews | back to summary |
|---|---|
| private void checkViews(SchemaObject sourceTable, SchemaObject newTable) Check that all views and other dependent objects. | |
| checkViewsAreValid | back to summary |
|---|---|
| private void checkViewsAreValid(DbObject tableOrView) Check that a table or view is still valid.
| |
| cloneTableStructure | back to summary |
|---|---|
| private Table cloneTableStructure(Table table, Column[] columns, Database db, String tempName, ArrayList<Column> newColumns) | |
| convertIdentityColumn | back to summary |
|---|---|
| private void convertIdentityColumn(Table table, Column oldColumn, Column newColumn) | |
| copyData | back to summary |
|---|---|
| private void copyData(Table table, ArrayList<Sequence> sequences, boolean createConstraints) | |
| execute | back to summary |
|---|---|
| private void execute(String sql) | |
| getType | back to summary |
|---|---|
| public int getType() Implements abstract org. Doc from org. Get the command type as defined in CommandInterface
| |
| removeSequence | back to summary |
|---|---|
| private void removeSequence(Table table, Sequence sequence) | |
| setAddAfter | back to summary |
|---|---|
| public void setAddAfter(String after) | |
| setAddBefore | back to summary |
|---|---|
| public void setAddBefore(String before) | |
| setAddFirst | back to summary |
|---|---|
| public void setAddFirst() Add the column as the first column of the table. | |
| setBooleanFlag | back to summary |
|---|---|
| public void setBooleanFlag(boolean booleanFlag) | |
| setColumnsToRemove | back to summary |
|---|---|
| public void setColumnsToRemove(ArrayList<Column> columnsToRemove) | |
| setDefaultExpression | back to summary |
|---|---|
| public void setDefaultExpression(Expression defaultExpression) Set default or on update expression.
| |
| setIfNotExists | back to summary |
|---|---|
| public void setIfNotExists(boolean ifNotExists) | |
| setIfTableExists | back to summary |
|---|---|
| public void setIfTableExists(boolean b) | |
| setNewColumn | back to summary |
|---|---|
| public void setNewColumn(Column newColumn) | |
| setOldColumn | back to summary |
|---|---|
| public void setOldColumn(Column oldColumn) | |
| setSelectivity | back to summary |
|---|---|
| public void setSelectivity(Expression selectivity) | |
| setTableName | back to summary |
|---|---|
| public void setTableName(String tableName) | |
| setType | back to summary |
|---|---|
| public void setType(int type) | |
| setUsingExpression | back to summary |
|---|---|
| public void setUsingExpression(Expression usingExpression) Set using expression.
| |
| update | back to summary |
|---|---|
| public long update() Overrides org. Doc from org. Execute the statement.
| |