Class DIOJsonArraySerde

java.lang.Object
com.espertech.esper.common.internal.event.json.serde.DIOJsonArraySerde
All Implemented Interfaces:
DataInputOutputSerde<Object[]>

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

  • 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