org.apache.hadoop.hive.ql.optimizer
Class AbstractBucketJoinProc

java.lang.Object
  extended by org.apache.hadoop.hive.ql.optimizer.AbstractBucketJoinProc
All Implemented Interfaces:
NodeProcessor
Direct Known Subclasses:
AbstractSMBJoinProc, BucketMapjoinProc

public abstract class AbstractBucketJoinProc
extends Object
implements NodeProcessor

this transformation does bucket map join optimization.


Constructor Summary
AbstractBucketJoinProc()
           
AbstractBucketJoinProc(ParseContext pGraphContext)
           
 
Method Summary
static List<String> getBucketFilePathsOfPartition(org.apache.hadoop.fs.Path location, ParseContext pGraphContext)
           
abstract  Object process(Node nd, Stack<Node> stack, NodeProcessorCtx procCtx, Object... nodeOutputs)
          Generic process for all ops that don't have specific implementations.
static List<String> toColumns(List<ExprNodeDesc> keys)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBucketJoinProc

public AbstractBucketJoinProc(ParseContext pGraphContext)

AbstractBucketJoinProc

public AbstractBucketJoinProc()
Method Detail

process

public abstract 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 process
procCtx - operator processor context
nodeOutputs - A variable argument list of outputs from other nodes in the walk
Returns:
Object to be returned by the process call
Throws:
SemanticException

getBucketFilePathsOfPartition

public static List<String> getBucketFilePathsOfPartition(org.apache.hadoop.fs.Path location,
                                                         ParseContext pGraphContext)
                                                  throws SemanticException
Throws:
SemanticException

toColumns

public static List<String> toColumns(List<ExprNodeDesc> keys)


Copyright © 2014 The Apache Software Foundation. All rights reserved.