public abstract class AbstractDataSet extends Object implements IDataSet
createIterator(boolean)
method.| Modifier and Type | Field and Description |
|---|---|
protected OrderedTableNameMap |
_orderedTableNameMap |
| Constructor and Description |
|---|
AbstractDataSet()
Default constructor
|
AbstractDataSet(boolean caseSensitiveTableNames)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract ITableIterator |
createIterator(boolean reversed)
Creates an iterator which provides access to all tables of this dataset
|
protected OrderedTableNameMap |
createTableNameMap()
Creates and returns a new instance of the table names container.
|
ITable |
getTable(String tableName)
Returns the specified table.
|
ITableMetaData |
getTableMetaData(String tableName)
Returns the specified table metadata.
|
String[] |
getTableNames()
Returns names of tables in this dataset in proper sequence.
|
ITable[] |
getTables()
Returns tables in this dataset in proper sequence.
|
protected void |
initialize()
Initializes the tables of this dataset
|
boolean |
isCaseSensitiveTableNames()
Whether or not this dataset handles table names in a case sensitive way or not.
|
ITableIterator |
iterator()
Returns an iterator over the tables in this dataset in proper sequence.
|
ITableIterator |
reverseIterator()
Returns an iterator over the tables in this dataset in reverse sequence.
|
String |
toString() |
protected OrderedTableNameMap _orderedTableNameMap
public AbstractDataSet()
public AbstractDataSet(boolean caseSensitiveTableNames)
caseSensitiveTableNames - Whether or not table names should be case sensitivepublic boolean isCaseSensitiveTableNames()
IDataSetisCaseSensitiveTableNames in interface IDataSettrue if the case sensitivity of table names is used in this dataset.protected OrderedTableNameMap createTableNameMap()
protected void initialize()
throws DataSetException
DataSetExceptionprotected abstract ITableIterator createIterator(boolean reversed) throws DataSetException
reversed - Whether the created iterator should be a reversed one or notITableIteratorDataSetExceptionpublic String[] getTableNames() throws DataSetException
IDataSetgetTableNames in interface IDataSetDataSetExceptionpublic ITableMetaData getTableMetaData(String tableName) throws DataSetException
IDataSetgetTableMetaData in interface IDataSetNoSuchTableException - if dataset do not contains the specified
tableDataSetExceptionpublic ITable getTable(String tableName) throws DataSetException
IDataSetgetTable in interface IDataSetNoSuchTableException - if dataset do not contains the specified
tableDataSetExceptionpublic ITable[] getTables() throws DataSetException
IDataSetgetTables in interface IDataSetDataSetExceptionpublic ITableIterator iterator() throws DataSetException
IDataSetiterator in interface IDataSetDataSetExceptionpublic ITableIterator reverseIterator() throws DataSetException
IDataSetreverseIterator in interface IDataSetDataSetExceptionCopyright © 2002–2025. All rights reserved.