public abstract class DownSampleImpl extends Object implements DownSampler
DownSampler.DataSet
Modifier and Type | Field and Description |
---|---|
protected int |
threshold |
Modifier | Constructor and Description |
---|---|
protected |
DownSampleImpl(int threshold) |
Modifier and Type | Method and Description |
---|---|
DownSampler.DataSet |
downsize(long[] timestamps,
double[] values) |
protected abstract DownSampler.DataSet |
downsizeImpl(DownSampler.DataSet sampled,
long[] timestamps,
double[] values) |
protected void |
setDataSetLine(DownSampler.DataSet sampled,
int rank,
long timestamp,
double value) |
protected void setDataSetLine(DownSampler.DataSet sampled, int rank, long timestamp, double value)
public DownSampler.DataSet downsize(long[] timestamps, double[] values)
downsize
in interface DownSampler
protected abstract DownSampler.DataSet downsizeImpl(DownSampler.DataSet sampled, long[] timestamps, double[] values)
© 2018 The RRD4J Authors. © 2001-2005 Sasa Markovic and Ciaran Treanor. © 2018 The OpenNMS Group, Inc.