ehcache

net.sf.ehcache.search.impl
Class ResultImpl

java.lang.Object
  extended by net.sf.ehcache.search.impl.BaseResult
      extended by net.sf.ehcache.search.impl.ResultImpl
All Implemented Interfaces:
Result

public class ResultImpl
extends BaseResult

Result implementation

Author:
teck

Constructor Summary
ResultImpl(Object key, Object value, StoreQuery query, Map<String,Object> attributes, Object[] sortAttributes)
          Constructor
 
Method Summary
protected  Object basicGetAttribute(String name)
          Get the actual attribute value
protected  Object basicGetKey()
          Get the actual key value
protected  Object basicGetValue()
          Get the actual value
 
Methods inherited from class net.sf.ehcache.search.impl.BaseResult
getAggregatorResults, getAttribute, getKey, getValue, setAggregateResults, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultImpl

public ResultImpl(Object key,
                  Object value,
                  StoreQuery query,
                  Map<String,Object> attributes,
                  Object[] sortAttributes)
Constructor

Parameters:
key -
value -
query -
attributes -
sortAttributes -
Method Detail

basicGetKey

protected Object basicGetKey()
Description copied from class: BaseResult
Get the actual key value

Specified by:
basicGetKey in class BaseResult
Returns:
key

basicGetValue

protected Object basicGetValue()
Description copied from class: BaseResult
Get the actual value

Specified by:
basicGetValue in class BaseResult
Returns:
value

basicGetAttribute

protected Object basicGetAttribute(String name)
Description copied from class: BaseResult
Get the actual attribute value

Specified by:
basicGetAttribute in class BaseResult
Returns:
attribute

ehcache

Copyright 2001-2015, Terracotta, Inc.