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