| java.lang.Object org.apache.derby.impl.sql.execute.GenericConstantAction org.apache.derby.impl.sql.execute.DDLConstantAction org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction org.apache.derby.impl.sql.execute.IndexConstantAction org.apache.derby.impl.sql.execute.CreateIndexConstantAction
CreateIndexConstantAction | class CreateIndexConstantAction extends IndexConstantAction (Code) | | This class describes actions that are ALWAYS performed for a
CREATE TABLE Statement at Execution time.
author: Jeff Lichtman Cribbed from from CreateTableConstantAction |
Constructor Summary | |
| CreateIndexConstantAction(boolean unique, String indexType, String schemaName, String indexName, String tableName, UUID tableId, long conglomId, String[] columnNames, boolean[] isAscending, boolean isConstraint, UUID conglomerateUUID, Properties properties) Make the ConstantAction for a CREATE INDEX statement. |
CreateIndexConstantAction | CreateIndexConstantAction(boolean unique, String indexType, String schemaName, String indexName, String tableName, UUID tableId, long conglomId, String[] columnNames, boolean[] isAscending, boolean isConstraint, UUID conglomerateUUID, Properties properties)(Code) | | Make the ConstantAction for a CREATE INDEX statement.
Parameters: unique - True means it will be a unique index Parameters: indexType - The type of index (BTREE, for example) Parameters: schemaName - the schema that table (and index) lives in. Parameters: indexName - Name of the index Parameters: tableName - Name of table the index will be on Parameters: tableId - UUID of table Parameters: conglomId - Conglomerate ID of the index, if known in advance Parameters: columnNames - Names of the columns in the index, in order Parameters: isAscending - Array of booleans telling asc/desc on each column Parameters: isConstraint - TRUE if index is backing up a constraint, else FALSE Parameters: conglomerateUUID - ID of conglomerate Parameters: properties - The optional properties list associated with the index. |
Fields inherited from org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction | protected UUID tableId(Code)(Java Doc)
|
Methods inherited from org.apache.derby.impl.sql.execute.DDLConstantAction | protected String constructToString(String statementType, String objectName)(Code)(Java Doc) static SchemaDescriptor getAndCheckSchemaDescriptor(DataDictionary dd, UUID schemaId, String statementType) throws StandardException(Code)(Java Doc) static SchemaDescriptor getSchemaDescriptorForCreate(DataDictionary dd, Activation activation, String schemaName) throws StandardException(Code)(Java Doc) final void lockTableForDDL(TransactionController tc, long heapConglomerateNumber, boolean exclusiveMode) throws StandardException(Code)(Java Doc) protected void storeConstraintDependenciesOnPrivileges(Activation activation, Dependent dependent, UUID refTableUUID) throws StandardException(Code)(Java Doc) protected void storeViewTriggerDependenciesOnPrivileges(Activation activation, Dependent dependent) throws StandardException(Code)(Java Doc)
|
|
|