Top Description Constructors Methods
net.sf.ehcache.search.impl

public Class AggregateOnlyResult

extends BaseResult
Class Inheritance
Imports
net.sf.ehcache.store.StoreQuery

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

AccessConstructor and Description
public
AggregateOnlyResult(StoreQuery query)

Constructor

Method Summary

Modifier and TypeMethod and Description
protected Object
basicGetAttribute(String name)

Implements abstract net.sf.ehcache.search.impl.BaseResult.basicGetAttribute.

Get the actual attribute value
protected Object
basicGetKey()

Implements abstract net.sf.ehcache.search.impl.BaseResult.basicGetKey.

Get the actual key value
protected Object
basicGetValue()

Implements abstract net.sf.ehcache.search.impl.BaseResult.basicGetValue.

Get the actual value
pack-priv Object
getSortAttribute(int pos)

Implements abstract net.sf.ehcache.search.impl.BaseResult.getSortAttribute.

Get attribute value for use in sorting
Inherited from net.sf.ehcache.search.impl.BaseResult:
getAggregatorResultsgetAttributegetKeygetValuesetAggregateResultstoString

Constructor Detail

AggregateOnlyResultback to summary
public AggregateOnlyResult(StoreQuery query)

Constructor

Method Detail

basicGetAttributeback to summary
protected Object basicGetAttribute(String name)

Implements abstract net.sf.ehcache.search.impl.BaseResult.basicGetAttribute.

Doc from net.sf.ehcache.search.impl.BaseResult.basicGetAttribute.

Get the actual attribute value

Returns:Object

attribute

Annotations
@Override
basicGetKeyback to summary
protected Object basicGetKey()

Implements abstract net.sf.ehcache.search.impl.BaseResult.basicGetKey.

Doc from net.sf.ehcache.search.impl.BaseResult.basicGetKey.

Get the actual key value

Returns:Object

key

Annotations
@Override
basicGetValueback to summary
protected Object basicGetValue()

Implements abstract net.sf.ehcache.search.impl.BaseResult.basicGetValue.

Doc from net.sf.ehcache.search.impl.BaseResult.basicGetValue.

Get the actual value

Returns:Object

value

Annotations
@Override
getSortAttributeback to summary
pack-priv Object getSortAttribute(int pos)

Implements abstract net.sf.ehcache.search.impl.BaseResult.getSortAttribute.

Doc from net.sf.ehcache.search.impl.BaseResult.getSortAttribute.

Get attribute value for use in sorting

Annotations
@Override