Apps Components Interfaces All Files Source Tree | source: tos.lib.TinyDB.QueryProcessor.nc |
A QueryProcessor runs queries -- this interface is very simple since our only query processor (TupleRouterM) generates and processes queries all by itself (it doesn't currently provide a non-am based interface for receiving queries from neighbors.)
See uses portion of the Network interface in TupleRouterM to understand how queries are submitted to a query processor.
For now, this interface simply allows clients to know when a query has ended and get information about currently running queries.
Author: | Sam Madden (madden@cs.berkeley.edu) |
Commands |
Events |
Commands - Details |
Parameters: |
qid - The query for which information is sought |
Returns: | A pointer to the query data structure, or NULL if no such query exists. |
Parameters: |
msg - The query for which the root is sought |