public class AutoRowDataKeyGen extends RowDataKeyGen
RowData that use an auto key generator.| Constructor and Description |
|---|
AutoRowDataKeyGen(int taskId,
String instantTime,
String partitionFields,
org.apache.flink.table.types.logical.RowType rowType,
boolean hiveStylePartitioning,
boolean encodePartitionPath) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRecordKey(org.apache.flink.table.data.RowData rowData) |
static RowDataKeyGen |
instance(org.apache.flink.configuration.Configuration conf,
org.apache.flink.table.types.logical.RowType rowType,
int taskId,
String instantTime) |
getHoodieKey, getPartitionPath, getPartitionPath, getRecordKey, instancepublic static RowDataKeyGen instance(org.apache.flink.configuration.Configuration conf, org.apache.flink.table.types.logical.RowType rowType, int taskId, String instantTime)
public String getRecordKey(org.apache.flink.table.data.RowData rowData)
getRecordKey in class RowDataKeyGenCopyright © 2023 The Apache Software Foundation. All rights reserved.