Package htsjdk.samtools.util
Class SamRecordWithOrdinal
java.lang.Object
htsjdk.samtools.util.SamRecordWithOrdinal
A little class to store the unique index associated with this record. The index is determined as records are read in, so is in fact
gives the ordinal of the record in the input file. All sub-classes should have a default constructor. Additionally, all implementations
of this class must implement setResultState, as this class is typically used when wanting to return SAMRecord's in same input order,
but only when some computation (ex. duplicate marking) has been performed.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
void
void
setRecordOrdinal
(long recordOrdinal) abstract void
setResultState
(boolean resultState) Set the result state on this record.
-
Constructor Details
-
SamRecordWithOrdinal
public SamRecordWithOrdinal() -
SamRecordWithOrdinal
-
-
Method Details
-
getRecord
-
setRecord
-
getRecordOrdinal
public long getRecordOrdinal() -
setRecordOrdinal
public void setRecordOrdinal(long recordOrdinal) -
setResultState
public abstract void setResultState(boolean resultState) Set the result state on this record.
-