public abstract static class Interpolators.BaseInterpolator extends Object implements Interpolator
Modifier and Type | Method and Description |
---|---|
long |
getMaxAllowedGap()
Data points that are more than this many seconds apart will not cause interpolation to occur
and will instead return 0 for any point in between.
|
long |
interpolate(TimeValue start,
TimeValue end,
long ts)
Given start and end TimeValues, and a time in-between the two, return a TimeValue for the
in-between time.
|
protected abstract long |
limitedInterpolate(TimeValue start,
TimeValue end,
long ts) |
public long interpolate(TimeValue start, TimeValue end, long ts)
Interpolator
interpolate
in interface Interpolator
public long getMaxAllowedGap()
Interpolator
getMaxAllowedGap
in interface Interpolator
Copyright © 2023 Cask Data, Inc. Licensed under the Apache License, Version 2.0.