Class CompareTables
- java.lang.Object
-
- org.apache.accumulo.test.replication.merkle.cli.CompareTables
-
public class CompareTables extends Object
Accepts a set of tables, computes the hashes for each, and prints the top-level hash for each table.Will automatically create output tables for intermediate hashes instead of requiring their existence. This will raise an exception when the table we want to use already exists.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompareTables.CompareTablesOpts
-
Constructor Summary
Constructors Modifier Constructor Description protected
CompareTables()
CompareTables(CompareTables.CompareTablesOpts opts)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
computeAllHashes()
static void
main(String[] args)
-
-
-
Constructor Detail
-
CompareTables
protected CompareTables()
-
CompareTables
public CompareTables(CompareTables.CompareTablesOpts opts)
-
-
Method Detail
-
computeAllHashes
public Map<String,String> computeAllHashes() throws AccumuloException, AccumuloSecurityException, TableExistsException, NoSuchAlgorithmException, TableNotFoundException, FileNotFoundException
-
-