Apps Components Interfaces All Files Source Tree | source: tos.lib.TinyDB.QueryIntf.nc |
Interface for interacting with unparsed Queries, which represent queries arriving over the network that have not yet had ascii field names translated into schema indices.
Note that most interaction with queries after network delivery is done via ParsedQueryPtrs and ParsedQueryIntf.
This interface provides basic methods to set fields and expressions in queries and determine if queries contain all the records needed to be converted into ParsedQueries.
Author: | Sam Madden (madden@cs.berkeley.edu) |
Commands |
Returns: | the idxth expression in the query |
Parameters: |
q - The query to set the expression in idx - The index of the expression to set e - The expression data to write |
Returns: | TRUE iff all the fields in the query have been set |
Returns: | TRUE iff all the expressions in the query have been set |