This project has retired. For details please refer to its Attic page.
MinQueryCostSelector (Lens 2.0.1-beta-incubating API)

org.apache.lens.server.api.driver
Class MinQueryCostSelector

java.lang.Object
  extended by org.apache.lens.server.api.driver.MinQueryCostSelector
All Implemented Interfaces:
DriverSelector

public class MinQueryCostSelector
extends Object
implements DriverSelector


Field Summary
static org.apache.log4j.Logger LOG
           
 
Constructor Summary
MinQueryCostSelector()
           
 
Method Summary
 LensDriver select(AbstractQueryContext ctx, org.apache.hadoop.conf.Configuration conf)
          Returns the driver that has the minimum query cost.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Logger LOG
Constructor Detail

MinQueryCostSelector

public MinQueryCostSelector()
Method Detail

select

public LensDriver select(AbstractQueryContext ctx,
                         org.apache.hadoop.conf.Configuration conf)
Returns the driver that has the minimum query cost.

Specified by:
select in interface DriverSelector
Parameters:
ctx - the context
conf - the conf
Returns:
the lens driver


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.