public class Aggregate
extends Object
| Constructor and Description |
|---|
Aggregate() |
| Modifier and Type | Method and Description |
|---|---|
Aggregate |
avg(Double avg)
Returns an Aggregate instance initialized with provided avg value
|
Aggregate |
countbad(Integer countbad)
Returns an Aggregate instance initialized with provided countbad value
|
Aggregate |
countgood(Integer countgood) |
Aggregate |
countuncertain(Integer countuncertain)
Returns an Aggregate instance initialized with provided countuncertain value
|
boolean |
equals(Object o) |
Aggregate |
firsttime(String firsttime)
Returns an Aggregate instance initialized with provided firsttime value
|
Aggregate |
firstvalue(Double firstvalue)
Returns an Aggregate instance initialized with provided firstvalue value
|
Double |
getAvg()
Average of the values within the interval.
|
Integer |
getCountbad()
Number of bad records in the aggregated interval.
|
Integer |
getCountgood()
Number of good records in the aggregated interval.
|
Integer |
getCountuncertain()
Number of uncertain records in the aggregated interval.
|
String |
getFirsttime()
Timestamp of the first value within the interval.
|
Double |
getFirstvalue()
First value within the interval.
|
String |
getLasttime()
Timestamp of the last measurement within the interval.
|
Double |
getLastvalue()
Last value within the interval.
|
String |
getMaxtime()
Timestamp of the maximum value within the interval.
|
Double |
getMaxvalue()
Maximum value within the interval.
|
String |
getMintime()
Timestamp of the minimum value within the interval.
|
Double |
getMinvalue()
Minimum value within the interval.
|
Double |
getSum()
Sum of the values within the interval.
|
int |
hashCode() |
Aggregate |
lasttime(String lasttime)
Returns an Aggregate instance initialized with provided lasttime value
|
Aggregate |
lastvalue(Double lastvalue)
Returns an Aggregate instance initialized with provided lastvalue value
|
Aggregate |
maxtime(String maxtime)
Returns an Aggregate instance initialized with provided maxtime value
|
Aggregate |
maxvalue(Double maxvalue)
Returns an Aggregate instance initialized with provided maxvalue value
|
Aggregate |
mintime(String mintime)
Returns an Aggregate instance initialized with provided mintime value
|
Aggregate |
minvalue(Double minvalue)
Returns an Aggregate instance initialized with provided minvalue value
|
void |
setAvg(Double avg) |
void |
setCountbad(Integer countbad) |
void |
setCountgood(Integer countgood) |
void |
setCountuncertain(Integer countuncertain) |
void |
setFirsttime(String firsttime) |
void |
setFirstvalue(Double firstvalue) |
void |
setLasttime(String lasttime) |
void |
setLastvalue(Double lastvalue) |
void |
setMaxtime(String maxtime) |
void |
setMaxvalue(Double maxvalue) |
void |
setMintime(String mintime) |
void |
setMinvalue(Double minvalue) |
void |
setSum(Double sum) |
Aggregate |
sum(Double sum)
Returns an Aggregate instance initialized with provided sum value
|
String |
toString() |
public Aggregate countgood(Integer countgood)
public Integer getCountgood()
public void setCountgood(Integer countgood)
public Aggregate countuncertain(Integer countuncertain)
countuncertain - value of countuncertainpublic Integer getCountuncertain()
public void setCountuncertain(Integer countuncertain)
public Aggregate countbad(Integer countbad)
countbad - value of countbadpublic Integer getCountbad()
public void setCountbad(Integer countbad)
public Aggregate sum(Double sum)
sum - value of sumpublic Double getSum()
public void setSum(Double sum)
public Aggregate avg(Double avg)
avg - value of avgpublic Double getAvg()
public void setAvg(Double avg)
public Aggregate mintime(String mintime)
mintime - value of mintimepublic String getMintime()
public void setMintime(String mintime)
public Aggregate minvalue(Double minvalue)
minvalue - value of minvaluepublic Double getMinvalue()
public void setMinvalue(Double minvalue)
public Aggregate maxtime(String maxtime)
maxtime - value of maxtimepublic String getMaxtime()
public void setMaxtime(String maxtime)
public Aggregate maxvalue(Double maxvalue)
maxvalue - value of maxvaluepublic Double getMaxvalue()
public void setMaxvalue(Double maxvalue)
public Aggregate firsttime(String firsttime)
firsttime - value of firsttimepublic String getFirsttime()
public void setFirsttime(String firsttime)
public Aggregate firstvalue(Double firstvalue)
firstvalue - value of firstvaluepublic Double getFirstvalue()
public void setFirstvalue(Double firstvalue)
public Aggregate lasttime(String lasttime)
lasttime - value of lasttimepublic String getLasttime()
public void setLasttime(String lasttime)
public Aggregate lastvalue(Double lastvalue)
lastvalue - value of lastvaluepublic Double getLastvalue()
public void setLastvalue(Double lastvalue)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object