|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.search.NullResults
public class NullResults
An empty result instance
| Field Summary | |
|---|---|
static NullResults |
INSTANCE
A global instance that can be freely shared with the world since this type has no state |
| Constructor Summary | |
|---|---|
NullResults()
|
|
| 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 count)
Retrieve a subset of the cache results. |
int |
size()
Results size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final NullResults INSTANCE
| Constructor Detail |
|---|
public NullResults()
| Method Detail |
|---|
public void discard()
SearchException
discard in interface Results
public List<Result> all()
throws SearchException
all in interface ResultsSearchException
public List<Result> range(int start,
int count)
throws SearchException,
IndexOutOfBoundsException
range in interface Resultsstart - starting index to accesscount - the number of results to return
SearchException
IndexOutOfBoundsExceptionpublic 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 | |||||||||