public class ProgressHandlingQueryResults
extends java.lang.Object
implements de.ipcon.db.core.QueryResultsI
QueryResultsI wrapper that passes through all calls to the wrapped QueryResultsI instance but
will call tickAndProgressToLog() of the given ProgressHandler for every call to next()
and will output finalResultToLog() when close() or cancel() is called.| Constructor and Description |
|---|
ProgressHandlingQueryResults(de.ipcon.db.core.QueryResultsI _qr,
ProgressHandler _ph) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
java.lang.String |
currentTag() |
static ProgressHandler |
getProgressHandler(long upperCount,
boolean logProgress) |
boolean |
hasNext() |
boolean |
isClosed() |
java.lang.Object |
next() |
void |
remove() |
public ProgressHandlingQueryResults(de.ipcon.db.core.QueryResultsI _qr,
ProgressHandler _ph)
public static ProgressHandler getProgressHandler(long upperCount, boolean logProgress)
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void close()
close in interface de.ipcon.db.core.QueryResultsIclose in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic boolean isClosed()
isClosed in interface de.ipcon.db.core.QueryResultsIpublic java.lang.String currentTag()
currentTag in interface de.ipcon.db.core.QueryResultsIpublic void cancel()
cancel in interface de.ipcon.db.core.QueryResultsIpublic void remove()
remove in interface java.util.IteratorCopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.