Closed shvachko closed 9 years ago
Comment #2 originally posted by shvachko on 2015-04-15T18:48:31.000Z:
Attached patch creates an INodeManager class that contains methods for retrieving, updating, and deleting an INode. It also contains a "map" method that scans the table and applies the given Function to each INode it obtains. This allows NamespaceProcessor to operate on INode listings while leaving the row scanning logic to INodeManager.
Comment #3 originally posted by shvachko on 2015-04-15T19:04:39.000Z:
I also moved the static deserialization methods to a new class, RowDataDeserializer.
Reviewed Milan's patch. Good refactoring.
Made all the changes above. Also renamed RawDataDeserializer to FileFieldDeserializer. Will commit now with credit to Milan.
Committed. Thank you Milan.
Original issue 96 created by shvachko on 2015-04-15T18:42:58.000Z:
The logic for retrieving, updating, and deleting an INode from HBase, along with any other HBase-specific logic, should be moved to a new class to make NamespaceProcessor more compact and easier to work with.