private class AbstractTransactionStore.TxResult extends java.lang.Object implements Result
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
getAggregatorResults()
Retrieve the aggregator value(s)
|
<T> T |
getAttribute(Attribute<T> attribute)
Retrieve the given attribute value for this cache entry
|
java.lang.Object |
getKey()
Return the key for this cache entry.
|
(package private) Result |
getUnderylingResult() |
java.lang.Object |
getValue()
Return the value for this cache entry.
|
private final Result result
TxResult(Result result)
Result getUnderylingResult()
public java.lang.Object getKey() throws SearchException
Result
getKey
in interface Result
SearchException
- if keys were not selected by the originating querypublic java.lang.Object getValue() throws SearchException
Result
getValue
in interface Result
SearchException
- if values were not selected by the originating querypublic <T> T getAttribute(Attribute<T> attribute) throws SearchException
Result
getAttribute
in interface Result
attribute
- the attribute to retrieveSearchException
- if the given attribute was not explicitly selected by the
originating querypublic java.util.List<java.lang.Object> getAggregatorResults() throws SearchException
Result
getAggregatorResults
in interface Result
List
. The aggregator results will be in the same order they were added to the querySearchException
- if no aggregators were requested in the query