TQueryHandler An IQueryHandler.
Implement this function to create a new query handler for a specific query graph.