public class BOFilterQueryResults extends java.lang.Object implements QueryResultsI
QueryResultsI
wrapper that automatically filters all results
from the wrapped QueryResultsI
instance by the given
BOFilterI
's fits() method.Constructor and Description |
---|
BOFilterQueryResults(BOFilterI _filter,
QueryResultsI _qr) |
BOFilterQueryResults(BOFilterI _filter,
QueryResultsI _qr,
long _upperCount) |
BOFilterQueryResults(BOFilterI _filter,
QueryResultsI _qr,
long _upperCount,
boolean _logProgress) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Requests the cancellation of this QueryResultsI.
|
void |
close()
Closes this QueryResultsI and releases any system resources associated with it.
|
java.lang.String |
currentTag()
Returns the current tag of this QueryResultsI.
|
boolean |
fits(BOI bo) |
boolean |
hasNext() |
boolean |
isClosed()
Returns whether or not this object has been closed.
|
java.lang.Object |
next() |
void |
remove() |
public BOFilterQueryResults(BOFilterI _filter, QueryResultsI _qr)
public BOFilterQueryResults(BOFilterI _filter, QueryResultsI _qr, long _upperCount)
public BOFilterQueryResults(BOFilterI _filter, QueryResultsI _qr, long _upperCount, boolean _logProgress)
public boolean fits(BOI bo)
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void close()
QueryResultsI
close
in interface QueryResultsI
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public boolean isClosed()
QueryResultsI
isClosed
in interface QueryResultsI
public java.lang.String currentTag()
QueryResultsI
currentTag
in interface QueryResultsI
public void cancel()
QueryResultsI
cancel
in interface QueryResultsI
public void remove()
remove
in interface java.util.Iterator
Copyright © 2000-2024 OAshi S.à r.l. All Rights Reserved.