public class TupleFactory.TupleIterator extends ResultIterator<T>
TupleFactory.Tuples
Run-time type checking on the filters is disabled so SQL filters of either factory
(and join expressions) can be used to filter the Tuple.| Modifier | Constructor and Description |
|---|---|
protected |
TupleIterator() |
|
TupleIterator(BaseFilter<T> s) |
|
TupleIterator(BaseFilter<T> fil,
int start,
int max) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSource(java.lang.StringBuilder sb) |
protected java.lang.String |
getDBTag()
Get the tag used to create the connection for this query from
a
DatabaseService. |
boolean |
getQualify()
Should field names be qualified.
|
protected java.util.Set<Repository> |
getSourceTables() |
iterate, setup, setVisitorclose, fallbackOrder, getChunkSize, hasNext, next, remove, setChunkSize, useChunkinggetContext, getFilter, getLockClause, getLogger, getModify, getModifyParameters, getTarget, getTargetParameters, makeDefault, makeEntry, makeSelect, setFilter, setMapper, setQualify, toStringgetFilterArguments, isEmpty, makeWhere, setParamsprotected TupleIterator()
public TupleIterator(BaseFilter<T> fil, int start, int max) throws DataFault
c - target - DataFaultpublic TupleIterator(BaseFilter<T> s) throws DataFault
s - DataFaultprotected java.lang.String getDBTag()
FilterReaderDatabaseService.
Normally this just queries the repository for the main table in the query
(as this table HAS to take part) and
relies on the query failing if there is an illegal join.
Any more advanced checking should really be done when constructing the filter
as this is where there is a chance to recover from the error.getDBTag in class FilterReader<T extends TupleFactory.Tuple<A>,T extends TupleFactory.Tuple<A>>protected void addSource(java.lang.StringBuilder sb)
addSource in class FilterReader<T extends TupleFactory.Tuple<A>,T extends TupleFactory.Tuple<A>>public boolean getQualify()
FilterReadergetQualify in class FilterReader<T extends TupleFactory.Tuple<A>,T extends TupleFactory.Tuple<A>>protected java.util.Set<Repository> getSourceTables()
getSourceTables in class FilterReader<T extends TupleFactory.Tuple<A>,T extends TupleFactory.Tuple<A>>