org.apache.hadoop.hive.ql.optimizer.physical.index
Class IndexWhereProcessor
java.lang.Object
org.apache.hadoop.hive.ql.optimizer.physical.index.IndexWhereProcessor
- All Implemented Interfaces:
- NodeProcessor
public class IndexWhereProcessor
- extends Object
- implements NodeProcessor
IndexWhereProcessor.
Processes Operator Nodes to look for WHERE queries with a predicate column
on which we have an index. Creates an index subquery Task for these
WHERE queries to use the index automatically.
IndexWhereProcessor
public IndexWhereProcessor(Map<Table,List<org.apache.hadoop.hive.metastore.api.Index>> indexes)
process
public Object process(Node nd,
Stack<Node> stack,
NodeProcessorCtx procCtx,
Object... nodeOutputs)
throws SemanticException
- Description copied from interface:
NodeProcessor
- Generic process for all ops that don't have specific implementations.
- Specified by:
process
in interface NodeProcessor
- Parameters:
nd
- operator to processprocCtx
- operator processor contextnodeOutputs
- A variable argument list of outputs from other nodes in the walk
- Returns:
- Object to be returned by the process call
- Throws:
SemanticException
Copyright © 2014 The Apache Software Foundation. All rights reserved.