|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlime.motes.AggregationOptions
This first implementation of the IAggregationOptions interface allows the user to specify the range of epochs the aggregated request refers to and the type of aggregated request.
Field Summary | |
static int |
AVERAGE
Constant defining the operations. |
private int |
delta_epoch_from
How many epochs ago the relevant interval starts. |
private int |
delta_epoch_to
How many epochs ago the relevant interval stops. |
static int |
MAXIMUM
Constant defining the operations. |
static int |
MEDIAN
Constant defining the operations. |
static int |
MINIMUM
Constant defining the operations. |
static int |
MODE
Constant defining the operations. |
private int |
type
The type of the aggregation, among the ones defined above. |
Constructor Summary | |
AggregationOptions(int delta_epoch_from,
int delta_epoch_to,
int type_of_aggr)
Public constructor which builds the options object. |
Method Summary | |
int |
getDelta_epoch_from()
Getter for the attribute. |
int |
getDelta_epoch_to()
Getter for the attribute. |
int |
getType()
Getter for the attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int AVERAGE
public static final int MAXIMUM
public static final int MINIMUM
public static final int MODE
public static final int MEDIAN
private int delta_epoch_from
private int delta_epoch_to
private int type
Constructor Detail |
public AggregationOptions(int delta_epoch_from, int delta_epoch_to, int type_of_aggr)
delta_epoch_from
- delta_epoch_to
- type_of_aggr
- Method Detail |
public int getDelta_epoch_from()
public int getDelta_epoch_to()
public int getType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |