Class AbstractRowDataSerializer<T extends RowData>
- java.lang.Object
-
- org.apache.flink.api.common.typeutils.TypeSerializer<T>
-
- org.apache.flink.table.runtime.typeutils.PagedTypeSerializer<T>
-
- org.apache.flink.table.runtime.typeutils.AbstractRowDataSerializer<T>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BinaryRowDataSerializer
,RowDataSerializer
@Internal public abstract class AbstractRowDataSerializer<T extends RowData> extends PagedTypeSerializer<T>
Row serializer, provided paged serialize paged method.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractRowDataSerializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract int
getArity()
Get the number of fields.abstract BinaryRowData
toBinaryRow(T rowData)
Convert aRowData
to aBinaryRowData
.-
Methods inherited from class org.apache.flink.table.runtime.typeutils.PagedTypeSerializer
deserializeFromPages, deserializeFromPages, mapFromPages, serializeToPages, skipRecordFromPages
-
Methods inherited from class org.apache.flink.api.common.typeutils.TypeSerializer
copy, copy, copy, createInstance, deserialize, deserialize, duplicate, equals, getLength, hashCode, isImmutableType, serialize, snapshotConfiguration
-
-
-
-
Method Detail
-
getArity
public abstract int getArity()
Get the number of fields.
-
toBinaryRow
public abstract BinaryRowData toBinaryRow(T rowData) throws IOException
Convert aRowData
to aBinaryRowData
.- Throws:
IOException
-
-