public class DBFSetProvider extends AbstractFeatureSetProvider
Modifier and Type | Class and Description |
---|---|
protected class |
DBFSetProvider.DBFIterator |
protected class |
DBFSetProvider.FastDBFIterator |
Constructor and Description |
---|
DBFSetProvider(DBFStoreProvider store,
FeatureQuery query,
FeatureType featureType) |
Modifier and Type | Method and Description |
---|---|
boolean |
canFilter() |
boolean |
canIterateFromIndex() |
boolean |
canOrder() |
protected AbstractFeatureProviderIterator |
createFastIterator(long index)
Creates a new fast
Iterator , begginning at the specified data
index. |
protected AbstractFeatureProviderIterator |
createIterator(long index)
Creates a new
Iterator , begginning at the specified data index. |
protected void |
doDispose()
Internal implementation for the
AbstractDisposable.dispose() method, to be
implemented by child classes. |
long |
getSize() |
boolean |
isEmpty() |
createFastIterator, createIterator, fastIterator, fastIterator, fastIterator, getFeatureType, getQuery, getStore, iterator, iterator, iterator
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose
public DBFSetProvider(DBFStoreProvider store, FeatureQuery query, FeatureType featureType) throws DataException
DataException
public boolean canFilter()
public boolean canIterateFromIndex()
public boolean canOrder()
public long getSize() throws DataException
DataException
public boolean isEmpty() throws DataException
DataException
protected void doDispose() throws BaseException
AbstractDisposable
AbstractDisposable.dispose()
method, to be
implemented by child classes.doDispose
in class AbstractDisposable
BaseException
AbstractDisposable.dispose()
protected AbstractFeatureProviderIterator createIterator(long index) throws DataException
AbstractFeatureSetProvider
Iterator
, begginning at the specified data index.createIterator
in class AbstractFeatureSetProvider
index
- the first element position to be returned by the
Iterator
Iterator
DataException
- if there is an error creating the Iterator
protected AbstractFeatureProviderIterator createFastIterator(long index) throws DataException
AbstractFeatureSetProvider
Iterator
, begginning at the specified data
index. By fast this means the object instances of data (
FeatureProvider
) may be reused between the
Iterator.next()
method invocations.createFastIterator
in class AbstractFeatureSetProvider
index
- the first element position to be returned by the
Iterator
Iterator
DataException
- if there is an error creating the Iterator