public static enum IntegerSummary.Mode extends Enum<IntegerSummary.Mode>
Enum Constant and Description |
---|
AlwaysOne
The aggregation mode is always one.
|
Max
The aggregation mode is the maximum function.
|
Min
The aggregation mode is the minimum function.
|
Sum
The aggregation mode is the summation function.
|
Modifier and Type | Method and Description |
---|---|
static IntegerSummary.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntegerSummary.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntegerSummary.Mode Sum
New retained value = previous retained value + incoming value
public static final IntegerSummary.Mode Min
New retained value = min(previous retained value, incoming value)
public static final IntegerSummary.Mode Max
New retained value = max(previous retained value, incoming value)
public static final IntegerSummary.Mode AlwaysOne
New retained value = 1
public static IntegerSummary.Mode[] values()
for (IntegerSummary.Mode c : IntegerSummary.Mode.values()) System.out.println(c);
public static IntegerSummary.Mode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015–2024 The Apache Software Foundation. All rights reserved.