public class

Aggregation

extends Object
java.lang.Object
   ↳ com.kinvey.java.model.Aggregation

Class Overview

This class wraps the response of an Aggregation Request. Access the results through the array called `results`

Summary

Nested Classes
class Aggregation.Result This class represents an individual result of an Aggregation request. 
Fields
public Result[] results
Public Constructors
Aggregation(Result[] res)
Public Methods
ArrayList<Number> getResultsFor(String key, String value)
Return a list of result values from the aggregation
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public Result[] results

Public Constructors

public Aggregation (Result[] res)

Public Methods

public ArrayList<Number> getResultsFor (String key, String value)

Return a list of result values from the aggregation

Parameters
key the key to search for
value the value of the key to search for
Returns
  • a list of numbers containing the results for the provided key/value