public abstract class TimeSeriesTransform<T>
extends java.lang.Object
| Constructor and Description |
|---|
TimeSeriesTransform(java.lang.String name)
Base constructor for
TimeSeriesTransform instances. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.util.Map<TimeSeriesInfo<T>,TimeSeriesProcessor<T>> |
apply(java.util.Map<TimeSeriesInfo<T>,TimeSeriesProcessor<T>> series)
The actual transform implementation
|
java.lang.String |
getName()
Gets the name of the transform function
|
java.util.Map<TimeSeriesInfo<T>,TimeSeriesProcessor<T>> |
transform(java.util.Map<TimeSeriesInfo<T>,TimeSeriesProcessor<T>> series,
boolean enabled)
Applies the transform function to the provided series
|
public TimeSeriesTransform(java.lang.String name)
TimeSeriesTransform instances.name - the name of the transform functionprotected abstract java.util.Map<TimeSeriesInfo<T>,TimeSeriesProcessor<T>> apply(java.util.Map<TimeSeriesInfo<T>,TimeSeriesProcessor<T>> series)
series - the time series to apply the transform to.public java.util.Map<TimeSeriesInfo<T>,TimeSeriesProcessor<T>> transform(java.util.Map<TimeSeriesInfo<T>,TimeSeriesProcessor<T>> series, boolean enabled)
series - the time series to apply the transform to.enabled - true if the transform should be applied, false otherwise.public java.lang.String getName()
Copyright © 2018 Frederic Thevenet. All rights reserved.