Class JdkMarshallerImpl<T>
java.lang.Object
org.gridgain.ignite.migrationtools.adapter.internal.compute.JdkMarshallerImpl<T>
- All Implemented Interfaces:
org.apache.ignite3.marshalling.Marshaller<T,byte[]>
public class JdkMarshallerImpl<T>
extends Object
implements org.apache.ignite3.marshalling.Marshaller<T,byte[]>
Marshaller implementation based on JDK Serialization. Copied from bootstrap module.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JdkMarshallerImpl
public JdkMarshallerImpl()
-
-
Method Details
-
marshal
@Nullable public @org.jetbrains.annotations.Nullable byte[] marshal(@Nullable T obj) throws org.apache.ignite3.marshalling.UnsupportedObjectTypeMarshallingException - Specified by:
marshalin interfaceorg.apache.ignite3.marshalling.Marshaller<T,byte[]> - Throws:
org.apache.ignite3.marshalling.UnsupportedObjectTypeMarshallingException
-
unmarshal
@Nullable public T unmarshal(@Nullable @org.jetbrains.annotations.Nullable byte[] bytes) throws org.apache.ignite3.marshalling.UnsupportedObjectTypeMarshallingException - Specified by:
unmarshalin interfaceorg.apache.ignite3.marshalling.Marshaller<T,byte[]> - Throws:
org.apache.ignite3.marshalling.UnsupportedObjectTypeMarshallingException
-