Interface OperationSerializer

All Known Implementing Classes:
LogicalOperationSerializer

public interface OperationSerializer
Operation serializer.
  • Method Details

    • serializeOperation

      void serializeOperation(Object descriptor, DataOutput out) throws IOException
      Serializes an operation.
      Parameters:
      descriptor - The descriptor of the operation. May not be null.
      out - The data output to write the serialized representation to. May not be null.
      Throws:
      IOException - if any I/O error occurs.
    • deserializeOperation

      Object deserializeOperation(DataInput in) throws IOException
      Deserializes an operation.
      Parameters:
      in - The data input to read the serialized representation from. May not be null.
      Returns:
      The descriptor of the deserialized operation. Never null.
      Throws:
      IOException - if any I/O error occurs.