Apps
Components
Interfaces
All Files
Source Tree
source:
tos.lib.TinyDB.ParsedQuery.nc
Component: ParsedQuery
Required Interfaces
Operator
AggOperator
TupleIntf
AttrUse
QueryResultIntf
Leds
TinyDBError
finalizeAggExpr
(QueryResult *qr, ParsedQueryPtr q, Expr *e, char *result_buf)
short
getGroupNoFromQr
(QueryResult *qr)
Provided Interfaces
ParsedQueryIntf
Function Index
command bool
ParsedQueryIntf.queryFieldIsNull
(uint8_t field)
command Expr
ParsedQueryIntf.getExpr
(ParsedQueryPtr q, uint8_t n)
command ExprPtr
ParsedQueryIntf.getExprPtr
(ParsedQueryPtr q, uint8_t n)
command uint8_t
ParsedQueryIntf.getFieldId
(ParsedQueryPtr q, uint8_t n)
command result_t
ParsedQueryIntf.setExpr
(ParsedQueryPtr q, uint8_t n, Expr e)
command TuplePtr
ParsedQueryIntf.getTuplePtr
(ParsedQueryPtr q)
command short
ParsedQueryIntf.baseSize
(QueryPtr q)
command short
ParsedQueryIntf.pqSize
(ParsedQueryPtr pq)
command uint8_t
ParsedQueryIntf.numResultFields
(ParsedQueryPtr q, bool *agg)
command TinyDBError
ParsedQueryIntf.getResultField
(ParsedQueryPtr q, QueryResultPtr qr, uint8_t resultid, char *result_buf)
Copy data from the field resultid (as returned by getResultId) of qr into result_buf
command TinyDBError
ParsedQueryIntf.getResultId
(ParsedQueryPtr q, Field *f, uint8_t *id)
Set id to the be the index into query results from q corresponding to field f Return err_InvalidIndex if the query does not contain a corresponding field
event result_t
AttrUse.getAttrDone
(char *name, char *resultBuf, SchemaErrorNo errorNo)
event TinyDBError
AggOperator.processedResult
(QueryResultPtr qr, ParsedQueryPtr q, ExprPtr e)
event TinyDBError
AggOperator.processedTuple
(TuplePtr t, ParsedQueryPtr q, ExprPtr e, bool passed)