public class JDBCSetProvider extends AbstractFeatureSetProvider
| Modifier and Type | Field and Description |
|---|---|
protected String |
filter |
protected Boolean |
isEmpty |
protected String |
order |
protected List |
resultSetIDReferenced |
protected Long |
size |
| Constructor and Description |
|---|
JDBCSetProvider(JDBCStoreProvider store,
FeatureQuery query,
FeatureType featureType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResulsetReference(int resulsetID) |
boolean |
canFilter() |
boolean |
canIterateFromIndex() |
boolean |
canOrder() |
protected JDBCIterator |
createDefaultFastIterator(int resultSetID) |
protected JDBCIterator |
createDefaultIterator(int resultSetID) |
protected JDBCIterator |
createFastIterator(long index)
Creates a new fast
Iterator, begginning at the specified data
index. |
protected JDBCIterator |
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. |
int |
getDefaultFetchSize() |
protected String |
getEscapedFieldName(String fieldName) |
protected int |
getFetchSize() |
long |
getSize() |
protected String |
getSQL(long fromIndex) |
protected String |
getSqlForEvaluator(Evaluator filter) |
boolean |
isEmpty() |
void |
removeResulsetReference(int resulsetID) |
void |
setDefaultFetchSize(int defaultFetchSize) |
protected void |
setFilter(Evaluator filter) |
protected void |
setOrder(FeatureQueryOrder order) |
createFastIterator, createIterator, fastIterator, fastIterator, fastIterator, getFeatureType, getQuery, getStore, iterator, iterator, iteratordispose, disposeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisposeprotected String filter
protected String order
protected Long size
protected Boolean isEmpty
protected List resultSetIDReferenced
public JDBCSetProvider(JDBCStoreProvider store, FeatureQuery query, FeatureType featureType) throws DataException
DataExceptionpublic int getDefaultFetchSize()
public void setDefaultFetchSize(int defaultFetchSize)
defaultFetchSize - the defaultFetchSize to setprotected void setOrder(FeatureQueryOrder order)
protected void setFilter(Evaluator filter)
public boolean canFilter()
public boolean canIterateFromIndex()
public boolean canOrder()
protected void doDispose()
throws BaseException
AbstractDisposableAbstractDisposable.dispose() method, to be
implemented by child classes.doDispose in class AbstractDisposableBaseExceptionAbstractDisposable.dispose()protected String getSQL(long fromIndex) throws DataException
DataExceptionpublic long getSize()
throws DataException
DataExceptionpublic boolean isEmpty()
throws DataException
DataExceptionprotected int getFetchSize()
protected 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 createDefaultFastIterator(int resultSetID) throws DataException
DataExceptionprotected 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 createDefaultIterator(int resultSetID) throws DataException
DataExceptionpublic void addResulsetReference(int resulsetID)
public void removeResulsetReference(int resulsetID)