GigaSpaces XAP 10.0.1 API

com.gigaspaces.query.aggregators
Class GroupByResult

java.lang.Object
  extended by com.gigaspaces.query.aggregators.GroupByResult
All Implemented Interfaces:
Externalizable, Serializable, Iterable<GroupByValue>

public class GroupByResult
extends Object
implements Externalizable, Iterable<GroupByValue>

Since:
10.0
Author:
Niv Ingberg
See Also:
Serialized Form

Constructor Summary
GroupByResult()
          Required for Externalizable
GroupByResult(Map<GroupByKey,GroupByValue> map)
           
 
Method Summary
 void filter(GroupByFilter filter)
           
 GroupByValue get(GroupByKey key)
           
 GroupByValue get(Object... keys)
           
protected  Map<GroupByKey,GroupByValue> getMap()
           
 Iterator<GroupByValue> iterator()
           
 void readExternal(ObjectInput in)
           
 int size()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupByResult

public GroupByResult()
Required for Externalizable


GroupByResult

public GroupByResult(Map<GroupByKey,GroupByValue> map)
Method Detail

getMap

protected Map<GroupByKey,GroupByValue> getMap()

size

public int size()

iterator

public Iterator<GroupByValue> iterator()
Specified by:
iterator in interface Iterable<GroupByValue>

get

public GroupByValue get(Object... keys)

get

public GroupByValue get(GroupByKey key)

filter

public void filter(GroupByFilter filter)

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.