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.StringgetPath()intgetQuality()The data quality of the point.longgetTimestamp()UTC time of the result.java.lang.ObjectgetValue()The value of the datapoint.java.lang.StringtoString()
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
Description copied from interface:DataPointThe value of the datapoint. Data type is governed by the PathInfo for the particular index.
-
getQuality
public int getQuality()
Description copied from interface:DataPointThe data quality of the point.- Specified by:
getQualityin interfaceDataPoint
-
getTimestamp
public long getTimestamp()
Description copied from interface:DataPointUTC time of the result.- Specified by:
getTimestampin interfaceDataPoint
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-