public interface IndexCreator
| Modifier and Type | Method and Description |
|---|---|
void |
addFeature(Feature feature,
long filePosition)
Add a feature to the index
|
Index |
finalizeIndex(long finalFilePosition)
Create the index, given the stream of features passed in to this point
|
void addFeature(Feature feature, long filePosition)
feature - the feature, of which start, end, and contig must be filled infilePosition - the current file position, at the beginning of the specified featureIndex finalizeIndex(long finalFilePosition)
finalFilePosition - the final file position, for indexes that have to close out with the final position