|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.search.impl.ResultsImpl
public class ResultsImpl
Results implementation
Constructor Summary | |
---|---|
ResultsImpl(List<? extends Result> results,
boolean hasKeys,
boolean hasValues,
boolean hasAttributes,
boolean hasAggregators)
Constructor |
Method Summary | |
---|---|
List<Result> |
all()
Retrieve all of the cache results in one shot. |
void |
discard()
Discard this query result. |
boolean |
hasAggregators()
Whether the results contains aggregates |
boolean |
hasAttributes()
Whether the Results have cache attributes included. |
boolean |
hasKeys()
Whether the Results have cache keys included. |
boolean |
hasValues()
Whether the Results have cache values included. |
List<Result> |
range(int start,
int length)
Retrieve a subset of the cache results. |
int |
size()
Results size |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResultsImpl(List<? extends Result> results, boolean hasKeys, boolean hasValues, boolean hasAttributes, boolean hasAggregators)
results
- hasKeys
- hasAttributes
- hasAggregators
- Method Detail |
---|
public String toString()
toString
in class Object
public void discard()
SearchException
discard
in interface Results
public List<Result> all() throws SearchException
all
in interface Results
SearchException
public List<Result> range(int start, int length) throws SearchException
range
in interface Results
start
- starting index to accesslength
- the number of results to return
SearchException
public int size()
size
in interface Results
public boolean hasKeys()
hasKeys
in interface Results
public boolean hasValues()
hasValues
in interface Results
public boolean hasAttributes()
hasAttributes
in interface Results
public boolean hasAggregators()
hasAggregators
in interface Results
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |