Class BasicDataPoint
- java.lang.Object
-
- com.inductiveautomation.gateway.tsdb.impl.BasicDataPoint
-
- All Implemented Interfaces:
DataPoint
,java.io.Serializable
- Direct Known Subclasses:
BasicResultDataPoint
public class BasicDataPoint extends java.lang.Object implements DataPoint
Created by colby.clegg on 3/15/2016.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BasicDataPoint(java.lang.String path, java.lang.Object value, int quality, long ts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPath()
int
getQuality()
The data quality of the point.long
getTimestamp()
UTC time of the result.java.lang.Object
getValue()
The value of the datapoint.java.lang.String
toString()
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
Description copied from interface:DataPoint
The value of the datapoint. Data type is governed by the PathInfo for the particular index.
-
getQuality
public int getQuality()
Description copied from interface:DataPoint
The data quality of the point.- Specified by:
getQuality
in interfaceDataPoint
-
getTimestamp
public long getTimestamp()
Description copied from interface:DataPoint
UTC time of the result.- Specified by:
getTimestamp
in interfaceDataPoint
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-