Class CursorActivation
java.lang.Object
org.apache.derby.impl.sql.execute.BaseActivation
org.apache.derby.impl.sql.execute.CursorActivation
- All Implemented Interfaces:
Dependable, GeneratedByteCode, Activation, Dependent, CursorActivation
In the family of activation support classes,
this one provides an activation with a cursor name.
-
Field Summary
Fields inherited from class BaseActivation
closed, cm, indexOfSessionTableNamesInSavedObjects, numSubqueries, parentResultSets, preStmt, pvs, raParentResultSets, resultDescription, resultSet, row, UUIDString, UUIDValueFields inherited from interface Dependable
ACTIVATION, ALIAS, COLUMNS_IN_TABLE, COLUMNS_PERMISSION, CONGLOMERATE, CONSTRAINT, DEFAULT, FILE, HEAP, INDEX, PERM, PREPARED_STATEMENT, ROLE_GRANT, ROUTINE_PERMISSION, SCHEMA, SEQUENCE, STORED_PREPARED_STATEMENT, TABLE, TABLE_PERMISSION, TRIGGER, VIEW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) ResultSetCreate the ResultSet tree for this statement, and possibly perform extra checks or initialization required by specific sub-classes.booleanIs this Activation for a cursor?voidsetCursorName(String cursorName) remember the cursor nameMethods inherited from class BaseActivation
addWarning, allocateQualArray, checkIfThisActivationHasHoldCursor, checkPositionedStatement, checkStatementValidity, clearCurrentRow, clearHeapConglomerateController, clearIndexScanInfo, clearParentResultSets, clearWarnings, close, closeActivationAction, createResultSet, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, execute, 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, getMonitor, getNumSubqueries, getObjectID, getObjectName, getParameter, getParameterValueSet, getParentActivation, getParentResultSet, getParentResultSetKeys, getPreparedStatement, getResultDescription, getResultSet, getResultSetFactory, getResultSetHoldability, getRowLocationTemplate, getScrollable, getSetAutoincrementValue, getSQLSessionContextForChildren, getTargetResultSet, getTargetVTI, getTransactionController, getWarnings, informOfRowCount, initFromContext, isClosed, isInUse, isPersistent, isSingleExecution, isValid, makeInvalid, markUnused, materializeResultSetIfPossible, nullToPrimitiveTest, popConstantAction, prepareToInvalidate, pushConstantAction, reinit, reinitializeQualifiers, reset, setAutoGeneratedKeysResultsetInfo, setColumnPosition, setCurrentRow, setDDLTableDescriptor, setForCreateTable, setForUpdateIndexScan, setGC, setHeapConglomerateController, setIndexConglomerateNumber, setIndexScanController, setMaxRows, setParameters, setParameterValueSet, setParentActivation, setParentResultSet, setQualifier, setResultSetHoldability, setSingleExecution, setTargetVTI, setupActivation, setupSQLSessionContextForChildren, shouldWeCheckRowCounts, throwIfClosed, throwIfMissingParmsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GeneratedByteCode
postConstructor
-
Constructor Details
-
CursorActivation
public CursorActivation()
-
-
Method Details
-
setCursorName
remember the cursor name- Specified by:
setCursorNamein interfaceActivation- Overrides:
setCursorNamein classBaseActivation- Parameters:
cursorName- The cursor name to use.
-
isCursorActivation
public boolean isCursorActivation()Description copied from interface:ActivationIs this Activation for a cursor?- Specified by:
isCursorActivationin interfaceActivation- Overrides:
isCursorActivationin classBaseActivation- Returns:
- Whether or not this Activation is for a cursor.
- See Also:
-
decorateResultSet
Description copied from class:BaseActivationCreate the ResultSet tree for this statement, and possibly perform extra checks or initialization required by specific sub-classes.- Overrides:
decorateResultSetin classBaseActivation- Returns:
- the root of the ResultSet tree for this statement
- Throws:
StandardException- See Also:
-