public class SchemaPhysicalTableMatcher extends Object implements PhysicalTableMatcher
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
static ErrorMessageFormat |
MESSAGE_FORMAT |
| Constructor and Description |
|---|
SchemaPhysicalTableMatcher(QueryPlanningConstraint requestConstraint)
Constructor saves metrics, dimensions, coarsest time grain, and logical table name (for logging).
|
| Modifier and Type | Method and Description |
|---|---|
NoMatchFoundException |
noneFoundException()
Exception to throw if no tables match.
|
boolean |
test(PhysicalTable table)
Determines whether this table matches a requirement.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmatchNotEmptypublic static final org.slf4j.Logger LOG
public static final ErrorMessageFormat MESSAGE_FORMAT
public SchemaPhysicalTableMatcher(QueryPlanningConstraint requestConstraint)
requestConstraint - contains the request constraints extracted from DataApiRequest and TemplateDruidQuerypublic boolean test(PhysicalTable table)
PhysicalTableMatchertest in interface PhysicalTableMatchertest in interface Predicate<PhysicalTable>table - The table being testedpublic NoMatchFoundException noneFoundException()
PhysicalTableMatchernoneFoundException in interface PhysicalTableMatcherCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.