public class Aggregate extends APIObject
| Modifier and Type | Method and Description |
|---|---|
RElement<RElement<?>> |
avg(JcProperty property)
JCYPHER
calculate the average of numeric values
e.g. ...aggregate().
|
RElement<RElement<?>> |
max(JcProperty property)
JCYPHER
find the largest value in a collection of numeric values
e.g. ...aggregate().
|
RElement<RElement<?>> |
min(JcProperty property)
JCYPHER
find the smallest value in a collection of numeric values
e.g. ...aggregate().
|
Percentile |
percentileCont(Number percentile)
JCYPHER
calculate: Given a series of values, which value is located at a certain percentile (percent rank);
uses a linear interpolation method, calculating a weighted average between two values,
if the desired percentile lies between them. |
Percentile |
percentileDisc(Number percentile)
JCYPHER
calculate: Given a series of values, which value is located at (or nearest to) a certain percentile (percent rank);
takes the percentile (between 0.0 and 1.0)
e.g. ...aggregate().
|
RElement<RElement<?>> |
stdev(JcProperty property)
JCYPHER
calculate the standard deviation for a given value over a group;
uses a standard two-pass method, with N - 1 as the denominator, and should be used when taking a sample of the population for an unbiased estimate. |
RElement<RElement<?>> |
stdevp(JcProperty property)
JCYPHER
calculate the standard deviation for a given value over a group;
uses a standard two-pass method, with N - 1 as the denominator, and should be used when taking a sample of an entire population. |
RElement<RElement<?>> |
sum(JcProperty property)
JCYPHER
sum all the numeric values which are encountered.
|
public RElement<RElement<?>> sum(JcProperty property)
public RElement<RElement<?>> avg(JcProperty property)
public RElement<RElement<?>> stdev(JcProperty property)
public RElement<RElement<?>> stdevp(JcProperty property)
public RElement<RElement<?>> max(JcProperty property)
public RElement<RElement<?>> min(JcProperty property)
public Percentile percentileDisc(Number percentile)
public Percentile percentileCont(Number percentile)
Copyright © 2016. All rights reserved.