Class Hierarchy    Previous  Next  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-2000, Informix Software, 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()
 

Constructor Detail

 o TransactionTable
public TransactionTable()

Method Detail

 o getMetaData
public java.sql.ResultSetMetaData getMetaData()
See Also:
getMetaData
 o next
public boolean next() throws java.sql.SQLException
Throws:
java.sql.SQLException - if no transaction context can be found
See Also:
next
 o close
public void close()
See Also:
close
 o getString
public java.lang.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    Previous  Next  Index