Package com.ocient.jdbc.proto
Enum PlanProtocol.WindowOperator.WindowOp
java.lang.Object
java.lang.Enum<PlanProtocol.WindowOperator.WindowOp>
com.ocient.jdbc.proto.PlanProtocol.WindowOperator.WindowOp
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PlanProtocol.WindowOperator.WindowOp>,java.lang.constant.Constable
- Enclosing class:
- PlanProtocol.WindowOperator
public static enum PlanProtocol.WindowOperator.WindowOp extends Enum<PlanProtocol.WindowOperator.WindowOp> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
xg.db.sqlPlans.WindowOperator.WindowOp-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALIDINVALID = 0;UNRECOGNIZEDWINDOW_OP_COUNTWINDOW_OP_COUNT = 2;WINDOW_OP_COUNT_STARTakes no argumentWINDOW_OP_CUME_DISTTakes no argumentWINDOW_OP_DENSE_RANKWINDOW_OP_DENSE_RANK = 7;WINDOW_OP_FIRST_VALUEWINDOW_OP_FIRST_VALUE = 9;WINDOW_OP_FIRST_VALUE_IGNORE_NULLSWINDOW_OP_FIRST_VALUE_IGNORE_NULLS = 19;WINDOW_OP_LAGWINDOW_OP_LAG = 13;WINDOW_OP_LAST_VALUEWINDOW_OP_LAST_VALUE = 10;WINDOW_OP_LAST_VALUE_IGNORE_NULLSWINDOW_OP_LAST_VALUE_IGNORE_NULLS = 20;WINDOW_OP_LEADTakes a normal column argument plus a constant positive integer argumentWINDOW_OP_MAXWINDOW_OP_MAX = 5;WINDOW_OP_MINTakes a normal column argumentWINDOW_OP_NTH_VALUETakes an argument that must be constant and positive integerWINDOW_OP_NTH_VALUE_IGNORE_NULLSWINDOW_OP_NTH_VALUE_IGNORE_NULLS = 21;WINDOW_OP_NTILETakes an argument that must be constant and positive integerWINDOW_OP_PERCENT_RANKWINDOW_OP_PERCENT_RANK = 15;WINDOW_OP_PERCENTILETakes a normal column argument and an argument that must be constant and be floating point between 0 and 1WINDOW_OP_PRODUCTWINDOW_OP_PRODUCT = 22;WINDOW_OP_RANKTakes no argumentWINDOW_OP_RATIO_TO_REPORTTakes a normal column argumentWINDOW_OP_ROW_NUMBERWINDOW_OP_ROW_NUMBER = 8;WINDOW_OP_SUMTakes a normal column argument -
Field Summary
Fields Modifier and Type Field Description static intINVALID_VALUEINVALID = 0;static intWINDOW_OP_COUNT_STAR_VALUETakes no argumentstatic intWINDOW_OP_COUNT_VALUEWINDOW_OP_COUNT = 2;static intWINDOW_OP_CUME_DIST_VALUETakes no argumentstatic intWINDOW_OP_DENSE_RANK_VALUEWINDOW_OP_DENSE_RANK = 7;static intWINDOW_OP_FIRST_VALUE_IGNORE_NULLS_VALUEWINDOW_OP_FIRST_VALUE_IGNORE_NULLS = 19;static intWINDOW_OP_FIRST_VALUE_VALUEWINDOW_OP_FIRST_VALUE = 9;static intWINDOW_OP_LAG_VALUEWINDOW_OP_LAG = 13;static intWINDOW_OP_LAST_VALUE_IGNORE_NULLS_VALUEWINDOW_OP_LAST_VALUE_IGNORE_NULLS = 20;static intWINDOW_OP_LAST_VALUE_VALUEWINDOW_OP_LAST_VALUE = 10;static intWINDOW_OP_LEAD_VALUETakes a normal column argument plus a constant positive integer argumentstatic intWINDOW_OP_MAX_VALUEWINDOW_OP_MAX = 5;static intWINDOW_OP_MIN_VALUETakes a normal column argumentstatic intWINDOW_OP_NTH_VALUE_IGNORE_NULLS_VALUEWINDOW_OP_NTH_VALUE_IGNORE_NULLS = 21;static intWINDOW_OP_NTH_VALUE_VALUETakes an argument that must be constant and positive integerstatic intWINDOW_OP_NTILE_VALUETakes an argument that must be constant and positive integerstatic intWINDOW_OP_PERCENT_RANK_VALUEWINDOW_OP_PERCENT_RANK = 15;static intWINDOW_OP_PERCENTILE_VALUETakes a normal column argument and an argument that must be constant and be floating point between 0 and 1static intWINDOW_OP_PRODUCT_VALUEWINDOW_OP_PRODUCT = 22;static intWINDOW_OP_RANK_VALUETakes no argumentstatic intWINDOW_OP_RATIO_TO_REPORT_VALUETakes a normal column argumentstatic intWINDOW_OP_ROW_NUMBER_VALUEWINDOW_OP_ROW_NUMBER = 8;static intWINDOW_OP_SUM_VALUETakes a normal column argument -
Method Summary
Modifier and Type Method Description static PlanProtocol.WindowOperator.WindowOpforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<PlanProtocol.WindowOperator.WindowOp>internalGetValueMap()static PlanProtocol.WindowOperator.WindowOpvalueOf(int value)Deprecated.static PlanProtocol.WindowOperator.WindowOpvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static PlanProtocol.WindowOperator.WindowOpvalueOf(String name)Returns the enum constant of this type with the specified name.static PlanProtocol.WindowOperator.WindowOp[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INVALID
INVALID = 0; -
WINDOW_OP_SUM
Takes a normal column argument
WINDOW_OP_SUM = 1; -
WINDOW_OP_COUNT
WINDOW_OP_COUNT = 2; -
WINDOW_OP_COUNT_STAR
Takes no argument
WINDOW_OP_COUNT_STAR = 3; -
WINDOW_OP_MIN
Takes a normal column argument
WINDOW_OP_MIN = 4; -
WINDOW_OP_MAX
WINDOW_OP_MAX = 5; -
WINDOW_OP_RANK
Takes no argument
WINDOW_OP_RANK = 6; -
WINDOW_OP_DENSE_RANK
WINDOW_OP_DENSE_RANK = 7; -
WINDOW_OP_ROW_NUMBER
WINDOW_OP_ROW_NUMBER = 8; -
WINDOW_OP_FIRST_VALUE
WINDOW_OP_FIRST_VALUE = 9; -
WINDOW_OP_LAST_VALUE
WINDOW_OP_LAST_VALUE = 10; -
WINDOW_OP_NTH_VALUE
Takes an argument that must be constant and positive integer
WINDOW_OP_NTH_VALUE = 11; -
WINDOW_OP_LEAD
Takes a normal column argument plus a constant positive integer argument
WINDOW_OP_LEAD = 12; -
WINDOW_OP_LAG
WINDOW_OP_LAG = 13; -
WINDOW_OP_CUME_DIST
Takes no argument
WINDOW_OP_CUME_DIST = 14; -
WINDOW_OP_PERCENT_RANK
WINDOW_OP_PERCENT_RANK = 15; -
WINDOW_OP_NTILE
Takes an argument that must be constant and positive integer
WINDOW_OP_NTILE = 16; -
WINDOW_OP_PERCENTILE
Takes a normal column argument and an argument that must be constant and be floating point between 0 and 1
WINDOW_OP_PERCENTILE = 17; -
WINDOW_OP_RATIO_TO_REPORT
Takes a normal column argument
WINDOW_OP_RATIO_TO_REPORT = 18; -
WINDOW_OP_FIRST_VALUE_IGNORE_NULLS
WINDOW_OP_FIRST_VALUE_IGNORE_NULLS = 19; -
WINDOW_OP_LAST_VALUE_IGNORE_NULLS
WINDOW_OP_LAST_VALUE_IGNORE_NULLS = 20; -
WINDOW_OP_NTH_VALUE_IGNORE_NULLS
WINDOW_OP_NTH_VALUE_IGNORE_NULLS = 21; -
WINDOW_OP_PRODUCT
WINDOW_OP_PRODUCT = 22; -
UNRECOGNIZED
-
-
Field Details
-
INVALID_VALUE
public static final int INVALID_VALUEINVALID = 0;- See Also:
- Constant Field Values
-
WINDOW_OP_SUM_VALUE
public static final int WINDOW_OP_SUM_VALUETakes a normal column argument
WINDOW_OP_SUM = 1;- See Also:
- Constant Field Values
-
WINDOW_OP_COUNT_VALUE
public static final int WINDOW_OP_COUNT_VALUEWINDOW_OP_COUNT = 2;- See Also:
- Constant Field Values
-
WINDOW_OP_COUNT_STAR_VALUE
public static final int WINDOW_OP_COUNT_STAR_VALUETakes no argument
WINDOW_OP_COUNT_STAR = 3;- See Also:
- Constant Field Values
-
WINDOW_OP_MIN_VALUE
public static final int WINDOW_OP_MIN_VALUETakes a normal column argument
WINDOW_OP_MIN = 4;- See Also:
- Constant Field Values
-
WINDOW_OP_MAX_VALUE
public static final int WINDOW_OP_MAX_VALUEWINDOW_OP_MAX = 5;- See Also:
- Constant Field Values
-
WINDOW_OP_RANK_VALUE
public static final int WINDOW_OP_RANK_VALUETakes no argument
WINDOW_OP_RANK = 6;- See Also:
- Constant Field Values
-
WINDOW_OP_DENSE_RANK_VALUE
public static final int WINDOW_OP_DENSE_RANK_VALUEWINDOW_OP_DENSE_RANK = 7;- See Also:
- Constant Field Values
-
WINDOW_OP_ROW_NUMBER_VALUE
public static final int WINDOW_OP_ROW_NUMBER_VALUEWINDOW_OP_ROW_NUMBER = 8;- See Also:
- Constant Field Values
-
WINDOW_OP_FIRST_VALUE_VALUE
public static final int WINDOW_OP_FIRST_VALUE_VALUEWINDOW_OP_FIRST_VALUE = 9;- See Also:
- Constant Field Values
-
WINDOW_OP_LAST_VALUE_VALUE
public static final int WINDOW_OP_LAST_VALUE_VALUEWINDOW_OP_LAST_VALUE = 10;- See Also:
- Constant Field Values
-
WINDOW_OP_NTH_VALUE_VALUE
public static final int WINDOW_OP_NTH_VALUE_VALUETakes an argument that must be constant and positive integer
WINDOW_OP_NTH_VALUE = 11;- See Also:
- Constant Field Values
-
WINDOW_OP_LEAD_VALUE
public static final int WINDOW_OP_LEAD_VALUETakes a normal column argument plus a constant positive integer argument
WINDOW_OP_LEAD = 12;- See Also:
- Constant Field Values
-
WINDOW_OP_LAG_VALUE
public static final int WINDOW_OP_LAG_VALUEWINDOW_OP_LAG = 13;- See Also:
- Constant Field Values
-
WINDOW_OP_CUME_DIST_VALUE
public static final int WINDOW_OP_CUME_DIST_VALUETakes no argument
WINDOW_OP_CUME_DIST = 14;- See Also:
- Constant Field Values
-
WINDOW_OP_PERCENT_RANK_VALUE
public static final int WINDOW_OP_PERCENT_RANK_VALUEWINDOW_OP_PERCENT_RANK = 15;- See Also:
- Constant Field Values
-
WINDOW_OP_NTILE_VALUE
public static final int WINDOW_OP_NTILE_VALUETakes an argument that must be constant and positive integer
WINDOW_OP_NTILE = 16;- See Also:
- Constant Field Values
-
WINDOW_OP_PERCENTILE_VALUE
public static final int WINDOW_OP_PERCENTILE_VALUETakes a normal column argument and an argument that must be constant and be floating point between 0 and 1
WINDOW_OP_PERCENTILE = 17;- See Also:
- Constant Field Values
-
WINDOW_OP_RATIO_TO_REPORT_VALUE
public static final int WINDOW_OP_RATIO_TO_REPORT_VALUETakes a normal column argument
WINDOW_OP_RATIO_TO_REPORT = 18;- See Also:
- Constant Field Values
-
WINDOW_OP_FIRST_VALUE_IGNORE_NULLS_VALUE
public static final int WINDOW_OP_FIRST_VALUE_IGNORE_NULLS_VALUEWINDOW_OP_FIRST_VALUE_IGNORE_NULLS = 19;- See Also:
- Constant Field Values
-
WINDOW_OP_LAST_VALUE_IGNORE_NULLS_VALUE
public static final int WINDOW_OP_LAST_VALUE_IGNORE_NULLS_VALUEWINDOW_OP_LAST_VALUE_IGNORE_NULLS = 20;- See Also:
- Constant Field Values
-
WINDOW_OP_NTH_VALUE_IGNORE_NULLS_VALUE
public static final int WINDOW_OP_NTH_VALUE_IGNORE_NULLS_VALUEWINDOW_OP_NTH_VALUE_IGNORE_NULLS = 21;- See Also:
- Constant Field Values
-
WINDOW_OP_PRODUCT_VALUE
public static final int WINDOW_OP_PRODUCT_VALUEWINDOW_OP_PRODUCT = 22;- See Also:
- Constant Field Values
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
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 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
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PlanProtocol.WindowOperator.WindowOp> 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 PlanProtocol.WindowOperator.WindowOp valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)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:
desc- 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
-