T
- The type of the value from the read group.public abstract class ReadGroupSplitter<T> extends ReaderSplitter<T>
Constructor and Description |
---|
ReadGroupSplitter() |
Modifier and Type | Method and Description |
---|---|
T |
getSplitBy(GATKRead record,
htsjdk.samtools.SAMFileHeader header)
Returns the value from this record for this splitter.
|
protected abstract java.util.function.Function<htsjdk.samtools.SAMReadGroupRecord,T> |
getSplitByFunction() |
java.util.List<T> |
getSplitsBy(htsjdk.samtools.SAMFileHeader header)
Returns the values from the header that will be used to split the reader.
|
public T getSplitBy(GATKRead record, htsjdk.samtools.SAMFileHeader header)
ReaderSplitter
getSplitBy
in class ReaderSplitter<T>
record
- The record.header
- Header for the recordpublic java.util.List<T> getSplitsBy(htsjdk.samtools.SAMFileHeader header)
ReaderSplitter
getSplitsBy
in class ReaderSplitter<T>
header
- The header of the reader.protected abstract java.util.function.Function<htsjdk.samtools.SAMReadGroupRecord,T> getSplitByFunction()