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 org.apache.derby.impl.sql.execute.BaseActivation
closed, cm, indexOfSessionTableNamesInSavedObjects, numSubqueries, parentResultSets, preStmt, pvs, raParentResultSets, resultDescription, resultSet, row, UUIDString, UUIDValue
Fields inherited from interface org.apache.derby.catalog.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) ResultSet
Create the ResultSet tree for this statement, and possibly perform extra checks or initialization required by specific sub-classes.boolean
Is this Activation for a cursor?void
setCursorName
(String cursorName) remember the cursor nameMethods inherited from class org.apache.derby.impl.sql.execute.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, throwIfMissingParms
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.derby.iapi.services.loader.GeneratedByteCode
postConstructor
-
Constructor Details
-
CursorActivation
public CursorActivation()
-
-
Method Details
-
setCursorName
remember the cursor name- Specified by:
setCursorName
in interfaceActivation
- Overrides:
setCursorName
in classBaseActivation
- Parameters:
cursorName
- The cursor name to use.
-
isCursorActivation
public boolean isCursorActivation()Description copied from interface:Activation
Is this Activation for a cursor?- Specified by:
isCursorActivation
in interfaceActivation
- Overrides:
isCursorActivation
in classBaseActivation
- Returns:
- Whether or not this Activation is for a cursor.
- See Also:
-
decorateResultSet
Description copied from class:BaseActivation
Create the ResultSet tree for this statement, and possibly perform extra checks or initialization required by specific sub-classes.- Overrides:
decorateResultSet
in classBaseActivation
- Returns:
- the root of the ResultSet tree for this statement
- Throws:
StandardException
- See Also:
-