org.apache.accumulo.core.util.format
public class DefaultFormatter extends Object implements Formatter
Constructor and Description |
---|
DefaultFormatter() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkState(boolean expectInitialized) |
static String |
formatEntry(Map.Entry<Key,Value> entry,
boolean showTimestamps) |
static String |
formatEntry(Map.Entry<Key,Value> entry,
DateFormat timestampFormat) |
Iterator<Map.Entry<Key,Value>> |
getScannerIterator() |
boolean |
hasNext() |
void |
initialize(Iterable<Map.Entry<Key,Value>> scanner,
boolean printTimestamps) |
protected boolean |
isDoTimestamps() |
String |
next() |
protected String |
next(DateFormat timestampFormat) |
void |
remove() |
public void initialize(Iterable<Map.Entry<Key,Value>> scanner, boolean printTimestamps)
initialize
in interface Formatter
protected String next(DateFormat timestampFormat)
protected void checkState(boolean expectInitialized)
public static String formatEntry(Map.Entry<Key,Value> entry, DateFormat timestampFormat)
protected boolean isDoTimestamps()
Copyright © 2011–2015 The Apache Software Foundation. All rights reserved.