public class AutoRecordGenWrapperAvroKeyGenerator extends BaseKeyGenerator implements AutoRecordKeyGeneratorWrapper
consistentLogicalTimestampEnabled, CUSTOM_KEY_GENERATOR_SPLIT_REGEX, EMPTY_PARTITION, encodePartitionPath, FIELD_SEPARATOR, hiveStylePartitioning, partitionPathFields, recordKeyFieldsconfig| Constructor and Description |
|---|
AutoRecordGenWrapperAvroKeyGenerator(TypedProperties config,
BaseKeyGenerator keyGenerator) |
| Modifier and Type | Method and Description |
|---|---|
BaseKeyGenerator |
getPartitionKeyGenerator() |
String |
getPartitionPath(org.apache.avro.generic.GenericRecord record) |
List<String> |
getPartitionPathFields() |
String |
getRecordKey(org.apache.avro.generic.GenericRecord record) |
List<String> |
getRecordKeyFieldNames() |
boolean |
isConsistentLogicalTimestampEnabled() |
getKeypublic AutoRecordGenWrapperAvroKeyGenerator(TypedProperties config, BaseKeyGenerator keyGenerator)
public String getRecordKey(org.apache.avro.generic.GenericRecord record)
getRecordKey in class BaseKeyGeneratorpublic String getPartitionPath(org.apache.avro.generic.GenericRecord record)
getPartitionPath in class BaseKeyGeneratorpublic List<String> getRecordKeyFieldNames()
getRecordKeyFieldNames in interface KeyGeneratorInterfacegetRecordKeyFieldNames in class BaseKeyGeneratorpublic List<String> getPartitionPathFields()
getPartitionPathFields in class BaseKeyGeneratorpublic boolean isConsistentLogicalTimestampEnabled()
isConsistentLogicalTimestampEnabled in class BaseKeyGeneratorpublic BaseKeyGenerator getPartitionKeyGenerator()
getPartitionKeyGenerator in interface AutoRecordKeyGeneratorWrapperCopyright © 2024 The Apache Software Foundation. All rights reserved.