public enum KeyFieldCodecType extends Enum<KeyFieldCodecType>
Java class for KeyFieldCodecType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="KeyFieldCodecType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="lexicopad"/>
<enumeration value="hash"/>
<enumeration value="lexicohash"/>
<enumeration value="native"/>
<enumeration value="lexicosimple"/>
<enumeration value="custom"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CUSTOM
Indicates key fields are encoded with a user supplied codec.
|
HASH
Indicates a non-lexicographic one-way hashing codec where the configured hashing
algorithm is used to convert a bytes representation of the data to an integer.
|
LEXICOHASH
Indicates a lexicographic one-way hashing codec where the configured hashing
algorithm is used to convert a bytes representation of the data to an integer.
|
LEXICOPAD
Indicates a padding codec where keys are padded to support lexicographic
ordering for the particular data type.
|
LEXICOSIMPLE
Indicates key fields of all datatypes are encoded as lexicographic strings.
|
NATIVE
When formatting key fields, indicates to leave the data
for a key field in its native data type (bytes representation) and omit any formatting
rather than representing the field as a formatted string.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyFieldCodecType |
fromValue(String v) |
String |
value() |
static KeyFieldCodecType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyFieldCodecType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyFieldCodecType LEXICOPAD
public static final KeyFieldCodecType HASH
public static final KeyFieldCodecType LEXICOHASH
public static final KeyFieldCodecType NATIVE
public static final KeyFieldCodecType LEXICOSIMPLE
public static final KeyFieldCodecType CUSTOM
public static KeyFieldCodecType[] values()
for (KeyFieldCodecType c : KeyFieldCodecType.values()) System.out.println(c);
public static KeyFieldCodecType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static KeyFieldCodecType fromValue(String v)
Copyright © 2024. All Rights Reserved.