public class TimeAlignmentPhysicalTableMatcher extends Object implements PhysicalTableMatcher
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
static ErrorMessageFormat |
MESSAGE_FORMAT |
| Constructor and Description |
|---|
TimeAlignmentPhysicalTableMatcher(QueryPlanningConstraint requestConstraint)
Stores the request table name and intervals and creates a predicate to test a physical table based on request
intervals.
|
| 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 TimeAlignmentPhysicalTableMatcher(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.