Method Summary |
|
public void | addWarning(SQLWarning w) |
public static void | allocateQualArray(Qualifier[][] qualifiers, int position, int length) |
public boolean | checkIfThisActivationHasHoldCursor(String tableName) Temporary tables can be declared with ON COMMIT DELETE ROWS. |
protected void | checkPositionedStatement(String cursorName, String psName) |
final public void | checkStatementValidity() |
public void | clearCurrentRow(int resultSetNumber) Clear the current row for the specified ResultSet. |
public void | clearHeapConglomerateController() |
public void | clearIndexScanInfo() |
public void | clearParentResultSets() prepared statement use the same activation for
multiple execution. |
public void | clearResultSet() |
public void | clearWarnings() |
final public void | close() 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. |
public Object | e0() |
public Object | e1() |
public Object | e2() |
public Object | e3() |
public Object | e4() |
public Object | e5() |
public Object | e6() |
public Object | e7() |
public Object | e8() |
public Object | e9() |
public int[] | getAutoGeneratedKeysColumnIndexes() |
public String[] | getAutoGeneratedKeysColumnNames() |
public boolean | getAutoGeneratedKeysResultsetMode() |
protected java.util.Calendar | getCalendar() Return a calendar for use by this activation. |
final protected DataValueDescriptor | getColumnFromRow(int rsNumber, int colId) |
public ConstantAction | getConstantAction() |
public ContextManager | getContextManager() Get the Current ContextManager. |
public Connection | getCurrentConnection() Used to get a proxy for the current connection. |
public String | getCursorName() get the cursor name. |
public CursorResultSet | getCursorResultSet() Used in CurrentOfResultSet to get to the cursor result set
for a cursor. |
public NumberDataValue | getDB2Length(DataValueDescriptor value, int constantLength, NumberDataValue reUse) Compute the DB2 compatible length of a value.
Parameters: value - Parameters: constantLength - The length, if it is a constant modulo null/not null. |
public TableDescriptor | getDDLTableDescriptor() |
public DataValueFactory | getDataValueFactory() Used by activations to generate data values. |
public java.sql.ResultSet[][] | getDynamicResults() Real implementations of this method are provided by a generated class. |
ExecutionContext | getExecutionContext() Get the ExecutionContext. |
abstract protected int | getExecutionCount() |
public ExecutionFactory | getExecutionFactory() Used in activations for generating rows. |
public boolean | getForCreateTable() |
public CursorResultSet | getForUpdateIndexScan() |
final public GeneratedClass | getGC() |
public ConglomerateController | getHeapConglomerateController() |
public long | getIndexConglomerateNumber() |
public ScanController | getIndexScanController() |
final public LanguageConnectionContext | getLanguageConnectionContext() |
public int | getMaxDynamicResults() Real implementations of this method are provided by a generated class. |
public int | getMaxRows() |
final public GeneratedMethod | getMethod(String methodName) |
public int | getNumSubqueries() Get the number of subqueries in the entire query. |
final protected DataValueDescriptor | getParameter(int position) |
public ParameterValueSet | getParameterValueSet() return the parameters. |
public Vector | getParentResultSet(String resultSetId) get the reference to parent table ResultSets, that will be needed by the
referential action dependent table scans. |
public Hashtable | getParentResultSets() |
final public ExecPreparedStatement | getPreparedStatement() |
public ResultDescription | getResultDescription() |
public ResultSet | getResultSet() |
public ResultSetFactory | getResultSetFactory() Used in the execute method of activations for
generating the result sets that they concatenate together. |
public boolean | getResultSetHoldability() |
abstract protected Vector | getRowCountCheckVector() |
public RowLocation | getRowLocationTemplate(int itemNumber) Get the saved RowLocation. |
final public boolean | getScrollable() |
protected DataValueDescriptor | getSetAutoincrementValue(int columnPosition, long increment) |
abstract protected int | getStalePlanCheckInterval() |
public CursorResultSet | getTargetResultSet() Used in CurrentOfResultSet to get to the target result set
for a cursor. |
public java.sql.ResultSet | getTargetVTI() |
final public TransactionController | getTransactionController() |
public SQLWarning | getWarnings() |
public void | informOfRowCount(NoPutResultSet resultSet, long currentRowCount) |
final public void | initFromContext(Context context) |
public boolean | isClosed() Find out if the activation closed or not. |
public boolean | isCursorActivation() |
final public boolean | isInUse() |
public boolean | isSingleExecution() Returns true if this Activation is only going to be used for
one execution. |
final public void | markUnused() Mark the activation as unused. |
public NoPutResultSet | materializeResultSetIfPossible(NoPutResultSet rs) |
protected static void | nullToPrimitiveTest(DataValueDescriptor dvd, String primitiveType) |
public static void | reinitializeQualifiers(Qualifier[][] qualifiers) Reinitialize all Qualifiers in an array of Qualifiers. |
public void | reset() This is a partial implementation of reset. |
public void | setAutoGeneratedKeysResultsetInfo(int[] columnIndexes, String[] columnNames) |
public static void | setColumnPosition(int[] columnPositions, int positionToSet, int column) Set a column position in an array of column positions. |
public void | setCurrentRow(ExecRow currentRow, int resultSetNumber) Remember the row for the specified ResultSet. |
public void | setCursorName(String cursorName) |
public void | setDDLTableDescriptor(TableDescriptor td) |
abstract protected void | setExecutionCount(int newValue) |
public void | setForCreateTable() |
public void | setForUpdateIndexScan(CursorResultSet forUpdateIndexScan) beetle 3865: updateable cursor using index. |
final public void | setGC(GeneratedClass gc) |
public void | setHeapConglomerateController(ConglomerateController updateHeapCC) |
public void | setIndexConglomerateNumber(long indexConglomerateNumber) |
public void | setIndexScanController(ScanController indexSC) |
public void | setMaxRows(int maxRows) |
final protected void | setParameterValueSet(int paramCount, boolean hasReturnParam) |
public void | setParameters(ParameterValueSet parameterValues, DataTypeDescriptor[] parameterTypes) |
public void | setParentResultSet(TemporaryRowHolder rs, String resultSetId) |
public static void | setQualifier(Qualifier[][] qualifiers, Qualifier qualifier, int position_1, int position_2) Set a Qualifier in a 2 dimensional array of Qualifiers.
Set a single Qualifier into one slot of a 2 dimensional array of
Qualifiers. |
public void | setResultSetHoldability(boolean resultSetHoldability) |
abstract protected void | setRowCountCheckVector(Vector newValue) |
public void | setSingleExecution() Set this Activation for a single execution. |
abstract protected void | setStalePlanCheckInterval(int newValue) |
public void | setTargetVTI(java.sql.ResultSet targetVTI) |
final public void | setupActivation(ExecPreparedStatement ps, boolean scrollable) Link this activation with its PreparedStatement. |
public void | startExecution() The subclass calls this method when it begins an execution. |
public void | throwIfClosed(String op) Various activation methods need to disallow their
invocation if the activation is closed. |
public void | throwIfMissingParms() Throw an exception if any parameters are uninitialized. |