public class BucketBulkInsertWriterHelper extends BulkInsertWriterHelper
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_GROUP_META_FIELD |
handle, handles, hoodieTable, instantTime, isInputSorted, keyGen, rowType, taskEpochId, taskId, taskPartitionId, writeConfig| Constructor and Description |
|---|
BucketBulkInsertWriterHelper(org.apache.flink.configuration.Configuration conf,
HoodieTable<?,?,?,?> hoodieTable,
HoodieWriteConfig writeConfig,
String instantTime,
int taskPartitionId,
long taskId,
long taskEpochId,
org.apache.flink.table.types.logical.RowType rowType) |
| Modifier and Type | Method and Description |
|---|---|
static SortOperatorGen |
getFileIdSorterGen(org.apache.flink.table.types.logical.RowType rowType) |
static org.apache.flink.table.types.logical.RowType |
rowTypeWithFileId(org.apache.flink.table.types.logical.RowType rowType) |
static org.apache.flink.table.data.RowData |
rowWithFileId(Map<String,String> bucketIdToFileId,
RowDataKeyGen keyGen,
org.apache.flink.table.data.RowData record,
String indexKeys,
int numBuckets) |
void |
write(org.apache.flink.table.data.RowData tuple) |
close, getHoodieWriteStatuses, getInstantTime, getWriteStatusespublic static final String FILE_GROUP_META_FIELD
public BucketBulkInsertWriterHelper(org.apache.flink.configuration.Configuration conf,
HoodieTable<?,?,?,?> hoodieTable,
HoodieWriteConfig writeConfig,
String instantTime,
int taskPartitionId,
long taskId,
long taskEpochId,
org.apache.flink.table.types.logical.RowType rowType)
public void write(org.apache.flink.table.data.RowData tuple)
throws IOException
write in class BulkInsertWriterHelperIOExceptionpublic static SortOperatorGen getFileIdSorterGen(org.apache.flink.table.types.logical.RowType rowType)
public static org.apache.flink.table.data.RowData rowWithFileId(Map<String,String> bucketIdToFileId, RowDataKeyGen keyGen, org.apache.flink.table.data.RowData record, String indexKeys, int numBuckets)
public static org.apache.flink.table.types.logical.RowType rowTypeWithFileId(org.apache.flink.table.types.logical.RowType rowType)
Copyright © 2022 The Apache Software Foundation. All rights reserved.