defined queryResult interface