org.apache.derby.impl.sql.execute
Class IndexConstantAction

java.lang.Object
  extended by org.apache.derby.impl.sql.execute.DDLConstantAction
      extended by org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
          extended by org.apache.derby.impl.sql.execute.IndexConstantAction
All Implemented Interfaces:
ConstantAction
Direct Known Subclasses:
CreateIndexConstantAction, DropIndexConstantAction

public abstract class IndexConstantAction
extends DDLSingleTableConstantAction

This class is the superclass for the classes that describe actions that are ALWAYS performed for a CREATE/DROP INDEX Statement at Execution time.


Field Summary
(package private)  java.lang.String indexName
           
(package private)  java.lang.String schemaName
           
(package private)  java.lang.String tableName
           
 
Fields inherited from class org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
tableId
 
Constructor Summary
protected IndexConstantAction(UUID tableId, java.lang.String indexName, java.lang.String tableName, java.lang.String schemaName)
          Make the ConstantAction for a CREATE/DROP INDEX statement.
 
Method Summary
 java.lang.String getIndexName()
          Get the index name.
 void setIndexName(java.lang.String indexName)
          Set the index name at execution time.
 
Methods inherited from class org.apache.derby.impl.sql.execute.DDLSingleTableConstantAction
dropConglomerate, dropConglomerate, dropConstraint, dropConstraint, dropConstraint, executeConglomReplacement, getConglomReplacementAction, recreateUniqueConstraintBackingIndexAsUniqueWhenNotNull
 
Methods inherited from class org.apache.derby.impl.sql.execute.DDLConstantAction
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
executeConstantAction
 

Field Detail

indexName

java.lang.String indexName

tableName

java.lang.String tableName

schemaName

java.lang.String schemaName
Constructor Detail

IndexConstantAction

protected IndexConstantAction(UUID tableId,
                              java.lang.String indexName,
                              java.lang.String tableName,
                              java.lang.String schemaName)
Make the ConstantAction for a CREATE/DROP INDEX statement.

Parameters:
tableId - The table uuid
indexName - Index name.
tableName - The table name
schemaName - Schema that index lives in.
Method Detail

getIndexName

public java.lang.String getIndexName()
Get the index name.

Returns:
the name of the index

setIndexName

public void setIndexName(java.lang.String indexName)
Set the index name at execution time. Useful for unnamed constraints which have a backing index.

Parameters:
indexName - The (generated) index name.

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.