Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add two static methods to the Path class to support serialization and deserialization of serializing to DataInputView and deserializing from DataOutputView:

Path deserializeFromDataInputView(DataInputView in) throws IOException

...

Proposed Changes

There are two steps to modifying modify the Path class to no longer implement the IOReadableWritable interface.

First, add the two static methods to the Path class to support serialization and deserialization. Currently, three classes need to serialize/deserialize the Path using the IOReadableWritable interface:

...