org.apache.accumulo.server.tabletserver
Class EncodedBinaryTreePath
java.lang.Object
org.apache.accumulo.server.tabletserver.EncodedBinaryTreePath
public class EncodedBinaryTreePath
- extends Object
This class provides a way of encoding a path into a binary tree into a string.
The encoding is constructed in a such a way that siblings should come togther when the encodings are sorted.
EncodedBinaryTreePath
public EncodedBinaryTreePath()
EncodedBinaryTreePath
public EncodedBinaryTreePath(String encodedPath)
getParent
public EncodedBinaryTreePath getParent()
getLeftChild
public EncodedBinaryTreePath getLeftChild()
getRightChild
public EncodedBinaryTreePath getRightChild()
getEncoding
public String getEncoding()
toString
public String toString()
- Overrides:
toString
in class Object
main
public static void main(String[] args)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.