Class Interpolator.DiscreteInterpolator
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.sqltags.history.query.processing.Interpolator
-
- com.inductiveautomation.ignition.gateway.sqltags.history.query.processing.Interpolator.DiscreteInterpolator
-
- Enclosing class:
- Interpolator
protected static class Interpolator.DiscreteInterpolator extends Interpolator
For discrete tags, the value is flat until it then changes, at the timestamp of B
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.gateway.sqltags.history.query.processing.Interpolator
Interpolator.AnalogInterpolator, Interpolator.DiscreteInterpolator
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DiscreteInterpolator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProcessedValue
interpolate(long timestamp)
"A" or "B" can be null, but the situation will be A < timestamp < B, if present.protected boolean
needsDoubles()
-
Methods inherited from class com.inductiveautomation.ignition.gateway.sqltags.history.query.processing.Interpolator
createAnalogInterpolator, createDiscreteInterpolator, getValueAt, interpolateDiscrete, interpolateLinear, update, valueFor, valueFor
-
-
-
-
Method Detail
-
needsDoubles
protected boolean needsDoubles()
- Specified by:
needsDoubles
in classInterpolator
-
interpolate
protected ProcessedValue interpolate(long timestamp)
Description copied from class:Interpolator
"A" or "B" can be null, but the situation will be A < timestamp < B, if present.- Specified by:
interpolate
in classInterpolator
-
-