T - HoodieRecordPayload typepublic class JavaHoodieMetadataBulkInsertPartitioner<T> extends Object implements BulkInsertPartitioner<List<org.apache.hudi.common.model.HoodieRecord<T>>>
BulkInsertPartitioner implementation for Metadata Table to improve performance of initialization of metadata
table partition when a very large number of records are inserted.| Constructor and Description |
|---|
JavaHoodieMetadataBulkInsertPartitioner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
arePartitionRecordsSorted() |
String |
getFileIdPfx(int partitionId) |
List<org.apache.hudi.common.model.HoodieRecord<T>> |
repartitionRecords(List<org.apache.hudi.common.model.HoodieRecord<T>> records,
int outputPartitions) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWriteHandleFactory, tryPrependPartitionPathColumnspublic JavaHoodieMetadataBulkInsertPartitioner()
public List<org.apache.hudi.common.model.HoodieRecord<T>> repartitionRecords(List<org.apache.hudi.common.model.HoodieRecord<T>> records, int outputPartitions)
repartitionRecords in interface BulkInsertPartitioner<List<org.apache.hudi.common.model.HoodieRecord<T>>>public boolean arePartitionRecordsSorted()
arePartitionRecordsSorted in interface BulkInsertPartitioner<List<org.apache.hudi.common.model.HoodieRecord<T>>>public String getFileIdPfx(int partitionId)
getFileIdPfx in interface BulkInsertPartitioner<List<org.apache.hudi.common.model.HoodieRecord<T>>>Copyright © 2023 The Apache Software Foundation. All rights reserved.