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
public abstract class CursorActivation extends BaseActivation
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 Constructor Description CursorActivation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) ResultSetdecorateResultSet()Create the ResultSet tree for this statement, and possibly perform extra checks or initialization required by specific sub-classes.booleanisCursorActivation()Is this Activation for a cursor?voidsetCursorName(java.lang.String cursorName)remember the cursor name-
Methods 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
-
-
-
-
Method Detail
-
setCursorName
public void setCursorName(java.lang.String cursorName)
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:
Activation.isCursorActivation()
-
decorateResultSet
ResultSet decorateResultSet() throws StandardException
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:
BaseActivation.decorateResultSet()
-
-