| 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Result
Represents a single cache entry that has been selected by a cache query.
| Method Summary | ||
|---|---|---|
 List<Object> | 
getAggregatorResults()
Retrieve the aggregator value(s)  | 
|
 | 
getAttribute(Attribute<T> attribute)
Retrieve the given attribute value for this cache entry  | 
|
 Object | 
getKey()
Return the key for this cache entry.  | 
|
 Object | 
getValue()
Return the value for this cache entry.  | 
|
| Method Detail | 
|---|
Object getKey()
              throws SearchException
SearchException - if keys were not selected by the originating query
Object getValue()
                throws SearchException
SearchException - if values were not selected by the originating query
<T> T getAttribute(Attribute<T> attribute)
               throws SearchException
attribute - the attribute to retrieve
SearchException - if the given attribute was not explicitly selected by the
             originating query
List<Object> getAggregatorResults()
                                  throws SearchException
List. The aggregator results will be in the same order they were added to the query
SearchException - if no aggregators were requested in the query
  | 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||