public class SequenceTableFilter extends Object implements ITableFilter
FilteredDataSet.| Constructor and Description |
|---|
SequenceTableFilter(String[] tableNames)
Creates a new SequenceTableFilter with specified table names sequence.
|
SequenceTableFilter(String[] tableNames,
boolean caseSensitiveTableNames)
Creates a new SequenceTableFilter with specified table names sequence.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(String tableName)
Returns
true if specified table is allowed by this filter. |
String[] |
getTableNames(IDataSet dataSet)
Returns the table names allowed by this filter from the specified dataset.
|
ITableIterator |
iterator(IDataSet dataSet,
boolean reversed)
Returns iterator of tables allowed by this filter from the specified dataset.
|
String |
toString() |
public SequenceTableFilter(String[] tableNames) throws AmbiguousTableNameException
AmbiguousTableNameException - If the given array contains ambiguous namespublic SequenceTableFilter(String[] tableNames, boolean caseSensitiveTableNames) throws AmbiguousTableNameException
tableNames - caseSensitiveTableNames - AmbiguousTableNameException - If the given array contains ambiguous namespublic boolean accept(String tableName) throws DataSetException
ITableFilterSimpletrue if specified table is allowed by this filter.accept in interface ITableFilterSimpleDataSetExceptionpublic String[] getTableNames(IDataSet dataSet) throws DataSetException
ITableFiltergetTableNames in interface ITableFilterdataSet - the filtered datasetDataSetExceptionpublic ITableIterator iterator(IDataSet dataSet, boolean reversed) throws DataSetException
ITableFilteriterator in interface ITableFilterdataSet - the filtered datasetDataSetExceptionCopyright © 2002-2017. All Rights Reserved.