public class ForwardOnlyDataSet extends AbstractDataSet
_orderedTableNameMap
Constructor and Description |
---|
ForwardOnlyDataSet(IDataSet dataSet) |
Modifier and Type | Method and Description |
---|---|
protected ITableIterator |
createIterator(boolean reversed)
Creates an iterator which provides access to all tables of this dataset
|
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.
|
createTableNameMap, getTables, isCaseSensitiveTableNames, iterator, reverseIterator, toString
public ForwardOnlyDataSet(IDataSet dataSet)
protected ITableIterator createIterator(boolean reversed) throws DataSetException
AbstractDataSet
createIterator
in class AbstractDataSet
reversed
- Whether the created iterator should be a reversed one or notITableIterator
DataSetException
public String[] getTableNames() throws DataSetException
IDataSet
getTableNames
in interface IDataSet
getTableNames
in class AbstractDataSet
DataSetException
public ITableMetaData getTableMetaData(String tableName) throws DataSetException
IDataSet
getTableMetaData
in interface IDataSet
getTableMetaData
in class AbstractDataSet
NoSuchTableException
- if dataset do not contains the specified
tableDataSetException
public ITable getTable(String tableName) throws DataSetException
IDataSet
getTable
in interface IDataSet
getTable
in class AbstractDataSet
NoSuchTableException
- if dataset do not contains the specified
tableDataSetException
Copyright © 2002-2016. All Rights Reserved.