All Packages    This Package    Previous

class jade.db.AceTable

java.lang.Object
   |
   +----jade.db.AceObject
           |
           +----jade.db.AceTable
AceTable is a subclass of AceObject that adds specialized support for the results of table queries. Table results are synthesized ACEDB objects: they do not exist in the the ACE database, but are views into the database created on the fly from Table-based queries.

AceTables have a predictable rectangular row/column structure:

    root -> cell 0,0 -> cell 0,1 -> cell 0,2 -> ...
                |
            cell 1,0 -> cell 1,1 -> cell 1,2 -> ...
                |
            cell 2,0 -> cell 2,1 -> cell 1,2 -> ...
                     .
                     .
                     .
The tree can be manipulated and traversed as a hierarchical AceObject tree, or converted into a conventional rectangular matrix for easy access to the contents.
See Also:
jade.db.AceAccessor,
jade.db.AceObject
Version:
1.0, 03.25.96
Author:
Lincoln Stein

Constructor Index

There are no public constructors. AceTables must be retrieved via requests to an AceAccessor.

Method Index

 o rowCount()
Returns the number of rows in the table.
 o colCount()
Returns the number of columns in the table.
 o toTable()
Converts the table into a rectangular matrix of AceObjects.

Methods

 o rowCount
  public int rowCount()
Return the number of rows in the table.

 o colCount
  public int colCount()
Return the number of columns in the table.

 o toTable
  public AceObject[][] toTable()
Converts the table into a rectangular matrix of AceObjects. An implied pick() is performed on each cell when toTable() is called, allowing you to access the internal structure of each object.

All Packages    This Package    Previous