Class EmbeddedRefreshHandlerSerializer
- java.lang.Object
-
- org.apache.flink.table.gateway.workflow.EmbeddedRefreshHandlerSerializer
-
- All Implemented Interfaces:
RefreshHandlerSerializer<EmbeddedRefreshHandler>
@PublicEvolving public class EmbeddedRefreshHandlerSerializer extends Object implements RefreshHandlerSerializer<EmbeddedRefreshHandler>
-
-
Field Summary
Fields Modifier and Type Field Description static EmbeddedRefreshHandlerSerializer
INSTANCE
-
Constructor Summary
Constructors Constructor Description EmbeddedRefreshHandlerSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmbeddedRefreshHandler
deserialize(byte[] serializedBytes, ClassLoader cl)
Deserialize the bytes to aRefreshHandler
instance.byte[]
serialize(EmbeddedRefreshHandler refreshHandler)
Serialize theRefreshHandler
instance to bytes.
-
-
-
Field Detail
-
INSTANCE
public static final EmbeddedRefreshHandlerSerializer INSTANCE
-
-
Method Detail
-
serialize
public byte[] serialize(EmbeddedRefreshHandler refreshHandler) throws IOException
Description copied from interface:RefreshHandlerSerializer
Serialize theRefreshHandler
instance to bytes.- Specified by:
serialize
in interfaceRefreshHandlerSerializer<EmbeddedRefreshHandler>
- Throws:
IOException
-
deserialize
public EmbeddedRefreshHandler deserialize(byte[] serializedBytes, ClassLoader cl) throws IOException, ClassNotFoundException
Description copied from interface:RefreshHandlerSerializer
Deserialize the bytes to aRefreshHandler
instance.- Specified by:
deserialize
in interfaceRefreshHandlerSerializer<EmbeddedRefreshHandler>
- Throws:
IOException
ClassNotFoundException
-
-