public class RecordStoreQueryReader extends IteratorReader<Record> implements RecordReader
| Constructor and Description |
|---|
RecordStoreQueryReader() |
RecordStoreQueryReader(AbstractRecordStore recordStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
addQuery(Query query) |
void |
close()
Close the reader and all resources associated with it.
|
protected AbstractIterator<Record> |
createQueryIterator(int i) |
BoundingBox |
getBoundingBox() |
List<Query> |
getQueries() |
RecordDefinition |
getRecordDefinition() |
AbstractRecordStore |
getRecordStore() |
String |
getWhereClause() |
void |
open()
Open the reader so that it is ready to be read from.
|
void |
setBoundingBox(BoundingBox boundingBox) |
void |
setQueries(Collection<Query> queries) |
void |
setQueries(List<Query> queries) |
void |
setRecordStore(AbstractRecordStore recordStore) |
void |
setTypeNames(List<String> typePaths) |
void |
setWhereClause(String whereClause) |
getProperties, getProperty, iterator, setIterator, setPropertyread, visitclearProperties, getProperty, removeProperty, setProperties, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakpublic RecordStoreQueryReader()
public RecordStoreQueryReader(AbstractRecordStore recordStore)
public void addQuery(Query query)
@PreDestroy public void close()
Readerclose in interface Reader<Record>close in interface AutoCloseableclose in class IteratorReader<Record>protected AbstractIterator<Record> createQueryIterator(int i)
public BoundingBox getBoundingBox()
public RecordDefinition getRecordDefinition()
getRecordDefinition in interface RecordReaderpublic AbstractRecordStore getRecordStore()
public String getWhereClause()
@PostConstruct public void open()
Readerpublic void setBoundingBox(BoundingBox boundingBox)
public void setQueries(Collection<Query> queries)
queries - the queries to setpublic void setRecordStore(AbstractRecordStore recordStore)
public void setTypeNames(List<String> typePaths)
typePaths - the typePaths to setpublic void setWhereClause(String whereClause)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.