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
ITableFilterSimple
true
if specified table is allowed by this filter.accept
in interface ITableFilterSimple
DataSetException
public String[] getTableNames(IDataSet dataSet) throws DataSetException
ITableFilter
getTableNames
in interface ITableFilter
dataSet
- the filtered datasetDataSetException
public ITableIterator iterator(IDataSet dataSet, boolean reversed) throws DataSetException
ITableFilter
iterator
in interface ITableFilter
dataSet
- the filtered datasetDataSetException
Copyright © 2002–2019. All rights reserved.