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

java.lang.Object
  extended by org.apache.accumulo.core.util.format.DefaultFormatter
All Implemented Interfaces:
Iterator<String>, Formatter
Direct Known Subclasses:
DeleterFormatter, ShardedTableDistributionFormatter, StatisticsDisplayFormatter

public class DefaultFormatter
extends Object
implements Formatter


Constructor Summary
DefaultFormatter()
           
 
Method Summary
static String formatEntry(Map.Entry<Key,Value> entry, boolean showTimestamps)
           
 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

DefaultFormatter

public DefaultFormatter()
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)

getScannerIterator

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


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.