Class BasicHistoricalTagValue
java.lang.Object
com.inductiveautomation.ignition.gateway.history.BasicHistoricalTagValue
- All Implemented Interfaces:
HistoricalData
,HistoricalTagValue
,Serializable
Deprecated.
This was the original implementation of HistoricalTagValue. It has been replaced by one that supports different
timestamp sources and encodes all of the enums as an integer to reduce serialized size.
- See Also:
-
Field Summary
Fields inherited from interface com.inductiveautomation.ignition.gateway.history.HistoricalTagValue
TAG_DATA_SIGNITURE
-
Constructor Summary
ConstructorsConstructorDescriptionBasicHistoricalTagValue
(TagPath path, DataTypeClass typeClass, InterpolationMode queryMode, BasicTagValue value) Deprecated.BasicHistoricalTagValue
(TagPath path, DataTypeClass typeClass, InterpolationMode queryMode, Object value, DataQuality quality) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.This is overridden in a particular way - we don't take value into account! This implementation is relied on to detect multiple values for a given time, which we can't have.boolean
Deprecated.int
Deprecated.This is a fairly ambiguous number, but basically indicates how many rows will ultimately be inserted in the database.Deprecated.The very broad "flavor" designator, used to get the data to the correct sink.Deprecated.Deprecated.Returns the name of the logger that should be notified when something happens to this data.Deprecated.Deprecated.The signature is a static string that describes this data as uniquely as possible.Deprecated.Deprecated.Deprecated.This class always returns system, as when it was created we didn't support OPC based time.Deprecated.getValue()
Deprecated.
-
Constructor Details
-
BasicHistoricalTagValue
public BasicHistoricalTagValue(TagPath path, DataTypeClass typeClass, InterpolationMode queryMode, Object value, DataQuality quality) Deprecated. -
BasicHistoricalTagValue
public BasicHistoricalTagValue(TagPath path, DataTypeClass typeClass, InterpolationMode queryMode, BasicTagValue value) Deprecated.
-
-
Method Details
-
getLoggerName
Deprecated.Description copied from interface:HistoricalData
Returns the name of the logger that should be notified when something happens to this data. If null or empty, notifications won't occur (errors, however, may still be logged to the general logger).- Specified by:
getLoggerName
in interfaceHistoricalData
-
getDataCount
public int getDataCount()Deprecated.Description copied from interface:HistoricalData
This is a fairly ambiguous number, but basically indicates how many rows will ultimately be inserted in the database. Used for judging transaction size.- Specified by:
getDataCount
in interfaceHistoricalData
-
getSource
Deprecated.- Specified by:
getSource
in interfaceHistoricalTagValue
-
getFlavor
Deprecated.Description copied from interface:HistoricalData
The very broad "flavor" designator, used to get the data to the correct sink. That is, different sinks support different types of data, and this is used to match them up.- Specified by:
getFlavor
in interfaceHistoricalData
-
getSignature
Deprecated.Description copied from interface:HistoricalData
The signature is a static string that describes this data as uniquely as possible. This will be used to group data in the data cache (for example, when displaying quarantined data), as well as uniquely identifying cacheable schemas, etc.Basically, the golden rule is that if two pieces of data have the same signature, the came from the same place, and are going to the same place, and in theory could be grouped together (note: they won't be, that is done with the
GroupableData
interface).- Specified by:
getSignature
in interfaceHistoricalData
-
getTypeClass
Deprecated.- Specified by:
getTypeClass
in interfaceHistoricalTagValue
-
getInterpolationMode
Deprecated.- Specified by:
getInterpolationMode
in interfaceHistoricalTagValue
-
equals
Deprecated. -
getQuality
Deprecated.- Specified by:
getQuality
in interfaceHistoricalTagValue
-
getTimestamp
Deprecated.- Specified by:
getTimestamp
in interfaceHistoricalTagValue
-
getValue
Deprecated.- Specified by:
getValue
in interfaceHistoricalTagValue
-
getTimestampSource
Deprecated.This class always returns system, as when it was created we didn't support OPC based time.- Specified by:
getTimestampSource
in interfaceHistoricalTagValue
-
equals
Deprecated.This is overridden in a particular way - we don't take value into account! This implementation is relied on to detect multiple values for a given time, which we can't have. If all other settings are equal, we only look at timestamp.
-