java.lang.Object
org.gridgain.ignite.migrationtools.adapter.internal.compute.VoidMarshaller
All Implemented Interfaces:
org.apache.ignite3.marshalling.Marshaller<Void,byte[]>

public class VoidMarshaller extends Object implements org.apache.ignite3.marshalling.Marshaller<Void,byte[]>
Marshaller for null values. Copied from bootstrap module.
  • Field Details

  • Constructor Details

    • VoidMarshaller

      public VoidMarshaller()
  • Method Details

    • marshal

      public byte @Nullable [] marshal(@Nullable @Nullable Void unused) throws org.apache.ignite3.marshalling.UnsupportedObjectTypeMarshallingException
      Specified by:
      marshal in interface org.apache.ignite3.marshalling.Marshaller<Void,byte[]>
      Throws:
      org.apache.ignite3.marshalling.UnsupportedObjectTypeMarshallingException
    • unmarshal

      @Nullable public @Nullable Void unmarshal(byte @Nullable [] bytes) throws org.apache.ignite3.marshalling.UnsupportedObjectTypeMarshallingException
      Specified by:
      unmarshal in interface org.apache.ignite3.marshalling.Marshaller<Void,byte[]>
      Throws:
      org.apache.ignite3.marshalling.UnsupportedObjectTypeMarshallingException