|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractSet
java.util.HashSet
org.apache.slide.search.basic.BasicResultSetImpl
An implementation of the IBasicResultSet
interface.
Field Summary | |
protected boolean |
partial
Indicated if the result set is truncated for any reason. |
Fields inherited from class java.util.HashSet |
|
Constructor Summary | |
BasicResultSetImpl()
Creates an empty BasicResultSetImpl. |
|
BasicResultSetImpl(boolean isPartialResult)
Creates an empty BasicResultSetImpl and sets the value returned by isPartialResultSet() . |
|
BasicResultSetImpl(java.util.Collection collection)
Creates a BasicResultSetImpl containing the elements of the given collection |
|
BasicResultSetImpl(java.util.Collection collection,
boolean isPartialResult)
Creates a BasicResultSetImpl containing the elements of the given collection |
Method Summary | |
boolean |
isPartialResultSet()
Returns true if the result set is truncated for any reason. |
void |
setPartialResultSet(boolean partial)
Sets the value returned by isPartialResultSet() . |
Methods inherited from class java.util.HashSet |
add, clear, clone, contains, isEmpty, iterator, remove, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Field Detail |
protected boolean partial
Constructor Detail |
public BasicResultSetImpl()
public BasicResultSetImpl(boolean isPartialResult)
isPartialResultSet()
.
isPartialResult
- the value to be returned by
isPartialResultSet()
.public BasicResultSetImpl(java.util.Collection collection)
collection
collection
- the Collection whose elements to add.public BasicResultSetImpl(java.util.Collection collection, boolean isPartialResult)
collection
collection
- the Collection whose elements to add.isPartialResult
- the value to be returned by
isPartialResultSet()
.Method Detail |
public boolean isPartialResultSet()
true
if the result set is truncated for any reason.
isPartialResultSet
in interface IBasicResultSet
true
if the result set is truncated for any reason.public void setPartialResultSet(boolean partial)
isPartialResultSet()
.
partial
- the new value to be returned by
isPartialResultSet()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |