public class KeyValueThinSerializer extends ObjectSerializer<KeyValue>
rowSerializer
Constructor and Description |
---|
KeyValueThinSerializer(RowType keyType,
RowType valueType) |
Modifier and Type | Method and Description |
---|---|
KeyValue |
fromRow(InternalRow row)
Convert a
InternalRow to T . |
InternalRow |
toRow(KeyValue record)
Convert a
T to InternalRow . |
InternalRow |
toRow(long sequenceNumber,
RowKind valueKind,
InternalRow value) |
deserialize, deserializeFromBytes, deserializeList, deserializeList, fieldTypes, numFields, serialize, serializeList, serializeList, serializeToBytes
public InternalRow toRow(KeyValue record)
ObjectSerializer
T
to InternalRow
.toRow
in class ObjectSerializer<KeyValue>
public InternalRow toRow(long sequenceNumber, RowKind valueKind, InternalRow value)
public KeyValue fromRow(InternalRow row)
ObjectSerializer
InternalRow
to T
.fromRow
in class ObjectSerializer<KeyValue>
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.