public final class ConstantActionActivation extends BaseActivation
At compile time for DDL statements this class will be picked as the implementation of Activation. The language PreparedStatement will contain the ConstantAction created at compiled time. At execute time this class then fetches a language ResultSet using ResultSetFactory.getDDLResultSet and executing the ResultSet will invoke the execute on the ConstantAction.
closed, cm, datasetProcessorType, dvf, ignoreSequence, indexOfSessionTableNamesInSavedObjects, materialized, numSubqueries, parentResultSets, preStmt, pvs, raParentResultSets, resultDescription, resultSet, row, scanKeys, scanStartOverride, scanStopOverride, UUIDString, UUIDValue
ACTIVATION, ALIAS, COLUMNS_IN_TABLE, COLUMNS_PERMISSION, CONGLOMERATE, CONSTRAINT, DEFAULT, FILE, HEAP, INDEX, PERM, PREPARED_STATEMENT, ROLE_GRANT, ROUTINE_PERMISSION, SCHEMA, SCHEMA_PERMISSION, SEQUENCE, STORED_PREPARED_STATEMENT, TABLE, TABLE_PERMISSION, TRIGGER, VIEW
Constructor and Description |
---|
ConstantActionActivation() |
Modifier and Type | Method and Description |
---|---|
ResultSet |
execute()
When the prepared statement is executed, it passes
execution on to the activation execution was requested for.
|
int |
getExecutionCount() |
java.util.Vector |
getRowCountCheckVector() |
int |
getStalePlanCheckInterval() |
void |
materialize() |
void |
postConstructor()
Called by the class manager just after calling setGC().
|
void |
setExecutionCount(int count) |
void |
setRowCountCheckVector(java.util.Vector v) |
void |
setStalePlanCheckInterval(int count) |
addRowsSeen, addWarning, allocateQualArray, checkIfThisActivationHasHoldCursor, checkPositionedStatement, checkStatementValidity, clearCurrentRow, clearHeapConglomerateController, clearIndexScanInfo, clearParentResultSets, clearWarnings, close, closeActivationAction, datasetProcessorType, e0, e0ToString, e1, e1ToString, e2, e2ToString, e3, e3ToString, e4, e4ToString, e5, e5ToString, e6, e6ToString, e7, e7ToString, e8, e8ToString, e9, e9ToString, getAutoGeneratedKeysColumnIndexes, getAutoGeneratedKeysColumnNames, getAutoGeneratedKeysResultsetMode, getCalendar, getClassType, getColumnFromRow, getConstantAction, getContextManager, getCurrentConnection, getCurrentRow, getCurrentValueAndAdvance, getCursorName, getCursorResultSet, getDataValueFactory, getDB2Length, getDDLTableDescriptor, getDependableFinder, getDynamicResults, getExecutionFactory, getForCreateTable, getForUpdateIndexScan, getGC, getHeapConglomerateController, getIndexConglomerateNumber, getIndexScanController, getLanguageConnectionContext, getMaxDynamicResults, getMaxRows, getMethod, getNumSubqueries, getObjectID, getObjectName, getParameter, getParameterValueSet, getParentActivation, getParentResultSet, getParentResultSets, getPreparedStatement, getResultDescription, getResultSet, getResultSetFactory, getResultSetHoldability, getRowLocationTemplate, getRowsSeen, getScanKeys, getScanStartOverride, getScanStopOverride, getScrollable, getSetAutoincrementValue, getSQLSessionContextForChildren, getTargetResultSet, getTargetVTI, getTransactionController, getWarnings, ignoreSequence, initFromContext, isClosed, isCursorActivation, isInUse, isMaterialized, isPersistent, isSingleExecution, isValid, makeInvalid, markUnused, materializeResultSetIfPossible, nullToPrimitiveTest, prepareToInvalidate, reinitializeQualifiers, reset, setAutoGeneratedKeysResultsetInfo, setColumnPosition, setCurrentRow, setCursorName, setDatasetProcessorType, setDDLTableDescriptor, setForCreateTable, setForUpdateIndexScan, setGC, setHeapConglomerateController, setIgnoreSequence, setIndexConglomerateNumber, setIndexScanController, setMaxRows, setParameters, setParameterValueSet, setParentActivation, setParentResultSet, setQualifier, setResultSetHoldability, setScanKeys, setScanStartOverride, setScanStopOverride, setSingleExecution, setTargetVTI, setupActivation, setupSQLSessionContextForChildren, startExecution, throwIfClosed, throwIfMissingParms
public int getExecutionCount()
getExecutionCount
in class BaseActivation
public void setExecutionCount(int count)
setExecutionCount
in class BaseActivation
public java.util.Vector getRowCountCheckVector()
getRowCountCheckVector
in class BaseActivation
public void setRowCountCheckVector(java.util.Vector v)
setRowCountCheckVector
in class BaseActivation
public int getStalePlanCheckInterval()
getStalePlanCheckInterval
in class BaseActivation
public void setStalePlanCheckInterval(int count)
setStalePlanCheckInterval
in class BaseActivation
public ResultSet execute() throws StandardException
Activation
StandardException
- Thrown on failurepublic void postConstructor()
GeneratedByteCode
public void materialize() throws StandardException
StandardException