AggregationType Class

public final class AggregationType
extends ExpandableStringEnum<AggregationType>

Aggregation type.

Field Summary

Modifier and Type Field and Description
static final AggregationType AVERAGE

Average value.

static final AggregationType COUNT

Total count.

static final AggregationType NONE

Aggregation will be average in this case.

static final AggregationType PERCENTILE75

75th percentile.

static final AggregationType PERCENTILE90

90th percentile.

static final AggregationType PERCENTILE95

95th percentile.

static final AggregationType PERCENTILE96

96th percentile.

static final AggregationType PERCENTILE97

97th percentile.

static final AggregationType PERCENTILE98

98th percentile.

static final AggregationType PERCENTILE99

99th percentile.

static final AggregationType PERCENTILE999

99.9th percentile.

static final AggregationType PERCENTILE9999

99.99th percentile.

static final AggregationType TOTAL

Total sum.

Constructor Summary

Constructor Description
AggregationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AggregationType value.

Method Summary

Modifier and Type Method and Description
static AggregationType fromString(String name)

Creates or finds a AggregationType from its string representation.

static Collection<AggregationType> values()

Gets known AggregationType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AVERAGE

public static final AggregationType AVERAGE

Average value.

COUNT

public static final AggregationType COUNT

Total count.

NONE

public static final AggregationType NONE

Aggregation will be average in this case.

PERCENTILE75

public static final AggregationType PERCENTILE75

75th percentile.

PERCENTILE90

public static final AggregationType PERCENTILE90

90th percentile.

PERCENTILE95

public static final AggregationType PERCENTILE95

95th percentile.

PERCENTILE96

public static final AggregationType PERCENTILE96

96th percentile.

PERCENTILE97

public static final AggregationType PERCENTILE97

97th percentile.

PERCENTILE98

public static final AggregationType PERCENTILE98

98th percentile.

PERCENTILE99

public static final AggregationType PERCENTILE99

99th percentile.

PERCENTILE999

public static final AggregationType PERCENTILE999

99.9th percentile.

PERCENTILE9999

public static final AggregationType PERCENTILE9999

99.99th percentile.

TOTAL

public static final AggregationType TOTAL

Total sum.

Constructor Details

AggregationType

@Deprecated
public AggregationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AggregationType value.

Method Details

fromString

public static AggregationType fromString(String name)

Creates or finds a AggregationType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AggregationType.

values

public static Collection<AggregationType> values()

Gets known AggregationType values.

Returns:

known AggregationType values.

Applies to