|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.impl.sql.execute.GenericConstantAction
org.apache.derby.impl.sql.execute.DDLConstantAction
Abstract class that has actions that are across all DDL actions.
| Field Summary |
| Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction |
RUNTIMESTATISTICS, STATISTICSTIMING |
| Constructor Summary | |
DDLConstantAction()
|
|
| Method Summary | |
protected java.lang.String |
constructToString(java.lang.String statementType,
java.lang.String objectName)
|
(package private) static SchemaDescriptor |
getAndCheckSchemaDescriptor(DataDictionary dd,
UUID schemaId,
java.lang.String statementType)
Get the schema descriptor for the schemaid. |
(package private) static SchemaDescriptor |
getSchemaDescriptorForCreate(DataDictionary dd,
Activation activation,
java.lang.String schemaName)
Get the schema descriptor in the creation of an object in the passed in schema. |
(package private) void |
lockTableForDDL(TransactionController tc,
long heapConglomerateNumber,
boolean exclusiveMode)
Lock the table in exclusive or share mode to prevent deadlocks. |
boolean |
modifiesTableId(UUID tableId)
Does this constant action modify the passed in table uuid? |
void |
readExternal(java.io.ObjectInput in)
|
boolean |
upToDate()
Reports whether these constants are up-to-date. |
void |
writeExternal(java.io.ObjectOutput out)
|
| 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 |
| Constructor Detail |
public DDLConstantAction()
| Method Detail |
static SchemaDescriptor getAndCheckSchemaDescriptor(DataDictionary dd,
UUID schemaId,
java.lang.String statementType)
throws StandardException
dd - the data dictionaryschemaId - the schema idstatementType - string describing type of statement for error
reporting. e.g. "ALTER STATEMENT"
StandardException - if schema is system schema
static SchemaDescriptor getSchemaDescriptorForCreate(DataDictionary dd,
Activation activation,
java.lang.String schemaName)
throws StandardException
dd - the data dictionaryactivation - activationschemaName - name of the schema
StandardException - if the schema does not exist
final void lockTableForDDL(TransactionController tc,
long heapConglomerateNumber,
boolean exclusiveMode)
throws StandardException
tc - The TransactionControllerheapConglomerateNumber - The conglomerate number for the heap.exclusiveMode - Whether or not to lock the table in exclusive mode.
StandardException - if schema is system schema
public boolean modifiesTableId(UUID tableId)
throws StandardException
modifiesTableId in interface ConstantActionmodifiesTableId in class GenericConstantActiontableId - the table id
StandardException - on error
protected java.lang.String constructToString(java.lang.String statementType,
java.lang.String objectName)
public final void readExternal(java.io.ObjectInput in)
public final void writeExternal(java.io.ObjectOutput out)
public final boolean upToDate()
throws StandardException
upToDate in interface ConstantActionStandardException
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||