Apps
Components
Interfaces
All Files
Source Tree
source:
tos.lib.TinyDB.QueryResult.nc
Component: QueryResult
Required Interfaces
TupleIntf
MemAlloc
ParsedQueryIntf
Leds
Provided Interfaces
QueryResultIntf
Function Index
command TinyDBError
QueryResultIntf.initQueryResult
(QueryResultPtr qr)
short
firstQrByte
(void)
command TinyDBError
QueryResultIntf.fromTuple
(QueryResultPtr qr, ParsedQueryPtr pq, TuplePtr t)
command TinyDBError
QueryResultIntf.toTuplePtr
(QueryResultPtr qr, ParsedQueryPtr q, TupleHandle t)
command TinyDBError
QueryResultIntf.toBytes
(QueryResultPtr qr, ParsedQueryPtr pq, CharPtr bytes)
command TinyDBError
QueryResultIntf.fromBytes
(CharPtr bytes, QueryResultPtr qr, ParsedQueryPtr pq, uint8_t startByte)
command TinyDBError
QueryResultIntf.fromMsgBytes
(CharPtr bytes, QueryResultPtr qr, ParsedQueryPtr pq)
Decode a query result from result message
command TinyDBError
QueryResultIntf.fromResultTuple
(ResultTuple r, QueryResultPtr qr, ParsedQueryPtr pq)
command short
QueryResultIntf.queryIdFromMsg
(CharPtr bytes)
command uint16_t
QueryResultIntf.resultSize
(QueryResultPtr qr, ParsedQueryPtr q)
command short
QueryResultIntf.numRecords
(QueryResultPtr qr, ParsedQueryPtr q)
command ResultTuple
QueryResultIntf.getResultTuple
(QueryResultPtr qr, short i, ParsedQueryPtr q)
command TinyDBError
QueryResultIntf.addAggResult
(QueryResultPtr qr, int16_t groupNo, char *bytes, int16_t size, ParsedQueryPtr q, short exprIdx)
event result_t
MemAlloc.allocComplete
(HandlePtr handle, result_t success)
event result_t
MemAlloc.reallocComplete
(Handle handle, result_t success)
event result_t
MemAlloc.compactComplete
(void)