Class StreamBasedTabixIndexCreator
java.lang.Object
htsjdk.tribble.index.tabix.AllRefsTabixIndexCreator
htsjdk.tribble.index.tabix.StreamBasedTabixIndexCreator
- All Implemented Interfaces:
IndexCreator
A
TabixIndexCreator that can write to an output stream.-
Constructor Summary
ConstructorsConstructorDescriptionStreamBasedTabixIndexCreator(SAMSequenceDictionary sequenceDictionary, TabixFormat formatSpec, OutputStream out) -
Method Summary
Modifier and TypeMethodDescriptionfinalizeIndex(long finalFilePosition) Create the index, given the stream of features passed in to this pointMethods inherited from class AllRefsTabixIndexCreator
addFeatureMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IndexCreator
setIndexSequenceDictionary
-
Constructor Details
-
StreamBasedTabixIndexCreator
public StreamBasedTabixIndexCreator(SAMSequenceDictionary sequenceDictionary, TabixFormat formatSpec, OutputStream out)
-
-
Method Details
-
finalizeIndex
Description copied from interface:IndexCreatorCreate the index, given the stream of features passed in to this point- Specified by:
finalizeIndexin interfaceIndexCreator- Overrides:
finalizeIndexin classAllRefsTabixIndexCreator- Parameters:
finalFilePosition- the final file position, for indexes that have to close out with the final position- Returns:
- an index object
-