| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Expression | |
| private String | |
| private String | |
| private final ArrayList | |
| private ConstraintUnique | |
| private ConstraintActionType | |
| private final boolean | |
| private Index | |
| private IndexColumn[] | |
| private NullsDistinct | |
| private boolean | |
| private Index | |
| private IndexColumn[] | |
| private Schema | |
| private String | |
| private final int | |
| private ConstraintActionType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private static boolean | |
| private Index | |
| private ConstraintUnique | |
| private String | |
| public String | |
| private static Index | |
| public IndexColumn[] | |
| public int | getType()
Implements abstract org. Get the command type as defined in CommandInterface |
| private static ConstraintUnique | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private int | |
| public long |
| checkExisting | back to summary |
|---|---|
| private boolean checkExisting | |
| checkExpression | back to summary |
|---|---|
| private Expression checkExpression | |
| comment | back to summary |
|---|---|
| private String comment | |
| constraintName | back to summary |
|---|---|
| private String constraintName | |
| createdIndexes | back to summary |
|---|---|
| private final ArrayList<Index> createdIndexes | |
| createdUniqueConstraint | back to summary |
|---|---|
| private ConstraintUnique createdUniqueConstraint | |
| deleteAction | back to summary |
|---|---|
| private ConstraintActionType deleteAction | |
| ifNotExists | back to summary |
|---|---|
| private final boolean ifNotExists | |
| index | back to summary |
|---|---|
| private Index index | |
| indexColumns | back to summary |
|---|---|
| private IndexColumn[] indexColumns | |
| nullsDistinct | back to summary |
|---|---|
| private NullsDistinct nullsDistinct | |
| primaryKeyHash | back to summary |
|---|---|
| private boolean primaryKeyHash | |
| refIndex | back to summary |
|---|---|
| private Index refIndex | |
| refIndexColumns | back to summary |
|---|---|
| private IndexColumn[] refIndexColumns | |
| refSchema | back to summary |
|---|---|
| private Schema refSchema | |
| refTableName | back to summary |
|---|---|
| private String refTableName | |
| type | back to summary |
|---|---|
| private final int type | |
| updateAction | back to summary |
|---|---|
| private ConstraintActionType updateAction | |
| AlterTableAddConstraint | back to summary |
|---|---|
| public AlterTableAddConstraint(SessionLocal session, Schema schema, int type, boolean ifNotExists) | |
| addConstraintToTable | back to summary |
|---|---|
| private void addConstraintToTable(Database db, Table table, Constraint constraint) | |
| canUseIndex | back to summary |
|---|---|
| private static boolean canUseIndex(Index index, Table table, IndexColumn[] cols, NullsDistinct nullsDistinct) | |
| createIndex | back to summary |
|---|---|
| private Index createIndex(Table t, IndexColumn[] cols, NullsDistinct nullsDistinct) | |
| createUniqueConstraint | back to summary |
|---|---|
| private ConstraintUnique createUniqueConstraint(Table table, Index index, IndexColumn[] indexColumns, boolean forForeignKey) | |
| generateConstraintName | back to summary |
|---|---|
| private String generateConstraintName(Table table) | |
| getConstraintName | back to summary |
|---|---|
| public String getConstraintName() | |
| getIndex | back to summary |
|---|---|
| private static Index getIndex(Table t, IndexColumn[] cols, NullsDistinct nullsDistinct) | |
| getIndexColumns | back to summary |
|---|---|
| public IndexColumn[] getIndexColumns() | |
| getType | back to summary |
|---|---|
| public int getType() Implements abstract org. Doc from org. Get the command type as defined in CommandInterface
| |
| getUniqueConstraint | back to summary |
|---|---|
| private static ConstraintUnique getUniqueConstraint(Table t, IndexColumn[] cols) | |
| setCheckExisting | back to summary |
|---|---|
| public void setCheckExisting(boolean b) | |
| setCheckExpression | back to summary |
|---|---|
| public void setCheckExpression(Expression expression) | |
| setComment | back to summary |
|---|---|
| public void setComment(String comment) | |
| setConstraintName | back to summary |
|---|---|
| public void setConstraintName(String constraintName) | |
| setDeleteAction | back to summary |
|---|---|
| public void setDeleteAction(ConstraintActionType action) | |
| setIndex | back to summary |
|---|---|
| public void setIndex(Index index) | |
| setIndexColumns | back to summary |
|---|---|
| public void setIndexColumns(IndexColumn[] indexColumns) | |
| setNullsDistinct | back to summary |
|---|---|
| public void setNullsDistinct(NullsDistinct nullsDistinct) | |
| setPrimaryKeyHash | back to summary |
|---|---|
| public void setPrimaryKeyHash(boolean b) | |
| setRefIndex | back to summary |
|---|---|
| public void setRefIndex(Index refIndex) | |
| setRefIndexColumns | back to summary |
|---|---|
| public void setRefIndexColumns(IndexColumn[] indexColumns) | |
| setRefTableName | back to summary |
|---|---|
| public void setRefTableName(Schema refSchema, String ref) Set the referenced table. | |
| setUpdateAction | back to summary |
|---|---|
| public void setUpdateAction(ConstraintActionType action) | |
| tryUpdate | back to summary |
|---|---|
| private int tryUpdate(Table table) Try to execute the statement.
| |
| update | back to summary |
|---|---|
| public long update(Table table) Implements abstract org.
| |