Class Hierarchy        Index

Class COM.cloudscape.vti.TransactionTable

java.lang.Object
   |
   +----COM.cloudscape.vti.VTITemplate
           |
           +----COM.cloudscape.vti.TransactionTable

public class TransactionTable
extends VTITemplate
implements VTICosting
Copyright © 1998-1999 Cloudscape, Inc. All rights reserved.

TransactionTable is a virtual table which shows all the transactions currently in the database. This virtual table can be invoked by calling it directly

 select * from new COM.cloudscape.vti.TransactionTable() t; 
or through the system alias TransactionTable
 select * from new TransactionTable() t; 

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:


Constructor Index

 o TransactionTable()

Method Index

 o close()
 o getEstimatedCostPerInstantiation(VTIEnvironment)
 o getEstimatedRowCount(VTIEnvironment)
 o getMetaData()
 o getString(int)
All columns in TransactionTable VTI is of String type.
 o next()
 o supportsMultipleInstantiations(VTIEnvironment)
 o wasNull()

Constructors

 o TransactionTable
 public TransactionTable()

Methods

 o getMetaData
 public ResultSetMetaData getMetaData()
Overrides:
getMetaData in class VTITemplate
See Also:
getMetaData
 o next
 public boolean next() throws SQLException
Throws: SQLException
if no transaction context can be found
Overrides:
next in class VTITemplate
See Also:
next
 o close
 public void close()
Overrides:
close in class VTITemplate
See Also:
close
 o getString
 public String getString(int columnNumber)
All columns in TransactionTable VTI is of String type.

Overrides:
getString in class VTITemplate
See Also:
getString
 o wasNull
 public boolean wasNull()
Overrides:
wasNull in class VTITemplate
See Also:
wasNull
 o getEstimatedRowCount
 public double getEstimatedRowCount(VTIEnvironment vtiEnvironment)
See Also:
getEstimatedRowCount
 o getEstimatedCostPerInstantiation
 public double getEstimatedCostPerInstantiation(VTIEnvironment vtiEnvironment)
See Also:
getEstimatedCostPerInstantiation
 o supportsMultipleInstantiations
 public boolean supportsMultipleInstantiations(VTIEnvironment vtiEnvironment)
Returns:
false
See Also:
supportsMultipleInstantiations

  Class Hierarchy        Index