Isolate the query for a data connector in specific classes