select * from SYSCS_DIAG.TRANSACTION_TABLE
The TransactionTable virtual table takes a snap shot of the transaction table while the system is in flux, so it is possible that some transactions may be in transition state while the snap shot is taken. We choose to do this rather then impose extraneous timing restrictions so that the use of this tool will not alter the normal timing and flow of execution in the application.
The TransactionTable virtual table has the following columns:
| Modifier and Type | Field and Description |
|---|---|
| private static final ResultColumnDescriptor[] | |
| pack-priv int | |
| pack-priv boolean | |
| private static final ResultSetMetaData | |
| private TransactionInfo[] | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. Releases this |
| public double | getEstimatedCostPerInstantiation(VTIEnvironment
The state variable for optimizing the Table Function. vtiEnvironment)Implements org. Get the estimated cost for a single instantiation of a Table Function. |
| public double | getEstimatedRowCount(VTIEnvironment
The state variable for optimizing the Table Function. vtiEnvironment)Implements org. Get the estimated row count for a single scan of a Table Function. |
| public ResultSetMetaData | getMetaData()
Overrides org. Implements java. Retrieves the number, types and properties of
this |
| public String | getString(int
the first column is 1, the second is 2, ... columnNumber)Overrides org. Implements java. All columns in TransactionTable VTI is of String type. |
| public boolean | next()
Implements java. Moves the cursor forward one row from its current position. |
| public boolean | Returns: falseThe state variable for optimizing the Table Function. vtiEnvironment)Implements org. Find out if the ResultSet of the Table Function can be instantiated multiple times. |
| public boolean | wasNull()
Overrides org. Implements java. Reports whether
the last column read had a value of SQL |
| columnInfo | back to summary |
|---|---|
| private static final ResultColumnDescriptor[] columnInfo | |
| currentRow | back to summary |
|---|---|
| pack-priv int currentRow | |
| initialized | back to summary |
|---|---|
| pack-priv boolean initialized | |
| metadata | back to summary |
|---|---|
| private static final ResultSetMetaData metadata | |
| transactionTable | back to summary |
|---|---|
| private TransactionInfo[] transactionTable | |
| wasNull | back to summary |
|---|---|
| private boolean wasNull | |
| TransactionTable | back to summary |
|---|---|
| public TransactionTable() throws StandardException | |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Releases this The closing of a
When a Note A
Calling the method
| |
| getEstimatedCostPerInstantiation | back to summary |
|---|---|
| public double getEstimatedCostPerInstantiation(VTIEnvironment vtiEnvironment) Implements org. Doc from org. Get the estimated cost for a single instantiation of a Table Function.
| |
| getEstimatedRowCount | back to summary |
|---|---|
| public double getEstimatedRowCount(VTIEnvironment vtiEnvironment) Implements org. Doc from org. Get the estimated row count for a single scan of a Table Function.
| |
| getMetaData | back to summary |
|---|---|
| public ResultSetMetaData getMetaData() Overrides org. Implements java. Doc from java. Retrieves the number, types and properties of
this
| |
| getString | back to summary |
|---|---|
| public String getString(int columnNumber) Overrides org. Implements java. All columns in TransactionTable VTI is of String type.
| |
| next | back to summary |
|---|---|
| public boolean next() throws SQLException Implements java. Doc from java. Moves the cursor forward one row from its current position.
A
When a call to the If an input stream is open for the current row, a call
to the method
| |
| supportsMultipleInstantiations | back to summary |
|---|---|
| public boolean supportsMultipleInstantiations(VTIEnvironment vtiEnvironment) Implements org. Doc from org. Find out if the ResultSet of the Table Function can be instantiated multiple times.
| |
| wasNull | back to summary |
|---|---|
| public boolean wasNull() Overrides org. Implements java. Doc from java. Reports whether
the last column read had a value of SQL
| |