org.apache.derby.impl.sql.execute
Class ConstantActionActivation
java.lang.Object
org.apache.derby.impl.sql.execute.BaseActivation
org.apache.derby.impl.sql.execute.ConstantActionActivation
- All Implemented Interfaces:
- Activation, CursorActivation, GeneratedByteCode
- public final class ConstantActionActivation
- extends BaseActivation
A pre-compiled activation that supports a single ResultSet with
a single constant action. All the execution logic is contained
in the constant action.
Fields inherited from class org.apache.derby.impl.sql.execute.BaseActivation |
closed, cm, dvFactory, ec, exFactory, indexOfSessionTableNamesInSavedObjects, lcc, numSubqueries, parentResultSets, preStmt, pvs, raParentResultSets, resultDescription, resultSet, row, rsFactory |
Methods inherited from class org.apache.derby.impl.sql.execute.BaseActivation |
addWarning, allocateQualArray, checkIfThisActivationHasHoldCursor, checkPositionedStatement, checkStatementValidity, clearCurrentRow, clearHeapConglomerateController, clearIndexScanInfo, clearParentResultSets, clearResultSet, clearWarnings, close, closeActivationAction, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, getAutoGeneratedKeysColumnIndexes, getAutoGeneratedKeysColumnNames, getAutoGeneratedKeysResultsetMode, getCalendar, getColumnFromRow, getConstantAction, getContextManager, getCurrentConnection, getCursorName, getCursorResultSet, getDataValueFactory, getDB2Length, getDDLTableDescriptor, getDynamicResults, getExecutionContext, getExecutionFactory, getForCreateTable, getForUpdateIndexScan, getGC, getHeapConglomerateController, getIndexConglomerateNumber, getIndexScanController, getLanguageConnectionContext, getMaxDynamicResults, getMaxRows, getMethod, getNumSubqueries, getParameterValueSet, getParentResultSet, getParentResultSets, getPreparedStatement, getResultDescription, getResultSet, getResultSetFactory, getResultSetHoldability, getRowLocationTemplate, getScrollable, getSetAutoincrementValue, getTargetResultSet, getTargetVTI, getTransactionController, getWarnings, informOfRowCount, initFromContext, isClosed, isCursorActivation, isInUse, isSingleExecution, markUnused, materializeResultSetIfPossible, nullToPrimitiveTest, reinitializeQualifiers, reset, setAutoGeneratedKeysResultsetInfo, setColumnPosition, setCurrentRow, setCursorName, setDDLTableDescriptor, setForCreateTable, setForUpdateIndexScan, setGC, setHeapConglomerateController, setIndexConglomerateNumber, setIndexScanController, setMaxRows, setParameters, setParameterValueSet, setParentResultSet, setQualifier, setResultSetHoldability, setSingleExecution, setTargetVTI, setupActivation, startExecution, throwIfClosed, throwIfMissingParms |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantActionActivation
public ConstantActionActivation()
getExecutionCount
public int getExecutionCount()
- Specified by:
getExecutionCount
in class BaseActivation
setExecutionCount
public void setExecutionCount(int count)
- Specified by:
setExecutionCount
in class BaseActivation
getRowCountCheckVector
public java.util.Vector getRowCountCheckVector()
- Specified by:
getRowCountCheckVector
in class BaseActivation
setRowCountCheckVector
public void setRowCountCheckVector(java.util.Vector v)
- Specified by:
setRowCountCheckVector
in class BaseActivation
getStalePlanCheckInterval
public int getStalePlanCheckInterval()
- Specified by:
getStalePlanCheckInterval
in class BaseActivation
setStalePlanCheckInterval
public void setStalePlanCheckInterval(int count)
- Specified by:
setStalePlanCheckInterval
in class BaseActivation
execute
public ResultSet execute()
throws StandardException
- Description copied from interface:
Activation
- When the prepared statement is executed, it passes
execution on to the activation execution was requested for.
- Returns:
- the ResultSet for further manipulation, if any.
- Throws:
StandardException
- Thrown on failure
postConstructor
public void postConstructor()
- Description copied from interface:
GeneratedByteCode
- Called by the class manager just after calling setGC().
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.