public class JDBCSetProvider extends AbstractFeatureSetProvider
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
isEmpty |
protected static Logger |
LOGGER |
protected java.util.List<ResulSetControler.ResultSetEntry> |
resultSets |
protected java.lang.Long |
size |
| Constructor and Description |
|---|
JDBCSetProvider(AbstractFeatureStoreProvider store,
JDBCHelper helper,
FeatureQuery query,
FeatureType featureType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canFilter() |
boolean |
canIterateFromIndex() |
boolean |
canOrder() |
protected JDBCIterator |
createFastIterator(long index)
Creates a new fast
Iterator, begginning at the specified data
index. |
protected JDBCIterator |
createFastIterator(long index,
long elements) |
protected JDBCIterator |
createIterator(long index)
Creates a new
Iterator, begginning at the specified data index. |
protected JDBCIterator |
createIterator(long index,
long elements) |
protected void |
doDispose()
Internal implementation for the
AbstractDisposable.dispose() method, to be
implemented by child classes. |
int |
getDefaultFetchSize() |
protected int |
getFetchSize() |
protected JDBCHelper |
getHelper() |
protected JDBCStoreProvider |
getJDBCStore() |
protected OperationsFactory |
getOperations() |
ResulSetControler |
getResulSetControler() |
long |
getSize() |
boolean |
isEmpty() |
void |
setDefaultFetchSize(int defaultFetchSize) |
createSpatialIterator, fastIterator, fastIterator, fastIterator, getFeatureType, getProviderFeatureType, getQuery, getSpatialIndex, getStore, getStoreFeatureType, iterator, iterator, iterator, toStringdispose, disposeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdisposeprotected static final Logger LOGGER
protected java.lang.Long size
protected java.lang.Boolean isEmpty
protected java.util.List<ResulSetControler.ResultSetEntry> resultSets
public JDBCSetProvider(AbstractFeatureStoreProvider store, JDBCHelper helper, FeatureQuery query, FeatureType featureType) throws DataException
DataExceptionpublic int getDefaultFetchSize()
public void setDefaultFetchSize(int defaultFetchSize)
defaultFetchSize - the defaultFetchSize to setprotected JDBCStoreProvider getJDBCStore()
protected JDBCHelper getHelper()
protected OperationsFactory getOperations()
public boolean canIterateFromIndex()
public boolean canFilter()
public boolean canOrder()
public ResulSetControler getResulSetControler()
protected void doDispose()
throws BaseException
AbstractDisposableAbstractDisposable.dispose() method, to be
implemented by child classes.doDispose in class AbstractDisposableBaseExceptionAbstractDisposable.dispose()protected int getFetchSize()
public long getSize()
throws DataException
DataExceptionpublic boolean isEmpty()
throws DataException
DataExceptionprotected JDBCIterator createFastIterator(long index) throws DataException
AbstractFeatureSetProviderIterator, 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 AbstractFeatureSetProviderindex - the first element position to be returned by the
IteratorIteratorDataException - if there is an error creating the Iteratorprotected JDBCIterator createFastIterator(long index, long elements) throws DataException
createFastIterator in class AbstractFeatureSetProviderDataExceptionprotected JDBCIterator createIterator(long index) throws DataException
AbstractFeatureSetProviderIterator, begginning at the specified data index.createIterator in class AbstractFeatureSetProviderindex - the first element position to be returned by the
IteratorIteratorDataException - if there is an error creating the Iteratorprotected JDBCIterator createIterator(long index, long elements) throws DataException
createIterator in class AbstractFeatureSetProviderDataException