org.apache.accumulo.core.util
public class Merge extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Merge.MergeException |
static class |
Merge.Size |
Constructor and Description |
---|
Merge() |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Merge.Size> |
getSizeIterator(Connector conn,
String tablename,
org.apache.hadoop.io.Text start,
org.apache.hadoop.io.Text end) |
static void |
main(String[] args) |
protected void |
merge(Connector conn,
String table,
List<Merge.Size> sizes,
int numToMerge) |
protected long |
mergeMany(Connector conn,
String table,
List<Merge.Size> sizes,
long goalSize,
boolean force,
boolean last) |
protected void |
mergeSome(Connector conn,
String table,
List<Merge.Size> sizes,
int numToMerge) |
void |
mergomatic(Connector conn,
String table,
org.apache.hadoop.io.Text start,
org.apache.hadoop.io.Text end,
long goalSize,
boolean force) |
protected void |
message(String format,
Object... args) |
void |
start(String[] args) |
public void start(String[] args) throws Merge.MergeException
Merge.MergeException
public static void main(String[] args) throws Merge.MergeException
Merge.MergeException
public void mergomatic(Connector conn, String table, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end, long goalSize, boolean force) throws Merge.MergeException
Merge.MergeException
protected long mergeMany(Connector conn, String table, List<Merge.Size> sizes, long goalSize, boolean force, boolean last) throws Merge.MergeException
Merge.MergeException
protected void mergeSome(Connector conn, String table, List<Merge.Size> sizes, int numToMerge) throws Merge.MergeException
Merge.MergeException
protected void merge(Connector conn, String table, List<Merge.Size> sizes, int numToMerge) throws Merge.MergeException
Merge.MergeException
protected Iterator<Merge.Size> getSizeIterator(Connector conn, String tablename, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end) throws Merge.MergeException
Merge.MergeException
Copyright © 2011–2015 The Apache Software Foundation. All rights reserved.