public class PartialTimeComparator extends Object implements Comparator<PhysicalTable>
Constructor and Description |
---|
PartialTimeComparator(QueryPlanningConstraint requestConstraint,
PartialDataHandler handler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(PhysicalTable left,
PhysicalTable right)
Compare two Physical Tables based on how much missing time they have.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public PartialTimeComparator(QueryPlanningConstraint requestConstraint, PartialDataHandler handler)
requestConstraint
- contains the request constraints extracted from DataApiRequest and TemplateDruidQueryhandler
- Handler for Partial Datapublic int compare(PhysicalTable left, PhysicalTable right)
compare
in interface Comparator<PhysicalTable>
left
- The first tableright
- The second tableCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.