org.apache.accumulo.core.util.format
Class BinaryFormatter

java.lang.Object
  extended by org.apache.accumulo.core.util.format.BinaryFormatter
All Implemented Interfaces:
Iterator<String>, Formatter

public class BinaryFormatter
extends Object
implements Formatter


Constructor Summary
BinaryFormatter()
           
 
Method Summary
static StringBuilder appendText(StringBuilder sb, org.apache.hadoop.io.Text t)
           
static String formatEntry(Map.Entry<Key,Value> entry, boolean showTimestamps)
           
static void getlength(int length)
           
 Iterator<Map.Entry<Key,Value>> getScannerIterator()
           
 boolean hasNext()
           
 void initialize(Iterable<Map.Entry<Key,Value>> scanner, boolean printTimestamps)
           
 String next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryFormatter

public BinaryFormatter()
Method Detail

initialize

public void initialize(Iterable<Map.Entry<Key,Value>> scanner,
                       boolean printTimestamps)
Specified by:
initialize in interface Formatter

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<String>

next

public String next()
Specified by:
next in interface Iterator<String>

remove

public void remove()
Specified by:
remove in interface Iterator<String>

formatEntry

public static String formatEntry(Map.Entry<Key,Value> entry,
                                 boolean showTimestamps)

appendText

public static StringBuilder appendText(StringBuilder sb,
                                       org.apache.hadoop.io.Text t)

getScannerIterator

public Iterator<Map.Entry<Key,Value>> getScannerIterator()

getlength

public static void getlength(int length)


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.