public enum ReadTier extends Enum<ReadTier>
ReadOptions read tiers.| Enum Constant and Description |
|---|
BLOCK_CACHE_TIER |
MEMTABLE_TIER |
PERSISTED_TIER |
READ_ALL_TIER |
| Modifier and Type | Method and Description |
|---|---|
static ReadTier |
getReadTier(byte value)
Get ReadTier by byte value.
|
byte |
getValue()
Returns the byte value of the enumerations value
|
static ReadTier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadTier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadTier READ_ALL_TIER
public static final ReadTier BLOCK_CACHE_TIER
public static final ReadTier PERSISTED_TIER
public static final ReadTier MEMTABLE_TIER
public static ReadTier[] values()
for (ReadTier c : ReadTier.values()) System.out.println(c);
public static ReadTier 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 byte getValue()
public static ReadTier getReadTier(byte value)
value - byte representation of ReadTier.ReadTier instance or null.IllegalArgumentException - if an invalid
value is provided.Copyright © 2022. All rights reserved.