Enum Class BuiltInWindowFunction
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<BuiltInWindowFunction>,Constable
public enum BuiltInWindowFunction
extends Enum<BuiltInWindowFunction>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
chalk.expression.v1.BuiltInWindowFunction-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBUILT_IN_WINDOW_FUNCTION_CUME_DIST = 5;BUILT_IN_WINDOW_FUNCTION_DENSE_RANK = 3;BUILT_IN_WINDOW_FUNCTION_FIRST_VALUE = 9;BUILT_IN_WINDOW_FUNCTION_LAG = 7;BUILT_IN_WINDOW_FUNCTION_LAST_VALUE = 10;BUILT_IN_WINDOW_FUNCTION_LEAD = 8;BUILT_IN_WINDOW_FUNCTION_NTH_VALUE = 11;BUILT_IN_WINDOW_FUNCTION_NTILE = 6;BUILT_IN_WINDOW_FUNCTION_PERCENT_RANK = 4;BUILT_IN_WINDOW_FUNCTION_RANK = 2;BUILT_IN_WINDOW_FUNCTION_ROW_NUMBER = 1;BUILT_IN_WINDOW_FUNCTION_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBUILT_IN_WINDOW_FUNCTION_CUME_DIST = 5;static final intBUILT_IN_WINDOW_FUNCTION_DENSE_RANK = 3;static final intBUILT_IN_WINDOW_FUNCTION_FIRST_VALUE = 9;static final intBUILT_IN_WINDOW_FUNCTION_LAG = 7;static final intBUILT_IN_WINDOW_FUNCTION_LAST_VALUE = 10;static final intBUILT_IN_WINDOW_FUNCTION_LEAD = 8;static final intBUILT_IN_WINDOW_FUNCTION_NTH_VALUE = 11;static final intBUILT_IN_WINDOW_FUNCTION_NTILE = 6;static final intBUILT_IN_WINDOW_FUNCTION_PERCENT_RANK = 4;static final intBUILT_IN_WINDOW_FUNCTION_RANK = 2;static final intBUILT_IN_WINDOW_FUNCTION_ROW_NUMBER = 1;static final intBUILT_IN_WINDOW_FUNCTION_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic BuiltInWindowFunctionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<BuiltInWindowFunction>static BuiltInWindowFunctionvalueOf(int value) Deprecated.static BuiltInWindowFunctionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static BuiltInWindowFunctionReturns the enum constant of this class with the specified name.static BuiltInWindowFunction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUILT_IN_WINDOW_FUNCTION_UNSPECIFIED
BUILT_IN_WINDOW_FUNCTION_UNSPECIFIED = 0; -
BUILT_IN_WINDOW_FUNCTION_ROW_NUMBER
BUILT_IN_WINDOW_FUNCTION_ROW_NUMBER = 1; -
BUILT_IN_WINDOW_FUNCTION_RANK
BUILT_IN_WINDOW_FUNCTION_RANK = 2; -
BUILT_IN_WINDOW_FUNCTION_DENSE_RANK
BUILT_IN_WINDOW_FUNCTION_DENSE_RANK = 3; -
BUILT_IN_WINDOW_FUNCTION_PERCENT_RANK
BUILT_IN_WINDOW_FUNCTION_PERCENT_RANK = 4; -
BUILT_IN_WINDOW_FUNCTION_CUME_DIST
BUILT_IN_WINDOW_FUNCTION_CUME_DIST = 5; -
BUILT_IN_WINDOW_FUNCTION_NTILE
BUILT_IN_WINDOW_FUNCTION_NTILE = 6; -
BUILT_IN_WINDOW_FUNCTION_LAG
BUILT_IN_WINDOW_FUNCTION_LAG = 7; -
BUILT_IN_WINDOW_FUNCTION_LEAD
BUILT_IN_WINDOW_FUNCTION_LEAD = 8; -
BUILT_IN_WINDOW_FUNCTION_FIRST_VALUE
BUILT_IN_WINDOW_FUNCTION_FIRST_VALUE = 9; -
BUILT_IN_WINDOW_FUNCTION_LAST_VALUE
BUILT_IN_WINDOW_FUNCTION_LAST_VALUE = 10; -
BUILT_IN_WINDOW_FUNCTION_NTH_VALUE
BUILT_IN_WINDOW_FUNCTION_NTH_VALUE = 11; -
UNRECOGNIZED
-
-
Field Details
-
BUILT_IN_WINDOW_FUNCTION_UNSPECIFIED_VALUE
public static final int BUILT_IN_WINDOW_FUNCTION_UNSPECIFIED_VALUEBUILT_IN_WINDOW_FUNCTION_UNSPECIFIED = 0;- See Also:
-
BUILT_IN_WINDOW_FUNCTION_ROW_NUMBER_VALUE
public static final int BUILT_IN_WINDOW_FUNCTION_ROW_NUMBER_VALUEBUILT_IN_WINDOW_FUNCTION_ROW_NUMBER = 1;- See Also:
-
BUILT_IN_WINDOW_FUNCTION_RANK_VALUE
public static final int BUILT_IN_WINDOW_FUNCTION_RANK_VALUEBUILT_IN_WINDOW_FUNCTION_RANK = 2;- See Also:
-
BUILT_IN_WINDOW_FUNCTION_DENSE_RANK_VALUE
public static final int BUILT_IN_WINDOW_FUNCTION_DENSE_RANK_VALUEBUILT_IN_WINDOW_FUNCTION_DENSE_RANK = 3;- See Also:
-
BUILT_IN_WINDOW_FUNCTION_PERCENT_RANK_VALUE
public static final int BUILT_IN_WINDOW_FUNCTION_PERCENT_RANK_VALUEBUILT_IN_WINDOW_FUNCTION_PERCENT_RANK = 4;- See Also:
-
BUILT_IN_WINDOW_FUNCTION_CUME_DIST_VALUE
public static final int BUILT_IN_WINDOW_FUNCTION_CUME_DIST_VALUEBUILT_IN_WINDOW_FUNCTION_CUME_DIST = 5;- See Also:
-
BUILT_IN_WINDOW_FUNCTION_NTILE_VALUE
public static final int BUILT_IN_WINDOW_FUNCTION_NTILE_VALUEBUILT_IN_WINDOW_FUNCTION_NTILE = 6;- See Also:
-
BUILT_IN_WINDOW_FUNCTION_LAG_VALUE
public static final int BUILT_IN_WINDOW_FUNCTION_LAG_VALUEBUILT_IN_WINDOW_FUNCTION_LAG = 7;- See Also:
-
BUILT_IN_WINDOW_FUNCTION_LEAD_VALUE
public static final int BUILT_IN_WINDOW_FUNCTION_LEAD_VALUEBUILT_IN_WINDOW_FUNCTION_LEAD = 8;- See Also:
-
BUILT_IN_WINDOW_FUNCTION_FIRST_VALUE_VALUE
public static final int BUILT_IN_WINDOW_FUNCTION_FIRST_VALUE_VALUEBUILT_IN_WINDOW_FUNCTION_FIRST_VALUE = 9;- See Also:
-
BUILT_IN_WINDOW_FUNCTION_LAST_VALUE_VALUE
public static final int BUILT_IN_WINDOW_FUNCTION_LAST_VALUE_VALUEBUILT_IN_WINDOW_FUNCTION_LAST_VALUE = 10;- See Also:
-
BUILT_IN_WINDOW_FUNCTION_NTH_VALUE_VALUE
public static final int BUILT_IN_WINDOW_FUNCTION_NTH_VALUE_VALUEBUILT_IN_WINDOW_FUNCTION_NTH_VALUE = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static BuiltInWindowFunction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-