Package org.vitrivr.cottontail.grpc
Enum CottontailGrpc.Projection.Operation
- java.lang.Object
-
- java.lang.Enum<CottontailGrpc.Projection.Operation>
-
- org.vitrivr.cottontail.grpc.CottontailGrpc.Projection.Operation
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<CottontailGrpc.Projection.Operation>
- Enclosing class:
- CottontailGrpc.Projection
public static enum CottontailGrpc.Projection.Operation extends java.lang.Enum<CottontailGrpc.Projection.Operation> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumorg.vitrivr.cottontail.grpc.Projection.Operation
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNTCOUNT = 2;COUNT_DISTINCTCOUNT_DISTINCT = 3;EXISTSEXISTS = 4;MAXMAX = 6;MEANMEAN = 8;MINMIN = 7;SELECTSELECT = 0;SELECT_DISTINCTSELECT_DISTINCT = 1;SUMSUM = 5;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCOUNT_DISTINCT_VALUECOUNT_DISTINCT = 3;static intCOUNT_VALUECOUNT = 2;static intEXISTS_VALUEEXISTS = 4;static intMAX_VALUEMAX = 6;static intMEAN_VALUEMEAN = 8;static intMIN_VALUEMIN = 7;static intSELECT_DISTINCT_VALUESELECT_DISTINCT = 1;static intSELECT_VALUESELECT = 0;static intSUM_VALUESUM = 5;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CottontailGrpc.Projection.OperationforNumber(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<CottontailGrpc.Projection.Operation>internalGetValueMap()static CottontailGrpc.Projection.OperationvalueOf(int value)Deprecated.static CottontailGrpc.Projection.OperationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CottontailGrpc.Projection.OperationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CottontailGrpc.Projection.Operation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELECT
public static final CottontailGrpc.Projection.Operation SELECT
SELECT = 0;
-
SELECT_DISTINCT
public static final CottontailGrpc.Projection.Operation SELECT_DISTINCT
SELECT_DISTINCT = 1;
-
COUNT
public static final CottontailGrpc.Projection.Operation COUNT
COUNT = 2;
-
COUNT_DISTINCT
public static final CottontailGrpc.Projection.Operation COUNT_DISTINCT
COUNT_DISTINCT = 3;
-
EXISTS
public static final CottontailGrpc.Projection.Operation EXISTS
EXISTS = 4;
-
SUM
public static final CottontailGrpc.Projection.Operation SUM
SUM = 5;
-
MAX
public static final CottontailGrpc.Projection.Operation MAX
MAX = 6;
-
MIN
public static final CottontailGrpc.Projection.Operation MIN
MIN = 7;
-
MEAN
public static final CottontailGrpc.Projection.Operation MEAN
MEAN = 8;
-
UNRECOGNIZED
public static final CottontailGrpc.Projection.Operation UNRECOGNIZED
-
-
Field Detail
-
SELECT_VALUE
public static final int SELECT_VALUE
SELECT = 0;- See Also:
- Constant Field Values
-
SELECT_DISTINCT_VALUE
public static final int SELECT_DISTINCT_VALUE
SELECT_DISTINCT = 1;- See Also:
- Constant Field Values
-
COUNT_VALUE
public static final int COUNT_VALUE
COUNT = 2;- See Also:
- Constant Field Values
-
COUNT_DISTINCT_VALUE
public static final int COUNT_DISTINCT_VALUE
COUNT_DISTINCT = 3;- See Also:
- Constant Field Values
-
EXISTS_VALUE
public static final int EXISTS_VALUE
EXISTS = 4;- See Also:
- Constant Field Values
-
SUM_VALUE
public static final int SUM_VALUE
SUM = 5;- See Also:
- Constant Field Values
-
MAX_VALUE
public static final int MAX_VALUE
MAX = 6;- See Also:
- Constant Field Values
-
MIN_VALUE
public static final int MIN_VALUE
MIN = 7;- See Also:
- Constant Field Values
-
MEAN_VALUE
public static final int MEAN_VALUE
MEAN = 8;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CottontailGrpc.Projection.Operation[] 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 (CottontailGrpc.Projection.Operation c : CottontailGrpc.Projection.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CottontailGrpc.Projection.Operation valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static CottontailGrpc.Projection.Operation 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static CottontailGrpc.Projection.Operation forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CottontailGrpc.Projection.Operation> 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 CottontailGrpc.Projection.Operation 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-