Class BooleanDataPoint


  • public class BooleanDataPoint
    extends DataPoint
    a subclass for Boolean data type extends DataPoint.
    See Also:
    DataPoint
    • Constructor Detail

      • BooleanDataPoint

        public BooleanDataPoint​(java.lang.String measurementId,
                                boolean v)
        constructor of BooleanDataPoint, the value type will be set automatically.
    • Method Detail

      • writeTo

        public void writeTo​(long time,
                            ChunkWriterImpl writer)
        Description copied from class: DataPoint
        write this DataPoint by a SeriesWriter.
        Specified by:
        writeTo in class DataPoint
        Parameters:
        time - timestamp
        writer - writer
      • getValue

        public java.lang.Object getValue()
        Specified by:
        getValue in class DataPoint
      • setBoolean

        public void setBoolean​(boolean value)
        Overrides:
        setBoolean in class DataPoint