Package org.apache.pulsar.sql.presto
Enum PulsarColumnHandle.HandleKeyValueType
- java.lang.Object
-
- java.lang.Enum<PulsarColumnHandle.HandleKeyValueType>
-
- org.apache.pulsar.sql.presto.PulsarColumnHandle.HandleKeyValueType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PulsarColumnHandle.HandleKeyValueType>
- Enclosing class:
- PulsarColumnHandle
public static enum PulsarColumnHandle.HandleKeyValueType extends java.lang.Enum<PulsarColumnHandle.HandleKeyValueType>
Column Handle keyValue type, used for keyValue schema.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PulsarColumnHandle.HandleKeyValueTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PulsarColumnHandle.HandleKeyValueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final PulsarColumnHandle.HandleKeyValueType NONE
The handle not for keyValue schema.
-
KEY
public static final PulsarColumnHandle.HandleKeyValueType KEY
The key schema handle for keyValue schema.
-
VALUE
public static final PulsarColumnHandle.HandleKeyValueType VALUE
The value schema handle for keyValue schema.
-
-
Method Detail
-
values
public static PulsarColumnHandle.HandleKeyValueType[] 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 (PulsarColumnHandle.HandleKeyValueType c : PulsarColumnHandle.HandleKeyValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PulsarColumnHandle.HandleKeyValueType 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
-
-