|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.tinyos.tinydb.SelExpr
SelExpr represents a selection expression; selection expressions are of the form: WHERE (field fieldOp fieldConst) OP value Where field is a field in the query, value is an integral value, and op is a SelOp.
Constructor Summary | |
SelExpr(short field,
net.tinyos.tinydb.SelOp op,
short value)
|
|
SelExpr(short field,
java.lang.String fieldOp,
short fieldConst,
net.tinyos.tinydb.SelOp op,
short value)
|
Method Summary | |
short |
getField()
Return the id of the field this expression applies to |
short |
getFieldConst()
Return the constant that is used in the arithmetic expression that will be performed on the field. |
short |
getFieldOp()
Return the arithmetic operation that is used in the arithmetic expression that will be performed to the field. |
byte |
getSelOpCode()
|
short |
getValue()
|
boolean |
isAgg()
Return true if this expression is an aggregator |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SelExpr(short field, net.tinyos.tinydb.SelOp op, short value)
public SelExpr(short field, java.lang.String fieldOp, short fieldConst, net.tinyos.tinydb.SelOp op, short value)
Method Detail |
public boolean isAgg()
QueryExpr
isAgg
in interface QueryExpr
public short getField()
QueryExpr
getField
in interface QueryExpr
public short getValue()
public short getFieldConst()
QueryExpr
getFieldConst
in interface QueryExpr
public short getFieldOp()
QueryExpr
getFieldOp
in interface QueryExpr
public byte getSelOpCode()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |