Class IcebergEnumeratorStateSerializer
- java.lang.Object
-
- org.apache.iceberg.flink.source.enumerator.IcebergEnumeratorStateSerializer
-
- All Implemented Interfaces:
org.apache.flink.core.io.SimpleVersionedSerializer<IcebergEnumeratorState>
,org.apache.flink.core.io.Versioned
@Internal public class IcebergEnumeratorStateSerializer extends java.lang.Object implements org.apache.flink.core.io.SimpleVersionedSerializer<IcebergEnumeratorState>
-
-
Field Summary
Fields Modifier and Type Field Description static IcebergEnumeratorStateSerializer
INSTANCE
-
Constructor Summary
Constructors Constructor Description IcebergEnumeratorStateSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IcebergEnumeratorState
deserialize(int version, byte[] serialized)
int
getVersion()
byte[]
serialize(IcebergEnumeratorState enumState)
-
-
-
Field Detail
-
INSTANCE
public static final IcebergEnumeratorStateSerializer INSTANCE
-
-
Method Detail
-
getVersion
public int getVersion()
- Specified by:
getVersion
in interfaceorg.apache.flink.core.io.SimpleVersionedSerializer<IcebergEnumeratorState>
- Specified by:
getVersion
in interfaceorg.apache.flink.core.io.Versioned
-
serialize
public byte[] serialize(IcebergEnumeratorState enumState) throws java.io.IOException
- Specified by:
serialize
in interfaceorg.apache.flink.core.io.SimpleVersionedSerializer<IcebergEnumeratorState>
- Throws:
java.io.IOException
-
deserialize
public IcebergEnumeratorState deserialize(int version, byte[] serialized) throws java.io.IOException
- Specified by:
deserialize
in interfaceorg.apache.flink.core.io.SimpleVersionedSerializer<IcebergEnumeratorState>
- Throws:
java.io.IOException
-
-