Package htsjdk.samtools.cram.encoding
Annotation Type DataSeries
-
@Target(FIELD) @Retention(RUNTIME) public @interface DataSeries
An annotation to denote a data series field in a java class. Some data can be represented as a set of column (data series) where each column is characterized by it's intention (EncodingKeyfor CRAM) and it's data type, likeIntegerorString. Annotating fields in a class with this annotation allows for automated discovery of such column (data series) and attaching specific codec to serialise/deserialize data.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description EncodingKeykeyOne of the pre-defined CRAM data series namesDataSeriesTypetypeData type of the series.
-
-
-
Element Detail
-
key
EncodingKey key
One of the pre-defined CRAM data series names- Returns:
- CRAM data series name (key)
-
-
-
type
DataSeriesType type
Data type of the series.- Returns:
- data type of the series
-
-