|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.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 |
|
ResultsImpl(List<? extends Result> results,
boolean hasKeys,
boolean hasValues,
boolean hasAttributes,
boolean hasAggregators,
Runnable discardCallback)
Constructor |
|
| Method Summary | |
|---|---|
List<Result> |
all()
List containing all of the search results. |
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 -
public ResultsImpl(List<? extends Result> results,
boolean hasKeys,
boolean hasValues,
boolean hasAttributes,
boolean hasAggregators,
Runnable discardCallback)
results - hasKeys - hasAttributes - hasAggregators - | Method Detail |
|---|
public String toString()
toString in class Objectpublic void discard()
SearchException
discard in interface Results
public List<Result> all()
throws SearchException
all in interface ResultsSearchException
public List<Result> range(int start,
int length)
throws SearchException
range in interface Resultsstart - starting index to accesslength - the number of results to return
SearchExceptionpublic int size()
size in interface Resultspublic boolean hasKeys()
hasKeys in interface Resultspublic boolean hasValues()
hasValues in interface Resultspublic boolean hasAttributes()
hasAttributes in interface Resultspublic boolean hasAggregators()
hasAggregators in interface Results
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||