public class KeyPartPartitionKeyExtractor extends Object implements PartitionKeyExtractor<InternalRow>
PartitionKeyExtractor
to InternalRow
with only key and partition fields.Constructor and Description |
---|
KeyPartPartitionKeyExtractor(TableSchema schema) |
Modifier and Type | Method and Description |
---|---|
BinaryRow |
partition(InternalRow record) |
BinaryRow |
trimmedPrimaryKey(InternalRow record) |
public KeyPartPartitionKeyExtractor(TableSchema schema)
public BinaryRow partition(InternalRow record)
partition
in interface PartitionKeyExtractor<InternalRow>
public BinaryRow trimmedPrimaryKey(InternalRow record)
trimmedPrimaryKey
in interface PartitionKeyExtractor<InternalRow>
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.