|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.search.impl.BaseResult
public abstract class BaseResult
Base result implementation
| Constructor Summary | |
|---|---|
BaseResult(StoreQuery query)
Constructor |
|
| Method Summary | ||
|---|---|---|
protected abstract java.lang.Object |
basicGetAttribute(java.lang.String name)
Get the actual attribute value |
|
protected abstract java.lang.Object |
basicGetKey()
Get the actual key value |
|
protected abstract java.lang.Object |
basicGetValue()
Get the actual value |
|
java.util.List<java.lang.Object> |
getAggregatorResults()
Retrieve the aggregator value(s) |
|
|
getAttribute(Attribute<T> attribute)
Retrieve the given attribute value for this cache entry |
|
java.lang.Object |
getKey()
Return the key for this cache entry. |
|
java.lang.Object |
getValue()
Return the value for this cache entry. |
|
void |
setAggregateResults(java.util.List<java.lang.Object> aggregateResults)
Set the aggregate results for this row |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BaseResult(StoreQuery query)
query - | Method Detail |
|---|
public void setAggregateResults(java.util.List<java.lang.Object> aggregateResults)
aggregateResults - public java.lang.Object getKey()
getKey in interface Resultprotected abstract java.lang.Object basicGetKey()
public java.util.List<java.lang.Object> getAggregatorResults()
throws SearchException
getAggregatorResults in interface ResultList. The aggregator results will be in the same order they were added to the query
SearchException - if no aggregators were requested in the query
public java.lang.Object getValue()
throws SearchException
getValue in interface ResultSearchException - if values were not selected by the originating queryprotected abstract java.lang.Object basicGetValue()
public <T> T getAttribute(Attribute<T> attribute)
getAttribute in interface Resultattribute - the attribute to retrieve
protected abstract java.lang.Object basicGetAttribute(java.lang.String name)
public java.lang.String toString()
toString in class java.lang.Object
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||