org.apache.accumulo.server.tabletserver
Class EncodedBinaryTreePath

java.lang.Object
  extended by 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.


Constructor Summary
EncodedBinaryTreePath()
           
EncodedBinaryTreePath(String encodedPath)
           
 
Method Summary
 String getEncoding()
           
 EncodedBinaryTreePath getLeftChild()
           
 EncodedBinaryTreePath getParent()
           
 EncodedBinaryTreePath getRightChild()
           
static void main(String[] args)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EncodedBinaryTreePath

public EncodedBinaryTreePath()

EncodedBinaryTreePath

public EncodedBinaryTreePath(String encodedPath)
Method Detail

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.