Variable
, used with DataProcessor.addDatasource(String, String, Variable)
.@Deprecated public class Aggregates extends Object
getAggregates()
method in
FetchData
and
DataProcessor.getAggregates(String)
DataProcessor classes.Modifier and Type | Field and Description |
---|---|
(package private) double |
average
Deprecated.
|
(package private) double |
first
Deprecated.
|
(package private) double |
last
Deprecated.
|
(package private) double |
max
Deprecated.
|
(package private) double |
min
Deprecated.
|
(package private) double |
total
Deprecated.
|
Constructor and Description |
---|
Aggregates()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
dump()
Deprecated.
Returns String representing all aggregated values.
|
double |
getAggregate(ConsolFun consolFun)
Deprecated.
Returns single aggregated value for the give consolidation function
|
double |
getAverage()
Deprecated.
Returns average
|
double |
getFirst()
Deprecated.
Returns the first value
|
double |
getLast()
Deprecated.
Returns the last value
|
double |
getMax()
Deprecated.
Returns the maximum value
|
double |
getMin()
Deprecated.
Returns the minimal value
|
double |
getTotal()
Deprecated.
Returns total value
|
double min
double max
double first
double last
double average
double total
public double getMin()
public double getMax()
public double getFirst()
public double getLast()
public double getAverage()
public double getTotal()
public double getAggregate(ConsolFun consolFun)
consolFun
- Consolidation function: MIN, MAX, FIRST, LAST, AVERAGE, TOTAL. These constants
are conveniently defined in the ConsolFun
interface.IllegalArgumentException
- Thrown if unsupported consolidation function is suppliedpublic String dump()