Interface OperationSerializer
- All Known Implementing Classes:
LogicalOperationSerializer
public interface OperationSerializer
Operation serializer.
-
Method Summary
Modifier and TypeMethodDescriptionDeserializes an operation.voidserializeOperation(Object descriptor, DataOutput out) Serializes an operation.
-
Method Details
-
serializeOperation
Serializes an operation.- Parameters:
descriptor- The descriptor of the operation. May not benull.out- Thedata outputto write the serialized representation to. May not benull.- Throws:
IOException- if any I/O error occurs.
-
deserializeOperation
Deserializes an operation.- Parameters:
in- Thedata inputto read the serialized representation from. May not benull.- Returns:
- The descriptor of the deserialized operation. Never
null. - Throws:
IOException- if any I/O error occurs.
-