net.tinyos.tinydb
Class AggOp
java.lang.Object
|
+--net.tinyos.tinydb.AggOp
- public class AggOp
- extends java.lang.Object
Constructor Summary |
AggOp(byte type)
Constructor for normal aggregates |
AggOp(byte type,
short c)
Constructor for temporal aggregates |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AGG_SUM
public static final byte AGG_SUM
- See Also:
- Constant Field Values
AGG_MIN
public static final byte AGG_MIN
- See Also:
- Constant Field Values
AGG_MAX
public static final byte AGG_MAX
- See Also:
- Constant Field Values
AGG_COUNT
public static final byte AGG_COUNT
- See Also:
- Constant Field Values
AGG_AVERAGE
public static final byte AGG_AVERAGE
- See Also:
- Constant Field Values
AGG_NOOP
public static final byte AGG_NOOP
- See Also:
- Constant Field Values
AGG_EXPAVG
public static final byte AGG_EXPAVG
- See Also:
- Constant Field Values
AGG_WINAVG
public static final byte AGG_WINAVG
- See Also:
- Constant Field Values
AGG_WINSUM
public static final byte AGG_WINSUM
- See Also:
- Constant Field Values
AGG_WINMIN
public static final byte AGG_WINMIN
- See Also:
- Constant Field Values
AGG_WINMAX
public static final byte AGG_WINMAX
- See Also:
- Constant Field Values
AGG_WINCNT
public static final byte AGG_WINCNT
- See Also:
- Constant Field Values
AggOp
public AggOp(byte type)
throws java.util.NoSuchElementException
- Constructor for normal aggregates
AggOp
public AggOp(byte type,
short c)
throws java.util.NoSuchElementException
- Constructor for temporal aggregates
isTemporal
public boolean isTemporal()
toByte
public byte toByte()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getString
public java.lang.String getString(int value,
int count)
merge
public java.util.Vector merge(int value1,
int count1,
int value2,
int count2)
getConst
public short getConst()