public class PropertyComputation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Formula |
formula_org |
java.lang.String |
target |
Constructor and Description |
---|
PropertyComputation(java.lang.String target,
Formula formula) |
Modifier and Type | Method and Description |
---|---|
void |
calculate(java.util.Collection<DataRow> rows,
java.lang.String[] sensorNames) |
void |
calculate(java.util.Collection<DataRow> rows,
java.lang.String[] sensorNames,
long firstTimestamp,
long lastTimestamp) |
static PropertyComputation |
parse(java.lang.String target,
java.lang.String formulaText) |
static PropertyComputation |
parse(YamlMap map) |
public final java.lang.String target
public final Formula formula_org
public PropertyComputation(java.lang.String target, Formula formula)
public static PropertyComputation parse(YamlMap map)
public static PropertyComputation parse(java.lang.String target, java.lang.String formulaText)
public void calculate(java.util.Collection<DataRow> rows, java.lang.String[] sensorNames)
public void calculate(java.util.Collection<DataRow> rows, java.lang.String[] sensorNames, long firstTimestamp, long lastTimestamp)