org.apache.accumulo.server.tabletserver
Class EncodedBinaryTreePath
java.lang.Object
org.apache.accumulo.server.tabletserver.EncodedBinaryTreePath
public class EncodedBinaryTreePath
- extends java.lang.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EncodedBinaryTreePath
public EncodedBinaryTreePath()
EncodedBinaryTreePath
public EncodedBinaryTreePath(java.lang.String encodedPath)
getParent
public EncodedBinaryTreePath getParent()
getLeftChild
public EncodedBinaryTreePath getLeftChild()
getRightChild
public EncodedBinaryTreePath getRightChild()
getEncoding
public java.lang.String getEncoding()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
main
public static void main(java.lang.String[] args)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.