| Modifier and Type | Field and Description |
|---|---|
| private int[] | |
| private String[] | |
| private boolean | |
| private Calendar | |
| private boolean | |
| protected boolean | |
| protected ContextManager | |
| private Stack | constantActionStack
Stack of ConstantActions. |
| private String | |
| private TableDescriptor | |
| private boolean | |
| private CursorResultSet | |
| private GeneratedClass | |
| private long | |
| protected int | |
| private ScanController | |
| private volatile boolean | |
| private boolean | isValid
By setting isValid to false, we can force a new activation to be used even if the prepared statement is still valid. |
| private LanguageConnectionContext | |
| private static final long | |
| private long | |
| protected int | |
| private Activation | parentActivation
The 'parentActivation' of an activation of a statement executing in the root connection is null. |
| protected Hashtable | |
| protected ExecPreparedStatement | |
| protected ParameterValueSet | |
| protected CursorResultSet[] | |
| protected ResultDescription | |
| protected ResultSet | |
| private boolean | |
| protected ExecRow[] | |
| private HashSet | |
| private boolean | |
| private boolean | |
| private SQLSessionContext | sqlSessionContextForChildren
The SQL session context to be used inside a nested connection in a stored routine or in a substatement. |
| private ResultSet | |
| private static final int | |
| private ConglomerateController | |
| protected String | UUIDString
For dependency tracking |
| protected UUID | UUIDValue
For dependency tracking |
| private SQLWarning |
| Access | Constructor and Description |
|---|---|
| protected |
| 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 static void | allocateQualArray(Qualifier[][]
The array of Qualifier arrays. qualifiers, int The position in the array to set position, int The array length of the qualifier array to allocate. length)Allocate an array of qualifiers and initialize in Qualifier[][] |
| 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. |
| protected void | checkPositionedStatement(String
Name of the cursor cursorName, String Object name of the PreparedStatement. psName)Check that a positioned statement is executing against a cursor from the same PreparedStatement (plan) that the positioned statement was original compiled against. |
| public final 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. Clear the current row for the specified ResultSet. |
| 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 | clearParentResultSets()
Implements org. prepared statement use the same activation for multiple execution. |
| public void | clearWarnings()
Implements org. Clear the activation's warnings. |
| public final void | close()
Implements org. Closing an activation marks it as unusable. |
| protected void | closeActivationAction()
A generated class can create its own closeActivationAction method to invoke special logic when the activation is closed. |
| protected abstract ResultSet | Returns: the root of the ResultSet tree for this statementCreate the ResultSet tree for this statement. |
| pack-priv ResultSet | Returns: the root of the ResultSet tree for this statementCreate the ResultSet tree for this statement, and possibly perform extra checks or initialization required by specific sub-classes. |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public final 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. |
| protected Calendar | |
| public String | getClassType()
Implements org. Get the unique class id for the Dependable. |
| protected final DataValueDescriptor | |
| public ConstantAction | getConstantAction()
Implements org. Get the top ConstantAction on the stack without changing the stack. |
| public ContextManager | |
| public Connection | |
| public Row | getCurrentRow(int
Index into list of result sets resultSetNumber)Implements org. Get the current row at the given index. |
| public NumberDataValue | Returns: The next number in the sequenceThe 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 | |
| public CursorResultSet | Returns: nullImplements org. Used in CurrentOfResultSet to get to the cursor result set for a cursor. |
| public DataValueFactory | getDataValueFactory()
Implements org. Used by activations to generate data values. |
| public NumberDataValue | Returns: the DB2 compatible length, set to null if value is null.The length, if it is a constant modulo null/not null. -1 if the length is not constant constantLength, NumberDataValue If non-null then re-use this as a container for the length reUse)Compute the DB2 compatible length of a value. |
| 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. Real implementations of this method are provided by a generated class. |
| public final ExecutionFactory | getExecutionFactory()
Implements org. Used in activations for generating rows. |
| public boolean | getForCreateTable()
Implements org. Get whether or not this activation is for create table. |
| public CursorResultSet | |
| public final GeneratedClass | getGC()
Implements org. Get the GeneratedClass object for this object. |
| 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 final LanguageConnectionContext | getLanguageConnectionContext()
Implements org. Get the language connection factory associated with this connection |
| public int | getMaxDynamicResults()
Implements org. Real implementations of this method are provided by a generated class. |
| public long | |
| public final GeneratedMethod | getMethod(String methodName)
Implements org.
|
| pack-priv static ModuleFactory | |
| 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. |
| protected final DataValueDescriptor | getParameter(int position)
This method can help reduce the amount of generated code by changing instances of this.pvs.getParameter(position) to this.getParameter(position) |
| public ParameterValueSet | getParameterValueSet()
Implements org. return the parameters. |
| public Activation | Returns: The parent's activationImplements org. Get the activation of the calling statement or parent statement. |
| 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 final 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 | getResultSet()
Implements org. Returns the current result set for this activation, i.e. the one returned by the last execute() call. |
| public final ResultSetFactory | getResultSetFactory()
Used in the execute method of activations for generating the result sets that they concatenate together. |
| public boolean | getResultSetHoldability()
Implements org. Return the holdability of this activation. |
| public RowLocation | Returns: A RowLocation template for the conglomerateThe saved item number. itemNumber)Implements org. Get the saved RowLocation. |
| public final boolean | |
| protected DataValueDescriptor | Returns: The next autoincrement value which should be inserted. returns the correct number datatype.Called by generated code to compute the next autoincrement value. |
| public SQLSessionContext | getSQLSessionContextForChildren()
Implements org. 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. |
| public CursorResultSet | Returns: null.Implements org. Used in CurrentOfResultSet to get to the target result set for a cursor. |
| public ResultSet | getTargetVTI()
Implements org. Get the ResultSet for the target of an update/delete to a VTI. |
| public final 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 currentRowCount)Implements org. Tell this activation that the given ResultSet was found to have the given number of rows. |
| public final void | initFromContext(Context
The context to use context)Implements org. Initialize the generated class from a context. |
| public boolean | Returns: true if the prepared statement has been closed.Implements org. Find out if the activation closed or not. |
| public boolean | isCursorActivation()
Implements org. Is this Activation for a cursor? |
| public final 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. Returns true if this Activation is only going to be used for one 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 final void | markUnused()
Implements org. Mark the activation as unused. |
| public NoPutResultSet | |
| protected static void | |
| 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(). |
| protected void | reinit()
Reinitialize data structures added by the sub-classes before each execution of the statement. |
| public static void | reinitializeQualifiers(Qualifier[][]
The array of Qualifiers qualifiers)Reinitialize all Qualifiers in an array of Qualifiers. |
| public void | reset()
Implements org. This is a partial implementation of reset. |
| 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 static void | setColumnPosition(int[]
The array of column positions columnPositions, int The place to put the column position positionToSet, int The column position column)Set a column position in an array of column positions. |
| public void | setCurrentRow(ExecRow
The row to be operated upon. currentRow, int The resultSetNumber for the current ResultSet resultSetNumber)Implements org. Remember the row for the specified ResultSet. |
| public void | setCursorName(String
The cursor name to use. cursorName)Implements org. remember the cursor name |
| 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 forUpdateIndexScan)Implements org. beetle 3865: updateable cursor using index. |
| public final void | setGC(GeneratedClass
A generated class gc)Implements org. Set the Generated Class. |
| 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. |
| protected final void | |
| public void | setParentActivation(Activation
The caller's or superstatement's activation a)Implements org. This activation is created in a dynamic call context or a substatement execution context, make note of its parent statements activation (a). |
| public void | setParentResultSet(TemporaryRowHolder rs, String resultSetId)
Implements org.
|
| public static void | setQualifier(Qualifier[][]
The array of Qualifiers qualifiers, Qualifier The Qualifier qualifier, int The Nth array index into qualifiers[N][M] position_1, int The Nth array index into qualifiers[N][M] position_2)Set a Qualifier in a 2 dimensional array of Qualifiers. |
| public void | setResultSetHoldability(boolean
The new resultset holdability. resultSetHoldability)Implements org. Set current resultset holdability. |
| public void | setSingleExecution()
Implements org. Set this 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 final void | setupActivation(ExecPreparedStatement
prepared statement ps, boolean activation for a scrollable result set scrollable)Link this activation with its PreparedStatement. |
| 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). |
| protected boolean | Returns: true if the row counts should be checked, false otherwiseFind out if it's time to check the row counts of the tables involved in this query. |
| public void | throwIfClosed(String op)
Various activation methods need to disallow their invocation if the activation is closed.</verbatim></verbatim> |
| public void |