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 (EncodingKey for CRAM) and it's data type, like Integeror String. 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
      EncodingKey key
      One of the pre-defined CRAM data series names
      DataSeriesType type
      Data 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