Package org.apache.flink.fnexecution.v1
Enum FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase
- java.lang.Object
-
- java.lang.Enum<FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase>
-
- org.apache.flink.fnexecution.v1.FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase>
- Enclosing class:
- FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec
public static enum FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase extends Enum<FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATAVIEW_NOT_SET
LIST_VIEW
MAP_VIEW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase
forNumber(int value)
int
getNumber()
static FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase
valueOf(int value)
Deprecated.static FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIST_VIEW
public static final FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase LIST_VIEW
-
MAP_VIEW
public static final FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase MAP_VIEW
-
DATAVIEW_NOT_SET
public static final FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase DATAVIEW_NOT_SET
-
-
Method Detail
-
values
public static FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase[] 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 (FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase c : FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
@Deprecated public static FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase valueOf(int value)
Deprecated.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:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static FlinkFnApi.UserDefinedAggregateFunction.DataViewSpec.DataViewCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-