public class KeyValueWithLevelNoReusingSerializer extends ObjectSerializer<KeyValue>
KeyValue
with Level.rowSerializer
Constructor and Description |
---|
KeyValueWithLevelNoReusingSerializer(RowType keyType,
RowType valueType) |
Modifier and Type | Method and Description |
---|---|
KeyValue |
fromRow(InternalRow row)
Convert a
InternalRow to T . |
InternalRow |
toRow(KeyValue kv)
Convert a
T to InternalRow . |
deserialize, deserializeFromBytes, deserializeList, deserializeList, fieldTypes, numFields, serialize, serializeList, serializeList, serializeToBytes
public InternalRow toRow(KeyValue kv)
ObjectSerializer
T
to InternalRow
.toRow
in class ObjectSerializer<KeyValue>
public KeyValue fromRow(InternalRow row)
ObjectSerializer
InternalRow
to T
.fromRow
in class ObjectSerializer<KeyValue>
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.