public abstract class BucketIndexBulkInsertPartitioner<T> extends Object implements BulkInsertPartitioner<T>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
consistentLogicalTimestampEnabled |
protected List<Boolean> |
doAppend |
protected List<String> |
fileIdPfxList |
protected List<String> |
indexKeyFields |
static org.apache.logging.log4j.Logger |
LOG |
protected String[] |
sortColumnNames |
protected HoodieTable |
table |
| Constructor and Description |
|---|
BucketIndexBulkInsertPartitioner(HoodieTable table,
String sortString,
boolean preserveHoodieMetadata) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
arePartitionRecordsSorted() |
String |
getFileIdPfx(int partitionId)
Return file group id prefix for the given data partition.
|
Option<WriteHandleFactory> |
getWriteHandleFactory(int idx)
Return write handle factory for the given partition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrepartitionRecordspublic static final org.apache.logging.log4j.Logger LOG
protected final String[] sortColumnNames
protected final boolean consistentLogicalTimestampEnabled
protected final HoodieTable table
public BucketIndexBulkInsertPartitioner(HoodieTable table, String sortString, boolean preserveHoodieMetadata)
public Option<WriteHandleFactory> getWriteHandleFactory(int idx)
BulkInsertPartitionergetWriteHandleFactory in interface BulkInsertPartitioner<T>idx - data partitionpublic String getFileIdPfx(int partitionId)
BulkInsertPartitionergetFileIdPfx in interface BulkInsertPartitioner<T>partitionId - data partitionpublic boolean arePartitionRecordsSorted()
arePartitionRecordsSorted in interface BulkInsertPartitioner<T>true if the records are sorted by partition-path; false otherwise.Copyright © 2024 The Apache Software Foundation. All rights reserved.