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, wait
matchNotEmpty
public 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)
PhysicalTableMatcher
test
in interface PhysicalTableMatcher
test
in interface Predicate<PhysicalTable>
table
- The table being testedpublic NoMatchFoundException noneFoundException()
PhysicalTableMatcher
noneFoundException
in interface PhysicalTableMatcher
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.