public class CachedDataSet extends AbstractDataSet implements IDataSetConsumer
_orderedTableNameMap| Constructor and Description |
|---|
CachedDataSet()
Default constructor.
|
CachedDataSet(IDataSet dataSet)
Creates a copy of the specified dataset.
|
CachedDataSet(IDataSetProducer producer)
Creates a CachedDataSet that synchronously consume the specified producer.
|
CachedDataSet(IDataSetProducer producer,
boolean caseSensitiveTableNames)
Creates a CachedDataSet that synchronously consume the specified producer.
|
| Modifier and Type | Method and Description |
|---|---|
protected ITableIterator |
createIterator(boolean reversed)
Creates an iterator which provides access to all tables of this dataset
|
void |
endDataSet()
Receive notification of the end of a dataset.
|
void |
endTable()
Receive notification of the end of a table.
|
void |
row(Object[] values)
Receive notification of a table row.
|
void |
startDataSet()
Receive notification of the beginning of a dataset.
|
void |
startTable(ITableMetaData metaData)
Receive notification of the beginning of a table.
|
createTableNameMap, getTable, getTableMetaData, getTableNames, getTables, isCaseSensitiveTableNames, iterator, reverseIterator, toStringpublic CachedDataSet()
public CachedDataSet(IDataSet dataSet) throws DataSetException
DataSetExceptionpublic CachedDataSet(IDataSetProducer producer) throws DataSetException
DataSetExceptionpublic CachedDataSet(IDataSetProducer producer, boolean caseSensitiveTableNames) throws DataSetException
producer - caseSensitiveTableNames - Whether or not case sensitive table names should be usedDataSetExceptionprotected ITableIterator createIterator(boolean reversed) throws DataSetException
AbstractDataSetcreateIterator in class AbstractDataSetreversed - Whether the created iterator should be a reversed one or notITableIteratorDataSetExceptionpublic void startDataSet()
throws DataSetException
IDataSetConsumerstartDataSet in interface IDataSetConsumerDataSetExceptionpublic void endDataSet()
throws DataSetException
IDataSetConsumerendDataSet in interface IDataSetConsumerDataSetExceptionpublic void startTable(ITableMetaData metaData) throws DataSetException
IDataSetConsumerIDataSetConsumer.endDataSet() event for every startTable
event (even when the table is empty).startTable in interface IDataSetConsumermetaData - the table metadataDataSetExceptionpublic void endTable()
throws DataSetException
IDataSetConsumerendTable in interface IDataSetConsumerDataSetExceptionpublic void row(Object[] values) throws DataSetException
IDataSetConsumerrow in interface IDataSetConsumervalues - The row values.DataSetExceptionCopyright © 2002-2017. All Rights Reserved.