public class BulkDataSorter<K,V> extends Object
PersistedBTreeBuilder
.Constructor and Description |
---|
BulkDataSorter(TupleReaderWriter<K,V> readerWriter,
Comparator<Tuple<K,V>> tupleComparator,
int splitAfter) |
Modifier and Type | Method and Description |
---|---|
Iterator<Tuple<K,V>> |
getMergeSortedTuples() |
File |
getWorkDir() |
void |
sort(File dataFile) |
public BulkDataSorter(TupleReaderWriter<K,V> readerWriter, Comparator<Tuple<K,V>> tupleComparator, int splitAfter)
public void sort(File dataFile) throws IOException
IOException
public File getWorkDir()
public Iterator<Tuple<K,V>> getMergeSortedTuples() throws IOException
IOException
Copyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.