org.apache.accumulo.core.util
Class Merge
java.lang.Object
org.apache.accumulo.core.util.Merge
public class Merge
- extends Object
Constructor Summary |
Merge()
|
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Merge
public Merge()
message
protected void message(String format,
Object... args)
start
public void start(String[] args)
throws Merge.MergeException,
org.apache.commons.cli.ParseException
- Throws:
Merge.MergeException
org.apache.commons.cli.ParseException
main
public static void main(String[] args)
throws Merge.MergeException,
org.apache.commons.cli.ParseException
- Throws:
Merge.MergeException
org.apache.commons.cli.ParseException
mergomatic
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
- Throws:
Merge.MergeException
mergeMany
protected long mergeMany(Connector conn,
String table,
List<Merge.Size> sizes,
long goalSize,
boolean force,
boolean last)
throws Merge.MergeException
- Throws:
Merge.MergeException
mergeSome
protected void mergeSome(Connector conn,
String table,
List<Merge.Size> sizes,
int numToMerge)
throws Merge.MergeException
- Throws:
Merge.MergeException
merge
protected void merge(Connector conn,
String table,
List<Merge.Size> sizes,
int numToMerge)
throws Merge.MergeException
- Throws:
Merge.MergeException
getSizeIterator
protected Iterator<Merge.Size> getSizeIterator(Connector conn,
String tablename,
org.apache.hadoop.io.Text start,
org.apache.hadoop.io.Text end)
throws Merge.MergeException
- Throws:
Merge.MergeException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.