public class PartialTimeComparator extends Object implements Comparator<PhysicalTable>
|Constructor and Description|
|Modifier and Type||Method and Description|
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 TemplateDruidQuery
handler- Handler for Partial Data
public int compare(PhysicalTable left, PhysicalTable right)
left- The first table
right- The second table
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.