|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.search.impl.BaseResult
public abstract class BaseResult
Base result implementation
Constructor Summary | |
---|---|
BaseResult(StoreQuery query)
Constructor |
Method Summary | ||
---|---|---|
protected abstract Object |
basicGetAttribute(String name)
Get the actual attribute value |
|
protected abstract Object |
basicGetKey()
Get the actual key value |
|
protected abstract Object |
basicGetValue()
Get the actual value |
|
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. |
|
void |
setAggregateResults(List<Object> aggregateResults)
Set the aggregate results for this row |
|
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(List<Object> aggregateResults)
aggregateResults
- public Object getKey()
getKey
in interface Result
protected abstract Object basicGetKey()
public List<Object> getAggregatorResults() throws SearchException
getAggregatorResults
in interface Result
List
. The aggregator results will be in the same order they were added to the query
SearchException
- if no aggregators were requested in the querypublic Object getValue() throws SearchException
getValue
in interface Result
SearchException
- if values were not selected by the originating queryprotected abstract Object basicGetValue()
public <T> T getAttribute(Attribute<T> attribute)
getAttribute
in interface Result
attribute
- the attribute to retrieve
protected abstract Object basicGetAttribute(String name)
public String toString()
toString
in class Object
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |