FunctionType Class

public final class FunctionType
extends ExpandableStringEnum<FunctionType>

The name of the aggregation function to use.

Field Summary

Modifier and Type Field and Description
static final FunctionType SUM

Static value Sum for FunctionType.

Constructor Summary

Constructor Description
FunctionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FunctionType value.

Method Summary

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

Creates or finds a FunctionType from its string representation.

static Collection<FunctionType> values()

Gets known FunctionType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

SUM

public static final FunctionType SUM

Static value Sum for FunctionType.

Constructor Details

FunctionType

@Deprecated
public FunctionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FunctionType value.

Method Details

fromString

public static FunctionType fromString(String name)

Creates or finds a FunctionType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FunctionType.

values

public static Collection<FunctionType> values()

Gets known FunctionType values.

Returns:

known FunctionType values.

Applies to