net.tinyos.tinydb
Interface QueryExpr

All Known Implementing Classes:
AggExpr, SelExpr

public interface QueryExpr

Abstract interface for all kinds of expressions that can appear in a query


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.
 boolean isAgg()
          Return true if this expression is an aggregator
 

Method Detail

isAgg

public boolean isAgg()
Return true if this expression is an aggregator


getField

public short getField()
Return the id of the field this expression applies to


getFieldOp

public short getFieldOp()
Return the arithmetic operation that is used in the arithmetic expression that will be performed to the field.


getFieldConst

public short getFieldConst()
Return the constant that is used in the arithmetic expression that will be performed on the field.