org.apache.accumulo.core.util.format
Class DefaultFormatter
java.lang.Object
org.apache.accumulo.core.util.format.DefaultFormatter
- All Implemented Interfaces:
- java.util.Iterator<java.lang.String>, Formatter
- Direct Known Subclasses:
- DeleterFormatter, ShardedTableDistributionFormatter, StatisticsDisplayFormatter
public class DefaultFormatter
- extends java.lang.Object
- implements Formatter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFormatter
public DefaultFormatter()
initialize
public void initialize(java.lang.Iterable<java.util.Map.Entry<Key,Value>> scanner,
boolean printTimestamps)
- Specified by:
initialize
in interface Formatter
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<java.lang.String>
next
public java.lang.String next()
- Specified by:
next
in interface java.util.Iterator<java.lang.String>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<java.lang.String>
formatEntry
public static java.lang.String formatEntry(java.util.Map.Entry<Key,Value> entry,
boolean showTimestamps)
getScannerIterator
public java.util.Iterator<java.util.Map.Entry<Key,Value>> getScannerIterator()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.