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 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:
      marshal in interface org.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:
      unmarshal in interface org.apache.ignite3.marshalling.Marshaller<T,byte[]>
      Throws:
      org.apache.ignite3.marshalling.UnsupportedObjectTypeMarshallingException