public class JavaSizeBasedClusteringPlanStrategy<T> extends PartitionAwareClusteringPlanStrategy<T,List<org.apache.hudi.common.model.HoodieRecord<T>>,List<org.apache.hudi.common.model.HoodieKey>,List<WriteStatus>>
CLUSTERING_PLAN_VERSION_1| Constructor and Description |
|---|
JavaSizeBasedClusteringPlanStrategy(HoodieTable table,
org.apache.hudi.common.engine.HoodieEngineContext engineContext,
HoodieWriteConfig writeConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected Stream<org.apache.hudi.avro.model.HoodieClusteringGroup> |
buildClusteringGroupsForPartition(String partitionPath,
List<org.apache.hudi.common.model.FileSlice> fileSlices) |
protected Stream<org.apache.hudi.common.model.FileSlice> |
getFileSlicesEligibleForClustering(String partition) |
protected Map<String,String> |
getStrategyParams() |
filterPartitionPaths, generateClusteringPlan, getNumberOfOutputFileGroups, getRegexPatternMatchedPartitionsbuildMetrics, checkAndGetClusteringPlanStrategy, checkPrecondition, getEngineContext, getExtraMetadata, getFileSliceInfo, getHoodieTable, getPlanVersion, getWriteConfigpublic JavaSizeBasedClusteringPlanStrategy(HoodieTable table, org.apache.hudi.common.engine.HoodieEngineContext engineContext, HoodieWriteConfig writeConfig)
protected Stream<org.apache.hudi.avro.model.HoodieClusteringGroup> buildClusteringGroupsForPartition(String partitionPath, List<org.apache.hudi.common.model.FileSlice> fileSlices)
buildClusteringGroupsForPartition in class PartitionAwareClusteringPlanStrategy<T,List<org.apache.hudi.common.model.HoodieRecord<T>>,List<org.apache.hudi.common.model.HoodieKey>,List<WriteStatus>>protected Map<String,String> getStrategyParams()
getStrategyParams in class ClusteringPlanStrategy<T,List<org.apache.hudi.common.model.HoodieRecord<T>>,List<org.apache.hudi.common.model.HoodieKey>,List<WriteStatus>>protected Stream<org.apache.hudi.common.model.FileSlice> getFileSlicesEligibleForClustering(String partition)
getFileSlicesEligibleForClustering in class ClusteringPlanStrategy<T,List<org.apache.hudi.common.model.HoodieRecord<T>>,List<org.apache.hudi.common.model.HoodieKey>,List<WriteStatus>>Copyright © 2023 The Apache Software Foundation. All rights reserved.