AggregationType Class

public final class AggregationType
extends ExpandableStringEnum<AggregationType>

Allowed values are Sum, Avg, Count, Min, Max. Default is Sum.

Field Summary

Modifier and Type Field and Description
static final AggregationType AVG

Static value Avg for AggregationType.

static final AggregationType COUNT

Static value Count for AggregationType.

static final AggregationType MAX

Static value Max for AggregationType.

static final AggregationType MIN

Static value Min for AggregationType.

static final AggregationType SUM

Static value Sum for AggregationType.

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

AVG

public static final AggregationType AVG

Static value Avg for AggregationType.

COUNT

public static final AggregationType COUNT

Static value Count for AggregationType.

MAX

public static final AggregationType MAX

Static value Max for AggregationType.

MIN

public static final AggregationType MIN

Static value Min for AggregationType.

SUM

public static final AggregationType SUM

Static value Sum for AggregationType.

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