Query#

from tmlt.analytics import Query
class tmlt.analytics.Query(_query_expr)#

Bases: object

A complete query, ready to be evaluated in a differentially private manner.

A Query and its subclasses should not be directly constructed, but created using a QueryBuilder. A Query can be passed to evaluate() in order to evaluate the query and obtain differentially private results.

__hash__()#

Hashes the query based on the underlying query expression.

Return type:

int

__eq__(other)#

Determines query equitability based on the underlying query expression.