.. java:import:: org.motechproject.mds.util InstanceSecurityRestriction .. java:import:: javax.jdo Query QueryExecution ============== .. java:package:: org.motechproject.mds.query :noindex: .. java:type:: public interface QueryExecution Allows users to execute custom queries through Motech Data Services. Implementations need only to implement the execute method, which can operate directly on the \ :java:ref:`javax.jdo.Query`\ object. The return value type is left to the implementation. :param : the type that will be returned from this query Methods ------- execute ^^^^^^^ .. java:method:: T execute(Query query, InstanceSecurityRestriction restriction) :outertype: QueryExecution