| Modifier and Type | Field and Description |
|---|---|
| public BaseActivation | |
| pack-priv GeneratedClass | |
| private final LanguageConnectionContext | |
| pack-priv DataTypeDescriptor[] | |
| pack-priv ExecPreparedStatement |
| Access | Constructor and Description |
|---|---|
| pack-priv | GenericActivationHolder(LanguageConnectionContext lcc, GeneratedClass
The GeneratedClass of the Activation gc, ExecPreparedStatement The PreparedStatement this ActivationHolder is associated
with ps, boolean scrollable)Constructor for an ActivationHolder |
| Modifier and Type | Method and Description |
|---|---|
| public void | addWarning(SQLWarning
The next warning to chain to the end of the list w)Implements org. Add a warning to the activation |
| public boolean | Returns: true if this activation has held cursor and if it references the passed temp table nameA table name tableName)Implements org. Temporary tables can be declared with ON COMMIT DELETE ROWS. |
| public void | checkStatementValidity()
Implements org. Check the validity of the current executing statement. |
| public void | clearCurrentRow(int
The resultSetNumber for the current ResultSet resultSetNumber)Implements org. Generated plans have a current row field for ease in defining the methods and finding them dynamically. |
| public void | clearHeapConglomerateController()
Implements org. Clear the ConglomerateController to be used for an update or delete. |
| public void | clearIndexScanInfo()
Implements org. Clear the info for the index to be re-used for update/delete. |
| public void | |
| public void | clearWarnings()
Implements org. Clear the activation's warnings. |
| public void | close()
Implements org. Closing an activation statement marks it as unusable. |
| public ResultSet | execute()
Implements org. When the prepared statement is executed, it passes execution on to the activation execution was requested for. |
| public int[] | getAutoGeneratedKeysColumnIndexes()
Implements org. Returns the column positions array of columns requested in auto-generated keys resultset for this avtivation. |
| public String[] | getAutoGeneratedKeysColumnNames()
Implements org. Returns the column names array of columns requested in auto-generated keys resultset for this avtivation. |
| public boolean | getAutoGeneratedKeysResultsetMode()
Implements org. Returns true if auto-generated keys resultset request was made for this avtivation. |
| public String | getClassType()
Implements org. Get the unique class id for the Dependable. |
| public ConstantAction | getConstantAction()
Implements org. Get the top ConstantAction on the stack without changing the stack. |
| public Row | getCurrentRow(int
Index into list of result sets resultSetNumber)Implements org. Get the current row at the given index. |
| public NumberDataValue | getCurrentValueAndAdvance(String
The string value of the sequence's UUID sequenceUUIDstring, int The format id of the data type to be returned. E.g., StoredFormatIds.SQL_INTEGER_ID. typeFormatID)Implements org. Called by generated code to get the next number in an ANSI/ISO sequence and advance the sequence. |
| public String | getCursorName()
Implements org. Return the cursor name of this activation. |
| public DataValueFactory | getDataValueFactory()
Implements org. Get the DataValueFactory |
| public TableDescriptor | getDDLTableDescriptor()
Implements org. Get the TableDescriptor for the target of DDL. |
| public DependableFinder | getDependableFinder()
Implements org. Get an object which can be written to disk and which, when read from disk, will find or reconstruct this in-memory Dependable. |
| public ResultSet[][] | getDynamicResults()
Implements org. Return the set of dynamical created result sets, for procedures. |
| public ExecutionFactory | getExecutionFactory()
Implements org. Get the ExecutionFactory |
| public boolean | getForCreateTable()
Implements org. Get whether or not this activation is for create table. |
| public CursorResultSet | |
| public ConglomerateController | getHeapConglomerateController()
Implements org. Get the ConglomerateController, if any, that has already been opened for the heap when scaning for an update or delete. |
| public long | getIndexConglomerateNumber()
Implements org. Get the conglomerate number of the index, if any, that has already been opened for scaning for an update or delete. |
| public ScanController | getIndexScanController()
Implements org. Get the ScanController, if any, that has already been opened for the index when scaning for an update or delete. |
| public LanguageConnectionContext | getLanguageConnectionContext()
Implements org. Get the language connection context associated with this activation |
| public int | getMaxDynamicResults()
Implements org. Return the maximum number of dynamical created result sets from the procedure definition. |
| public long | |
| public int | Returns: int The number of subqueries in the entire query.Implements org. Get the number of subqueries in the entire query. |
| public UUID | getObjectID()
Implements org. Get the UUID of this Dependable OBJECT. |
| public String | getObjectName()
Implements org. Get the name of this Dependable OBJECT. |
| public ParameterValueSet | getParameterValueSet()
Implements org. Gets the ParameterValueSet for this execution of the statement. |
| public Activation | getParentActivation()
Implements org. This activation is created in a dynamic call context, or substatement execution context; get its caller's or superstatement's activation. |
| public Vector | getParentResultSet(String
An handle on the result set resultSetId)Implements org. get the reference to parent table ResultSets, that will be needed by the referential action dependent table scans. |
| public Enumeration | |
| public ExecPreparedStatement | getPreparedStatement()
Implements org. Get the prepared statement that this activation is for. |
| public ResultDescription | getResultDescription()
Implements org. Get the result description for this activation, if it has one. |
| public ResultSet | Returns: the current ResultSet of this activation.Implements org. Returns the current result set for this activation, i.e. the one returned by the last execute() call. |
| public boolean | getResultSetHoldability()
Implements org. Return the holdability of this activation. |
| public RowLocation | getRowLocationTemplate(int
The saved item number. itemNumber)Implements org. Get the saved RowLocation. |
| public SQLSessionContext | getSQLSessionContextForChildren()
Implements org. Get the current SQL session context if in a nested connection of a stored routine or in a substatement. |
| public ResultSet | getTargetVTI()
Implements org. Get the ResultSet for the target of an update/delete to a VTI. |
| public TransactionController | getTransactionController()
Implements org. Get the Execution TransactionController associated with this activation/lcc. |
| public SQLWarning | getWarnings()
Implements org. Returns the chained list of warnings. |
| public void | informOfRowCount(NoPutResultSet
The result set to inform on resultSet, long The number of rows found in that result set rowCount)Implements org. Tell this activation that the given ResultSet was found to have the given number of rows. |
| public boolean | isClosed()
Implements org. Find out if the activation is closed or not. |
| public boolean | isCursorActivation()
Implements org. Is this Activation for a cursor? |
| public boolean | Returns: true/falseImplements org. Is the activation in use? |
| public boolean | isPersistent()
Implements org. Return whether or not this Dependable is persistent. |
| public boolean | isSingleExecution()
Implements org. Is the activation set up for a single execution. |
| public boolean | isValid()
Implements org. Check that all of the dependent's dependencies are valid. |
| public void | makeInvalid(int
The action causing the invalidation action, LanguageConnectionContext The LanguageConnectionContext lcc)Implements org. Mark the dependent as invalid (due to at least one of its dependencies being invalid). |
| public void | markUnused()
Implements org. Mark the activation as unused. |
| public ConstantAction | popConstantAction()
Implements org. Pop the ConstantAction stack, returning the element which was just popped off the stack. |
| public void | prepareToInvalidate(Provider
the provider p, int The action causing the invalidation action, LanguageConnectionContext The LanguageConnectionContext lcc)Implements org. Prepare to mark the dependent as invalid (due to at least one of its dependencies being invalid). |
| public ConstantAction | pushConstantAction(ConstantAction
The new constant action to push newConstantAction)Implements org. Push a ConstantAction to be returned by getConstantAction(). |
| public void | reset()
Implements org. Resets the activation to the "pre-execution" state - that is, the state where it can be used to begin a new execution. |
| public void | setAutoGeneratedKeysResultsetInfo(int[]
Request specific columns in auto-generated keys
resultset by passing column positions. null means no specific columns
requested by position columnIndexes, String[] Request specific columns in auto-generated keys
resultset by passing column names. null means no specific columns
requested by position columnNames)Implements org. Set the auto-generated keys resultset mode to true for this activation. |
| public void | setCurrentRow(ExecRow
The row to be operated upon. currentRow, int The resultSetNumber for the current ResultSet resultSetNumber)Implements org. Generated plans have a current row field for ease in defining the methods and finding them dynamically. |
| public void | setCursorName(String
The cursor name to use. cursorName)Implements org. JDBC requires that all select statements be converted into cursors, and that the cursor name be settable for each execution of a select statement. |
| public void | setDDLTableDescriptor(TableDescriptor
The table descriptor for the target of the DDL td)Implements org. Save the TableDescriptor for the target of DDL so that it can be passed between the various ConstantActions during execution. |
| public void | setForCreateTable()
Implements org. Mark the Activation as being for create table. |
| public void | setForUpdateIndexScan(CursorResultSet
An updatable result set forUpdateResultSet)Implements org. beetle 3865: updateable cursor using index. |
| public void | setHeapConglomerateController(ConglomerateController
The ConglomerateController to reuse for the update or delete. updateHeapCC)Implements org. Set the ConglomerateController to be used for an update or delete. |
| public void | setIndexConglomerateNumber(long
The conglomerate number of the index to reuse for the update or delete. indexConglomerateNumber)Implements org. Set the conglomerate number of the index to be used for an update or delete, when scanning an index that will also be updated (Saves opening the ScanController twice.) |
| public void | setIndexScanController(ScanController
The ScanController to reuse for the update or delete. indexSC)Implements org. Set the ScanController to be used for an update or delete, when scanning an index that will also be updated (Saves opening the ScanController twice.) |
| public void | setMaxRows(long
Maximum # of rows. (0 means no limit.) maxRows)Implements org. Set the maximum # of rows. |
| public void | setParameters(ParameterValueSet
The values of the parameters. parameterValues, DataTypeDescriptor[] Their types parameterTypes)Implements org. Sets the parameter values for this execution of the statement. |
| public void | setParentActivation(Activation
The parent activation a)Implements org. This activation is created in a dynamic call context or a substatement execution context, chain its parent statements activation. |
| public void | setParentResultSet(TemporaryRowHolder rs, String resultSetId)
Implements org.
|
| public void | setResultSetHoldability(boolean
The new resultset holdability. resultSetHoldability)Implements org. Set current resultset holdability. |
| public void | setSingleExecution()
Implements org. Set the activation for a single execution. |
| public void | setTargetVTI(ResultSet
The result set which is the target of an updatable VTI targetVTI)Implements org. Save the ResultSet for the target of an update/delete to a VTI. |
| public SQLSessionContext | setupSQLSessionContextForChildren(boolean
true if used to push a new connection context push)Implements org. Set up and return the current SQL session context for all immediately nested connections stemming from the call or function invocation of the statement corresponding to this activation (push=true) or for a substatement, which shares the parents statement's session context (push=false). |