@Experimental public enum BucketMode extends Enum<BucketMode>
Enum Constant and Description |
---|
BUCKET_UNAWARE
Ignoring bucket concept, although all data is written to bucket-0, the parallelism of reads
and writes is unrestricted.
|
CROSS_PARTITION
The cross partition mode is for cross partition upsert (primary keys not contain all
partition fields).
|
HASH_DYNAMIC
The dynamic bucket mode records which bucket the key corresponds to through the index files.
|
HASH_FIXED
The fixed number of buckets configured by the user can only be modified through offline
commands.
|
Modifier and Type | Field and Description |
---|---|
static int |
UNAWARE_BUCKET |
Modifier and Type | Method and Description |
---|---|
static BucketMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BucketMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BucketMode HASH_FIXED
public static final BucketMode HASH_DYNAMIC
public static final BucketMode CROSS_PARTITION
public static final BucketMode BUCKET_UNAWARE
public static final int UNAWARE_BUCKET
public static BucketMode[] values()
for (BucketMode c : BucketMode.values()) System.out.println(c);
public static BucketMode 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 nullCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.