org.apache.accumulo.core.util.format
public abstract class AggregatingFormatter extends DefaultFormatter
Constructor and Description |
---|
AggregatingFormatter() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
aggregateStats(Map.Entry<Key,Value> next)
Generate statistics from each
Map.Entry , called for each entry to be iterated over. |
protected abstract String |
getStats()
Finalize the aggregation and return the result.
|
String |
next() |
checkState, formatEntry, formatEntry, getScannerIterator, hasNext, initialize, isDoTimestamps, next, remove
public String next()
next
in interface Iterator<String>
next
in class DefaultFormatter
protected abstract void aggregateStats(Map.Entry<Key,Value> next)
Map.Entry
, called for each entry to be iterated over.next
- the next entry to aggregateprotected abstract String getStats()
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.