|Constructor and Description|
Builds a table comparator that compares tables based on how much data there is in their volatile intervals.
|Modifier and Type||Method and Description|
Performs a comparison based on how much data each table has within their volatile intervals.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public VolatileTimeComparator(QueryPlanningConstraint requestConstraint, PartialDataHandler partialDataHandler, VolatileIntervalsService volatileIntervalsService)
requestConstraint- Contains the request constraints extracted from DataApiRequest and TemplateDruidQuery
partialDataHandler- A service for computing partial data information
volatileIntervalsService- A service to extract the intervals in a query that are volatile with respect to a given table
public int compare(PhysicalTable left, PhysicalTable right)
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.