@FunctionalInterface public interface PhysicalTableResolver
Modifier and Type | Method and Description |
---|---|
PhysicalTable |
resolve(Collection<PhysicalTable> candidateTables,
QueryPlanningConstraint requestConstraint)
Choose the best fit Physical Table from a table group.
|
PhysicalTable resolve(Collection<PhysicalTable> candidateTables, QueryPlanningConstraint requestConstraint) throws NoMatchFoundException
candidateTables
- The tables being considered for matchrequestConstraint
- Contains the request constraints extracted from DataApiRequest and TemplateDruidQueryNoMatchFoundException
- if there is no matching physical table in the table groupCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.