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 booleanforTableprivate java.lang.StringfullTableNameprivate java.lang.StringobjectNameprivate SchemaDescriptorsd-
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 voidexecuteConstantAction(Activation activation)Run the ConstantAction.java.lang.StringtoString()-
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:ConstantActionRun the ConstantAction.- Parameters:
activation- The execution environment for this constant action.- Throws:
StandardException- Thrown on failure
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-