Class DIONullableObjectArraySerde

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

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

  • Constructor Details

    • DIONullableObjectArraySerde

      public DIONullableObjectArraySerde(Class componentType, DataInputOutputSerde componentBinding)
  • Method Details

    • write

      public void write(Object[] 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<Object[]>
      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 Object[] read(DataInput input, byte[] unitKey) throws IOException
      Description copied from interface: DataInputOutputSerde
      Read an object from the stream.
      Specified by:
      read in interface DataInputOutputSerde<Object[]>
      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