Package com.attivio.sdk.search.fields
Enum AggregateExpression.Method
- java.lang.Object
-
- java.lang.Enum<AggregateExpression.Method>
-
- com.attivio.sdk.search.fields.AggregateExpression.Method
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AggregateExpression.Method>
- Enclosing class:
- AggregateExpression
public static enum AggregateExpression.Method extends java.lang.Enum<AggregateExpression.Method>
Aggregation method available.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVG
Compute average.COUNT
Count values.DISTINCT
Get unique values.FIRST
Get first value.LAST
Get last value.MAX
Compute maximal value.MIN
Compute minimal value.STDEV
Compute sample standard deviation.STDEVP
Compute population standard deviation.SUM
Compute sum.VAR_POP
Compute population variance.VAR_SAMP
Compute sample variance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregateExpression
parse(StringParser parser)
Parse anAggregateExpression
fromparser
.static AggregateExpression.Method
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AggregateExpression.Method[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVG
public static final AggregateExpression.Method AVG
Compute average.
-
MIN
public static final AggregateExpression.Method MIN
Compute minimal value.
-
MAX
public static final AggregateExpression.Method MAX
Compute maximal value.
-
SUM
public static final AggregateExpression.Method SUM
Compute sum.
-
STDEV
public static final AggregateExpression.Method STDEV
Compute sample standard deviation.
-
STDEVP
public static final AggregateExpression.Method STDEVP
Compute population standard deviation.
-
VAR_SAMP
public static final AggregateExpression.Method VAR_SAMP
Compute sample variance.
-
VAR_POP
public static final AggregateExpression.Method VAR_POP
Compute population variance.
-
COUNT
public static final AggregateExpression.Method COUNT
Count values.
-
FIRST
public static final AggregateExpression.Method FIRST
Get first value.
-
LAST
public static final AggregateExpression.Method LAST
Get last value.
-
DISTINCT
public static final AggregateExpression.Method DISTINCT
Get unique values.
-
-
Method Detail
-
values
public static AggregateExpression.Method[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AggregateExpression.Method c : AggregateExpression.Method.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AggregateExpression.Method valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
parse
public AggregateExpression parse(StringParser parser)
Parse anAggregateExpression
fromparser
.
-
-