|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryIterator
Interface defining the generic behavior a Query iterator must follows. The Query iterator thus enables to iterate through the full set of queries contained in a particular repository (in file, in memory collection).
Method Summary | |
---|---|
void |
close()
Close the opened repository |
long |
getNumberQueries()
|
boolean |
hasNext()
|
QueryEntry |
next()
|
List<QueryEntry> |
nextValids(int nbValues)
Return a List containing the next valid queries. |
Method Detail |
---|
QueryEntry next()
QueryEntry
.
Also return null if the row repository do not
correspond to a well formed entry.List<QueryEntry> nextValids(int nbValues) throws Exception
nbValues
- the number of values the query list must contains.
QueryEntry
Exception
- if query access can throw an exception.boolean hasNext()
long getNumberQueries() throws Exception
Exception
void close() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |