public final class Aggregate
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Aggregate |
avg(java.lang.String property,
java.lang.String variable)
Create an average aggregate on the specified field and store the result in variable
|
static Aggregate |
count(java.lang.String property,
java.lang.String variable)
Create a count aggregate on the specified field and store the result in variable
|
java.lang.String |
getOperation() |
java.lang.String |
getProperty() |
java.lang.String |
getVariable() |
static Aggregate |
max(java.lang.String property,
java.lang.String variable)
Create a max aggregate on the specified field and store the result in variable
|
static Aggregate |
min(java.lang.String property,
java.lang.String variable)
Create a min aggregate on the specified field and store the result in variable
|
static Aggregate |
sum(java.lang.String property,
java.lang.String variable)
Create a sum aggregate on the specified field and store the result in variable
|
public static Aggregate count(java.lang.String property, java.lang.String variable)
property
- The event property to aggregatevariable
- The value to store the aggregate resultpublic static Aggregate sum(java.lang.String property, java.lang.String variable)
property
- The event property to aggregatevariable
- The value to store the aggregate resultpublic static Aggregate min(java.lang.String property, java.lang.String variable)
property
- The event property to aggregatevariable
- The value to store the aggregate resultpublic static Aggregate max(java.lang.String property, java.lang.String variable)
property
- The event property to aggregatevariable
- The value to store the aggregate resultpublic static Aggregate avg(java.lang.String property, java.lang.String variable)
property
- The event property to aggregatevariable
- The value to store the aggregate resultpublic java.lang.String getOperation()
public java.lang.String getProperty()
public java.lang.String getVariable()