public class DBManLocalQueryResults
extends java.lang.Object
implements de.ipcon.db.core.QueryResultsI
The class supports injecting a BOLoaderI for object loading and allows for optional finishing of the PersistenceHandlerI upon closing the results.
| Constructor and Description |
|---|
DBManLocalQueryResults(PersistenceHandlerI persistenceHandler,
java.lang.String query,
java.lang.Object[] params,
BOLoaderI injectedBOLoader,
boolean _finishPHOnClosing)
Constructs a new DBManLocalQueryResults object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
java.lang.String |
currentTag() |
boolean |
hasNext() |
boolean |
isClosed() |
java.lang.Object |
next() |
void |
remove() |
public DBManLocalQueryResults(PersistenceHandlerI persistenceHandler, java.lang.String query, java.lang.Object[] params, BOLoaderI injectedBOLoader, boolean _finishPHOnClosing)
persistenceHandler - The PersistenceHandlerI to use for database operations.query - The query string to execute.params - The parameters for the query.injectedBOLoader - The BOLoaderI to inject, if any._finishPHOnClosing - Whether to finish the PersistenceHandlerI when closing the results (usually because it is not shared).public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove 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.QueryResultsICopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.