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

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

public class ShardedTableDistributionFormatter
extends DefaultFormatter

Formats the rows in a METADATA table scan to show distribution of shards over servers per day. This can be used to determine the effectiveness of the ShardedTableLoadBalancer Use this formatter with the following scan command in the shell: scan -b tableId -c ~tab:loc


Constructor Summary
ShardedTableDistributionFormatter()
           
 
Method Summary
 String next()
           
 
Methods inherited from class org.apache.accumulo.core.util.format.DefaultFormatter
formatEntry, getScannerIterator, hasNext, initialize, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShardedTableDistributionFormatter

public ShardedTableDistributionFormatter()
Method Detail

next

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


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