public interface Result
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAggregatorResults()
Retrieve the aggregator value(s)
|
<T> T |
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.
|
Object getKey() throws SearchException
SearchException
- if keys were not selected by the originating queryObject 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 retrieveSearchException
- if the given attribute was not explicitly selected by the
originating queryList<Object> getAggregatorResults() throws SearchException
List
. The aggregator results will be in the same order they were added to the querySearchException
- if no aggregators were requested in the queryCopyright © 2003–2016 Terracotta, Inc.. All rights reserved.