ehcache

net.sf.ehcache.search.impl
Class AggregateOnlyResult

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

public class AggregateOnlyResult
extends BaseResult

A result implementation intended solely for holding aggregate results. This particular result is used when only aggregates are requested in a query

Author:
teck

Constructor Summary
AggregateOnlyResult(StoreQuery query)
          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

AggregateOnlyResult

public AggregateOnlyResult(StoreQuery query)
Constructor

Parameters:
query -
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-2014, Terracotta, Inc.