Class DIOPrimitiveByteArray2DimNullableSerde

java.lang.Object
com.espertech.esper.common.internal.serde.serdeset.builtin.DIOPrimitiveByteArray2DimNullableSerde
All Implemented Interfaces:
DataInputOutputSerde<byte[][]>

public class DIOPrimitiveByteArray2DimNullableSerde extends Object implements DataInputOutputSerde<byte[][]>
  • Field Details

  • Method Details

    • write

      public void write(byte[][] object, DataOutput output, byte[] unitKey, EventBeanCollatedWriter writer) throws IOException
      Description copied from interface: DataInputOutputSerde
      Write an object to the stream.
      Specified by:
      write in interface DataInputOutputSerde<byte[][]>
      Parameters:
      object - to write or null if this is a nullable value
      output - to write to
      unitKey - the page key of the page containing the object, can be null if not relevant or not provided
      writer - the writer for events, can be null if not relevant or not provided
      Throws:
      IOException - for io exceptions
    • read

      public byte[][] read(DataInput input, byte[] unitKey) throws IOException
      Description copied from interface: DataInputOutputSerde
      Read an object from the stream.
      Specified by:
      read in interface DataInputOutputSerde<byte[][]>
      Parameters:
      input - input to read
      unitKey - the identifying key of the reader, can be null if not relevant or not provided
      Returns:
      object read or null if this is a nullable value
      Throws:
      IOException - for io exceptions