Class SampleSetBuilder.BasicSampleSet
- java.lang.Object
-
- com.inductiveautomation.gateway.tags.history.api.SampleSetBuilder.BasicSampleSet
-
- All Implemented Interfaces:
SampleSet
- Enclosing class:
- SampleSetBuilder
protected static class SampleSetBuilder.BasicSampleSet extends java.lang.Object implements SampleSet
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.inductiveautomation.gateway.tags.history.api.SampleSet
SampleSet.TagDescriptor
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BasicSampleSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getGatewayName()
The originating gateway namejava.lang.String
getProviderName()
The originating provider nameSampleSet.TagDescriptor[]
getTags()
Returns descriptors of the tags that correspond with the first rank of getValues.long
getTimestamp()
The time that the sample set was generated at.QualifiedValue[][]
getValues()
Returns a double array, the first index is the index of the tag inside getTags.
-
-
-
Method Detail
-
getGatewayName
public java.lang.String getGatewayName()
Description copied from interface:SampleSet
The originating gateway name- Specified by:
getGatewayName
in interfaceSampleSet
-
getProviderName
public java.lang.String getProviderName()
Description copied from interface:SampleSet
The originating provider name- Specified by:
getProviderName
in interfaceSampleSet
-
getTimestamp
public long getTimestamp()
Description copied from interface:SampleSet
The time that the sample set was generated at. Does not indicate anything about the data contained in the set.- Specified by:
getTimestamp
in interfaceSampleSet
-
getTags
public SampleSet.TagDescriptor[] getTags()
Description copied from interface:SampleSet
Returns descriptors of the tags that correspond with the first rank of getValues.
-
getValues
public QualifiedValue[][] getValues()
Description copied from interface:SampleSet
Returns a double array, the first index is the index of the tag inside getTags. The other is the values sorted by ascending time.
-
-