org.terracotta.toolkit.search
Interface SearchResult


public interface SearchResult

A part of SearchQueryResultSet


Method Summary
 List<Object> getAggregatorResults()
          Aggregator results associated with this result.
 Map<String,Object> getAttributes()
          Map of attribute names requested with the query to their respective values.
 Map<String,Object> getGroupByValues()
          Map of group by attribute names requested with the query to their respective values.
 String getKey()
          Get result key.
 Object[] getSortAttributes()
          Values of attributes to order by
 Object getValue()
          Get requested value from this result.
 

Method Detail

getKey

String getKey()
Get result key.


getValue

Object getValue()
Get requested value from this result.


getAttributes

Map<String,Object> getAttributes()
Map of attribute names requested with the query to their respective values.


getSortAttributes

Object[] getSortAttributes()
Values of attributes to order by


getGroupByValues

Map<String,Object> getGroupByValues()
Map of group by attribute names requested with the query to their respective values.


getAggregatorResults

List<Object> getAggregatorResults()
Aggregator results associated with this result. This list will be empty unless it is a grouped result.



Copyright © 2014 Terracotta, Inc.. All Rights Reserved.