public class SimpleReaderSetProvider extends AbstractFeatureSetProvider
LOGGER
Constructor and Description |
---|
SimpleReaderSetProvider(SimpleReaderStoreProvider store,
FeatureQuery query,
FeatureType providerFeatureType,
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() |
protected SpatialIndex |
getSpatialIndex(java.lang.String name) |
protected SimpleReaderStoreProvider |
getStore()
Return the
AbstractFeatureStoreProvider . |
protected java.lang.String |
getStoreFullName() |
boolean |
isEmpty() |
createFastIterator, createIterator, createSpatialIterator, fastIterator, fastIterator, fastIterator, getFeatureType, getProviderFeatureType, getQuery, getStoreFeatureType, iterator, iterator, iterator, toString
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dispose
public SimpleReaderSetProvider(SimpleReaderStoreProvider store, FeatureQuery query, FeatureType providerFeatureType, FeatureType featureType) throws DataException
DataException
protected SimpleReaderStoreProvider getStore()
AbstractFeatureSetProvider
AbstractFeatureStoreProvider
.getStore
in class AbstractFeatureSetProvider
protected SpatialIndex getSpatialIndex(java.lang.String name)
getSpatialIndex
in class AbstractFeatureSetProvider
protected java.lang.String getStoreFullName()
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