public class HoodieClusteringConfig extends HoodieConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
HoodieClusteringConfig.Builder |
static class |
HoodieClusteringConfig.LayoutOptimizationStrategy
Layout optimization strategies such as Z-order/Hilbert space-curves, etc
|
static class |
HoodieClusteringConfig.SpatialCurveCompositionStrategyType
Type of a strategy for building Z-order/Hilbert space-filling curves.
|
CONFIG_VALUES_DELIMITER, props| Constructor and Description |
|---|
HoodieClusteringConfig() |
| Modifier and Type | Method and Description |
|---|---|
static HoodieClusteringConfig |
from(TypedProperties props) |
boolean |
isAsyncClusteringEnabled() |
boolean |
isInlineClusteringEnabled() |
static HoodieClusteringConfig.Builder |
newBuilder() |
contains, contains, create, getBoolean, getBooleanOrDefault, getBooleanOrDefault, getDouble, getFloat, getInt, getIntOrDefault, getLong, getProps, getProps, getSplitStrings, getSplitStrings, getString, getString, getStringOrDefault, getStringOrDefault, getStringOrThrow, setAll, setDefault, setDefaultOnCondition, setDefaults, setDefaultValue, setDefaultValue, setValue, setValuepublic static final String CLUSTERING_STRATEGY_PARAM_PREFIX
public static final String SPARK_SIZED_BASED_CLUSTERING_PLAN_STRATEGY
public static final String FLINK_SIZED_BASED_CLUSTERING_PLAN_STRATEGY
public static final String JAVA_SIZED_BASED_CLUSTERING_PLAN_STRATEGY
public static final String SPARK_SORT_AND_SIZE_EXECUTION_STRATEGY
public static final String JAVA_SORT_AND_SIZE_EXECUTION_STRATEGY
public static final String PLAN_PARTITION_FILTER_MODE
public static final ConfigProperty<String> DAYBASED_LOOKBACK_PARTITIONS
public static final ConfigProperty<String> PARTITION_FILTER_BEGIN_PARTITION
public static final ConfigProperty<String> PARTITION_FILTER_END_PARTITION
public static final ConfigProperty<String> PLAN_STRATEGY_SMALL_FILE_LIMIT
public static final ConfigProperty<String> PARTITION_REGEX_PATTERN
public static final ConfigProperty<String> PARTITION_SELECTED
public static final ConfigProperty<String> PLAN_STRATEGY_CLASS_NAME
public static final ConfigProperty<String> EXECUTION_STRATEGY_CLASS_NAME
public static final ConfigProperty<String> INLINE_CLUSTERING
public static final ConfigProperty<String> INLINE_CLUSTERING_MAX_COMMITS
public static final ConfigProperty<String> ASYNC_CLUSTERING_MAX_COMMITS
public static final ConfigProperty<String> PLAN_STRATEGY_SKIP_PARTITIONS_FROM_LATEST
public static final ConfigProperty<ClusteringPlanPartitionFilterMode> PLAN_PARTITION_FILTER_MODE_NAME
public static final ConfigProperty<String> PLAN_STRATEGY_MAX_BYTES_PER_OUTPUT_FILEGROUP
public static final ConfigProperty<String> PLAN_STRATEGY_MAX_GROUPS
public static final ConfigProperty<String> PLAN_STRATEGY_TARGET_FILE_MAX_BYTES
public static final ConfigProperty<String> PLAN_STRATEGY_SORT_COLUMNS
public static final ConfigProperty<String> UPDATES_STRATEGY
public static final ConfigProperty<String> SCHEDULE_INLINE_CLUSTERING
public static final ConfigProperty<String> ASYNC_CLUSTERING_ENABLE
public static final ConfigProperty<Boolean> PRESERVE_COMMIT_METADATA
public static final ConfigProperty LAYOUT_OPTIMIZE_ENABLE
LAYOUT_OPTIMIZE_STRATEGY config to enable advanced record layout optimization strategiespublic static final ConfigProperty<String> LAYOUT_OPTIMIZE_STRATEGY
public static final ConfigProperty<String> LAYOUT_OPTIMIZE_SPATIAL_CURVE_BUILD_METHOD
LAYOUT_OPTIMIZE_STRATEGY value is set to
either "z-order" or "hilbert" (ie leveraging space-filling curves)
Currently, two methods to order records along the curve are supported "build" and "sample":
public static final ConfigProperty<String> LAYOUT_OPTIMIZE_BUILD_CURVE_SAMPLE_SIZE
LAYOUT_OPTIMIZE_SPATIAL_CURVE_BUILD_METHOD value
is set to "sample"
Determines target sample size used by the Boundary-based Interleaved Index method.
Larger sample size entails better layout optimization outcomes, at the expense of higher memory
footprint.public static final ConfigProperty LAYOUT_OPTIMIZE_DATA_SKIPPING_ENABLE
public static final ConfigProperty<Boolean> ROLLBACK_PENDING_CLUSTERING_ON_CONFLICT
@Deprecated public static final String CLUSTERING_PLAN_STRATEGY_CLASS
PLAN_STRATEGY_CLASS_NAME and its methods instead@Deprecated public static final String DEFAULT_CLUSTERING_PLAN_STRATEGY_CLASS
PLAN_STRATEGY_CLASS_NAME and its methods instead@Deprecated public static final String CLUSTERING_EXECUTION_STRATEGY_CLASS
EXECUTION_STRATEGY_CLASS_NAME and its methods instead@Deprecated public static final String DEFAULT_CLUSTERING_EXECUTION_STRATEGY_CLASS
EXECUTION_STRATEGY_CLASS_NAME and its methods instead@Deprecated public static final String INLINE_CLUSTERING_PROP
INLINE_CLUSTERING and its methods instead@Deprecated public static final String INLINE_CLUSTERING_MAX_COMMIT_PROP
INLINE_CLUSTERING_MAX_COMMITS and its methods instead@Deprecated public static final String CLUSTERING_TARGET_PARTITIONS
DAYBASED_LOOKBACK_PARTITIONS and its methods instead@Deprecated public static final String DEFAULT_CLUSTERING_TARGET_PARTITIONS
DAYBASED_LOOKBACK_PARTITIONS and its methods instead@Deprecated public static final String CLUSTERING_PLAN_SMALL_FILE_LIMIT
PLAN_STRATEGY_SMALL_FILE_LIMIT and its methods instead@Deprecated public static final String DEFAULT_CLUSTERING_PLAN_SMALL_FILE_LIMIT
PLAN_STRATEGY_SMALL_FILE_LIMIT and its methods instead@Deprecated public static final String CLUSTERING_MAX_BYTES_PER_GROUP
PLAN_STRATEGY_MAX_BYTES_PER_OUTPUT_FILEGROUP and its methods instead@Deprecated public static final String DEFAULT_CLUSTERING_MAX_GROUP_SIZE
PLAN_STRATEGY_MAX_BYTES_PER_OUTPUT_FILEGROUP and its methods instead@Deprecated public static final String CLUSTERING_MAX_NUM_GROUPS
PLAN_STRATEGY_MAX_GROUPS and its methods instead@Deprecated public static final String DEFAULT_CLUSTERING_MAX_NUM_GROUPS
PLAN_STRATEGY_MAX_GROUPS and its methods instead@Deprecated public static final String CLUSTERING_TARGET_FILE_MAX_BYTES
PLAN_STRATEGY_TARGET_FILE_MAX_BYTES and its methods instead@Deprecated public static final String DEFAULT_CLUSTERING_TARGET_FILE_MAX_BYTES
PLAN_STRATEGY_TARGET_FILE_MAX_BYTES and its methods instead@Deprecated public static final String CLUSTERING_SORT_COLUMNS_PROPERTY
PLAN_STRATEGY_SORT_COLUMNS and its methods instead@Deprecated public static final String CLUSTERING_UPDATES_STRATEGY_PROP
UPDATES_STRATEGY and its methods instead@Deprecated public static final String DEFAULT_CLUSTERING_UPDATES_STRATEGY
UPDATES_STRATEGY and its methods instead@Deprecated public static final String ASYNC_CLUSTERING_ENABLE_OPT_KEY
ASYNC_CLUSTERING_ENABLE and its methods instead@Deprecated public static final String DEFAULT_ASYNC_CLUSTERING_ENABLE_OPT_VAL
ASYNC_CLUSTERING_ENABLE and its methods insteadpublic boolean isAsyncClusteringEnabled()
public boolean isInlineClusteringEnabled()
public static HoodieClusteringConfig from(TypedProperties props)
public static HoodieClusteringConfig.Builder newBuilder()
Copyright © 2022 The Apache Software Foundation. All rights reserved.