public class ComplexAvroKeyGenerator extends BaseKeyGenerator
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_RECORD_KEY_SEPARATOR |
consistentLogicalTimestampEnabled, EMPTY_PARTITION, encodePartitionPath, hiveStylePartitioning, partitionPathFields, recordKeyFieldsconfig| Constructor and Description |
|---|
ComplexAvroKeyGenerator(TypedProperties props) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPartitionPath(org.apache.avro.generic.GenericRecord record) |
String |
getRecordKey(org.apache.avro.generic.GenericRecord record) |
getKey, getPartitionPathFields, getRecordKeyFieldNames, isConsistentLogicalTimestampEnabledpublic static final String DEFAULT_RECORD_KEY_SEPARATOR
public ComplexAvroKeyGenerator(TypedProperties props)
public String getRecordKey(org.apache.avro.generic.GenericRecord record)
getRecordKey in class BaseKeyGeneratorpublic String getPartitionPath(org.apache.avro.generic.GenericRecord record)
getPartitionPath in class BaseKeyGeneratorCopyright © 2023 The Apache Software Foundation. All rights reserved.