public class TabixIndexMerger extends IndexMerger<TabixIndex>
TabixIndexMerger.out, partLengths| Constructor and Description |
|---|
TabixIndexMerger(java.io.OutputStream out,
long headerLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
finish(long dataFileLength)
Finish merging the indexes, and close the output stream.
|
void |
processIndex(TabixIndex index,
long partLength)
Process the next index and add to the merged index.
|
public TabixIndexMerger(java.io.OutputStream out,
long headerLength)
public void processIndex(TabixIndex index, long partLength)
IndexMergerprocessIndex in class IndexMerger<TabixIndex>index - the index to mergepartLength - the length of the part file corresponding to the index, in bytes.public void finish(long dataFileLength)
throws java.io.IOException
IndexMergerfinish in class IndexMerger<TabixIndex>dataFileLength - the length of the total data file, in bytes.java.io.IOException - if an error occurs