public class IntObjectSerializer extends ObjectSerializer<Integer>
ObjectSerializer
for int.rowSerializer
Constructor and Description |
---|
IntObjectSerializer() |
Modifier and Type | Method and Description |
---|---|
Integer |
fromRow(InternalRow row)
Convert a
InternalRow to T . |
InternalRow |
toRow(Integer record)
Convert a
T to InternalRow . |
deserialize, deserializeFromBytes, deserializeList, deserializeList, fieldTypes, numFields, serialize, serializeList, serializeList, serializeToBytes
public InternalRow toRow(Integer record)
ObjectSerializer
T
to InternalRow
.toRow
in class ObjectSerializer<Integer>
public Integer fromRow(InternalRow row)
ObjectSerializer
InternalRow
to T
.fromRow
in class ObjectSerializer<Integer>
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.