Description
The fields path and rootBuilder should be removed from the CompositeNodeBuilder to reduce memory overhead.
We can assume that the wrapped node builder implements MemoryNodeBuilder, which provides the getPath() method that can be used.
WRT to the rootBuilder, it have two purposes:
- make it possible to implement the moveTo() between stores,
- create missing ancestors for non-default stores.
Since we only support the read-only mode for non-default stores, these features are not required.