/** * Filter to a set of tables matching the rules of this resolver. * * @param candidateTables The physical tables being filtered * @param requestConstraint contains the request constraints extracted from DataApiRequest and TemplateDruidQuery * * @return a set of physical tables which all match the criteria of a request and partial query * * @throws NoMatchFoundException if any of the filters reduce the filter set to empty */ public Set<PhysicalTable> filter( Collection<PhysicalTable> candidateTables, QueryPlanningConstraint requestConstraint ) throws NoMatchFoundException { return filter(candidateTables, getMatchers(requestConstraint)); }