1 21 22 package org.apache.derby.impl.sql.execute; 23 24 import org.apache.derby.iapi.services.sanity.SanityManager; 25 import org.apache.derby.iapi.error.StandardException; 26 import org.apache.derby.iapi.sql.conn.LanguageConnectionContext; 27 28 import org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor; 29 import org.apache.derby.iapi.sql.dictionary.ConstraintDescriptor; 30 import org.apache.derby.iapi.sql.dictionary.DataDescriptorGenerator; 31 import org.apache.derby.iapi.sql.dictionary.DataDictionary; 32 import org.apache.derby.iapi.sql.dictionary.DataDictionaryContext; 33 import org.apache.derby.iapi.sql.dictionary.SchemaDescriptor; 34 import org.apache.derby.iapi.sql.dictionary.TableDescriptor; 35 36 import org.apache.derby.iapi.sql.execute.ConstantAction; 37 import org.apache.derby.iapi.store.access.TransactionController; 38 39 import org.apache.derby.catalog.UUID; 40 41 47 48 public abstract class IndexConstantAction extends DDLSingleTableConstantAction 49 { 50 51 String indexName; 52 String tableName; 53 String schemaName; 54 55 57 66 protected IndexConstantAction( 67 UUID tableId, 68 String indexName, 69 String tableName, 70 String schemaName) 71 { 72 super(tableId); 73 this.indexName = indexName; 74 this.tableName = tableName; 75 this.schemaName = schemaName; 76 77 if (SanityManager.DEBUG) 78 { 79 SanityManager.ASSERT(schemaName != null, "Schema name is null"); 80 } 81 } 82 83 85 90 public String getIndexName() { return indexName; } 91 92 98 public void setIndexName(String indexName) 99 { 100 this.indexName = indexName; 101 } 102 } 103 | Popular Tags |