Class DropStatisticsConstantAction
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.DDLConstantAction
-
- org.apache.derby.impl.sql.execute.DropStatisticsConstantAction
-
- All Implemented Interfaces:
ConstantAction
class DropStatisticsConstantAction extends DDLConstantAction
this class drops all statistics for a particular table or index.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
forTable
private java.lang.String
fullTableName
private java.lang.String
objectName
private SchemaDescriptor
sd
-
Fields inherited from interface org.apache.derby.iapi.sql.execute.ConstantAction
WHEN_MATCHED_THEN_DELETE, WHEN_MATCHED_THEN_UPDATE, WHEN_NOT_MATCHED_THEN_INSERT
-
-
Constructor Summary
Constructors Constructor Description DropStatisticsConstantAction(SchemaDescriptor sd, java.lang.String fullTableName, java.lang.String objectName, boolean forTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeConstantAction(Activation activation)
Run the ConstantAction.java.lang.String
toString()
-
Methods inherited from class org.apache.derby.impl.sql.execute.DDLConstantAction
addColumnDependencies, adjustUDTDependencies, adjustUDTDependencies, constructToString, getAndCheckSchemaDescriptor, getSchemaDescriptorForCreate, lockTableForDDL, storeConstraintDependenciesOnPrivileges, storeViewTriggerDependenciesOnPrivileges
-
-
-
-
Field Detail
-
objectName
private final java.lang.String objectName
-
forTable
private final boolean forTable
-
sd
private final SchemaDescriptor sd
-
fullTableName
private final java.lang.String fullTableName
-
-
Constructor Detail
-
DropStatisticsConstantAction
DropStatisticsConstantAction(SchemaDescriptor sd, java.lang.String fullTableName, java.lang.String objectName, boolean forTable)
-
-
Method Detail
-
executeConstantAction
public void executeConstantAction(Activation activation) throws StandardException
Description copied from interface:ConstantAction
Run the ConstantAction.- Parameters:
activation
- The execution environment for this constant action.- Throws:
StandardException
- Thrown on failure
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-