Package org.apache.calcite.avatica.proto
Enum Common.CursorFactory.Style
- java.lang.Object
-
- java.lang.Enum<Common.CursorFactory.Style>
-
- org.apache.calcite.avatica.proto.Common.CursorFactory.Style
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Common.CursorFactory.Style>
- Enclosing class:
- Common.CursorFactory
public static enum Common.CursorFactory.Style extends java.lang.Enum<Common.CursorFactory.Style> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumCursorFactory.Style
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAYARRAY = 3;LISTLIST = 4;MAPMAP = 5;OBJECTOBJECT = 0;RECORDRECORD = 1;RECORD_PROJECTIONRECORD_PROJECTION = 2;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intARRAY_VALUEARRAY = 3;private static com.google.protobuf.Internal.EnumLiteMap<Common.CursorFactory.Style>internalValueMapstatic intLIST_VALUELIST = 4;static intMAP_VALUEMAP = 5;static intOBJECT_VALUEOBJECT = 0;static intRECORD_PROJECTION_VALUERECORD_PROJECTION = 2;static intRECORD_VALUERECORD = 1;private intvalueprivate static Common.CursorFactory.Style[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateStyle(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Common.CursorFactory.StyleforNumber(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<Common.CursorFactory.Style>internalGetValueMap()static Common.CursorFactory.StylevalueOf(int value)Deprecated.static Common.CursorFactory.StylevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Common.CursorFactory.StylevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Common.CursorFactory.Style[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OBJECT
public static final Common.CursorFactory.Style OBJECT
OBJECT = 0;
-
RECORD
public static final Common.CursorFactory.Style RECORD
RECORD = 1;
-
RECORD_PROJECTION
public static final Common.CursorFactory.Style RECORD_PROJECTION
RECORD_PROJECTION = 2;
-
ARRAY
public static final Common.CursorFactory.Style ARRAY
ARRAY = 3;
-
LIST
public static final Common.CursorFactory.Style LIST
LIST = 4;
-
MAP
public static final Common.CursorFactory.Style MAP
MAP = 5;
-
UNRECOGNIZED
public static final Common.CursorFactory.Style UNRECOGNIZED
-
-
Field Detail
-
OBJECT_VALUE
public static final int OBJECT_VALUE
OBJECT = 0;- See Also:
- Constant Field Values
-
RECORD_VALUE
public static final int RECORD_VALUE
RECORD = 1;- See Also:
- Constant Field Values
-
RECORD_PROJECTION_VALUE
public static final int RECORD_PROJECTION_VALUE
RECORD_PROJECTION = 2;- See Also:
- Constant Field Values
-
ARRAY_VALUE
public static final int ARRAY_VALUE
ARRAY = 3;- See Also:
- Constant Field Values
-
LIST_VALUE
public static final int LIST_VALUE
LIST = 4;- See Also:
- Constant Field Values
-
MAP_VALUE
public static final int MAP_VALUE
MAP = 5;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Common.CursorFactory.Style> internalValueMap
-
VALUES
private static final Common.CursorFactory.Style[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static Common.CursorFactory.Style[] 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 (Common.CursorFactory.Style c : Common.CursorFactory.Style.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Common.CursorFactory.Style 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 Common.CursorFactory.Style 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 Common.CursorFactory.Style forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Common.CursorFactory.Style> 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 Common.CursorFactory.Style 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
-
-