@EnumDescription(value="Determines how input records are indexed, i.e., looked up based on the key for the location in the existing table. Default is SIMPLE on Spark engine, and INMEMORY on Flink and Java engines.") public static enum HoodieIndex.IndexType extends Enum<HoodieIndex.IndexType>
| Enum Constant and Description |
|---|
BLOOM |
BUCKET |
FLINK_STATE |
GLOBAL_BLOOM |
GLOBAL_SIMPLE |
HBASE |
INMEMORY |
RECORD_INDEX |
SIMPLE |
| Modifier and Type | Method and Description |
|---|---|
static HoodieIndex.IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HoodieIndex.IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@EnumFieldDescription(value="uses an external managed Apache HBase table to store record key to location mapping. HBase index is a global index, enforcing key uniqueness across all partitions in the table.") public static final HoodieIndex.IndexType HBASE
@EnumFieldDescription(value="Uses in-memory hashmap in Spark and Java engine and Flink in-memory state in Flink for indexing.") public static final HoodieIndex.IndexType INMEMORY
@EnumFieldDescription(value="Employs bloom filters built out of the record keys, optionally also pruning candidate files using record key ranges. Key uniqueness is enforced inside partitions.") public static final HoodieIndex.IndexType BLOOM
@EnumFieldDescription(value="Employs bloom filters built out of the record keys, optionally also pruning candidate files using record key ranges. Key uniqueness is enforced across all partitions in the table. ") public static final HoodieIndex.IndexType GLOBAL_BLOOM
@EnumFieldDescription(value="Performs a lean join of the incoming update/delete records against keys extracted from the table on storage.Key uniqueness is enforced inside partitions.") public static final HoodieIndex.IndexType SIMPLE
@EnumFieldDescription(value="Performs a lean join of the incoming update/delete records against keys extracted from the table on storage.Key uniqueness is enforced across all partitions in the table.") public static final HoodieIndex.IndexType GLOBAL_SIMPLE
@EnumFieldDescription(value="locates the file group containing the record fast by using bucket hashing, particularly beneficial in large scale. Use `hoodie.index.bucket.engine` to choose bucket engine type, i.e., how buckets are generated.") public static final HoodieIndex.IndexType BUCKET
@EnumFieldDescription(value="Internal Config for indexing based on Flink state.") public static final HoodieIndex.IndexType FLINK_STATE
@EnumFieldDescription(value="Index which saves the record key to location mappings in the HUDI Metadata Table. Record index is a global index, enforcing key uniqueness across all partitions in the table. Supports sharding to achieve very high scale.") public static final HoodieIndex.IndexType RECORD_INDEX
public static HoodieIndex.IndexType[] values()
for (HoodieIndex.IndexType c : HoodieIndex.IndexType.values()) System.out.println(c);
public static HoodieIndex.IndexType 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 The Apache Software Foundation. All rights reserved.