Class CachedTable

All Implemented Interfaces:
ITable
Direct Known Subclasses:
CachedResultSetTable

public class CachedTable extends DefaultTable
ITable implementation that fully loads and caches another table's rows and metadata in memory.
Since:
Apr 10, 2003
Version:
$Revision$
Author:
Manuel Laflamme
  • Constructor Details

    • CachedTable

      public CachedTable(ITable table) throws DataSetException
      Creates a table that eagerly loads and caches all rows of the given table.
      Parameters:
      table - the source table to load into memory.
      Throws:
      DataSetException - if loading the rows fails.
    • CachedTable

      protected CachedTable(ITableMetaData metaData)
      Creates an empty cached table with the given metadata.
      Parameters:
      metaData - the table metadata.