public class WeightedQueryCostDriverSelector extends Object implements DriverSelector
Constructor and Description |
---|
WeightedQueryCostDriverSelector() |
Modifier and Type | Method and Description |
---|---|
LensDriver |
select(AbstractQueryContext ctx,
org.apache.hadoop.conf.Configuration conf)
Returns the driver that has the minimum query cost according to predefined driver allocation ratios.
|
public LensDriver select(AbstractQueryContext ctx, org.apache.hadoop.conf.Configuration conf)
select
in interface DriverSelector
ctx
- the contextconf
- the confCopyright © 2014–2016 Apache Software Foundation. All rights reserved.