Package net.sf.ehcache.search.impl
Class ResultImpl
- java.lang.Object
-
- net.sf.ehcache.search.impl.BaseResult
-
- net.sf.ehcache.search.impl.ResultImpl
-
- All Implemented Interfaces:
Result
public class ResultImpl extends BaseResult
Result implementation- Author:
- teck
-
-
Constructor Summary
Constructors Constructor Description ResultImpl(java.lang.Object key, java.lang.Object value, StoreQuery query, java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.Object[] sortAttributes)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectbasicGetAttribute(java.lang.String name)Get the actual attribute valueprotected java.lang.ObjectbasicGetKey()Get the actual key valueprotected java.lang.ObjectbasicGetValue()Get the actual value-
Methods inherited from class net.sf.ehcache.search.impl.BaseResult
getAggregatorResults, getAttribute, getKey, getValue, setAggregateResults, toString
-
-
-
-
Constructor Detail
-
ResultImpl
public ResultImpl(java.lang.Object key, java.lang.Object value, StoreQuery query, java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.Object[] sortAttributes)Constructor- Parameters:
key-value-query-attributes-sortAttributes-
-
-
Method Detail
-
basicGetKey
protected java.lang.Object basicGetKey()
Description copied from class:BaseResultGet the actual key value- Specified by:
basicGetKeyin classBaseResult- Returns:
- key
-
basicGetValue
protected java.lang.Object basicGetValue()
Description copied from class:BaseResultGet the actual value- Specified by:
basicGetValuein classBaseResult- Returns:
- value
-
basicGetAttribute
protected java.lang.Object basicGetAttribute(java.lang.String name)
Description copied from class:BaseResultGet the actual attribute value- Specified by:
basicGetAttributein classBaseResult- Returns:
- attribute
-
-