org.apache.hadoop.hive.ql.exec
Class OperatorFactory

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.OperatorFactory

public final class OperatorFactory
extends Object

OperatorFactory.


Nested Class Summary
static class OperatorFactory.OpTuple<T extends OperatorDesc>
          OpTuple.
 
Field Summary
static ArrayList<OperatorFactory.OpTuple> opvec
           
static ArrayList<OperatorFactory.OpTuple> vectorOpvec
           
 
Method Summary
static
<T extends OperatorDesc>
Operator<T>
get(Class<T> opClass)
           
static
<T extends OperatorDesc>
Operator<T>
get(Class<T> opClass, RowSchema rwsch)
           
static
<T extends OperatorDesc>
Operator<T>
get(T conf, Operator<? extends OperatorDesc>... oplist)
          Returns an operator given the conf and a list of children operators.
static
<T extends OperatorDesc>
Operator<T>
get(T conf, RowSchema rwsch, Operator... oplist)
          Returns an operator given the conf and a list of children operators.
static
<T extends OperatorDesc>
Operator<T>
getAndMakeChild(T conf, List<Operator<? extends OperatorDesc>> oplist)
          Returns an operator given the conf and a list of parent operators.
static
<T extends OperatorDesc>
Operator<T>
getAndMakeChild(T conf, Operator... oplist)
          Returns an operator given the conf and a list of parent operators.
static
<T extends OperatorDesc>
Operator<T>
getAndMakeChild(T conf, RowSchema rwsch, List<Operator<? extends OperatorDesc>> oplist)
          Returns an operator given the conf and a list of parent operators.
static
<T extends OperatorDesc>
Operator<T>
getAndMakeChild(T conf, RowSchema rwsch, Map<String,ExprNodeDesc> colExprMap, List<Operator<? extends OperatorDesc>> oplist)
          Returns an operator given the conf and a list of parent operators.
static
<T extends OperatorDesc>
Operator<T>
getAndMakeChild(T conf, RowSchema rwsch, Map<String,ExprNodeDesc> colExprMap, Operator... oplist)
          Returns an operator given the conf and a list of parent operators.
static
<T extends OperatorDesc>
Operator<T>
getAndMakeChild(T conf, RowSchema rwsch, Operator... oplist)
          Returns an operator given the conf and a list of parent operators.
static
<T extends OperatorDesc>
Operator<T>
getVectorOperator(T conf, VectorizationContext vContext)
           
static void makeChild(Operator<? extends OperatorDesc> ret, Operator<? extends OperatorDesc>... oplist)
          Returns an operator given the conf and a list of children operators.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

opvec

public static ArrayList<OperatorFactory.OpTuple> opvec

vectorOpvec

public static ArrayList<OperatorFactory.OpTuple> vectorOpvec
Method Detail

getVectorOperator

public static <T extends OperatorDesc> Operator<T> getVectorOperator(T conf,
                                                                     VectorizationContext vContext)
                                                          throws HiveException
Throws:
HiveException

get

public static <T extends OperatorDesc> Operator<T> get(Class<T> opClass)

get

public static <T extends OperatorDesc> Operator<T> get(Class<T> opClass,
                                                       RowSchema rwsch)

get

public static <T extends OperatorDesc> Operator<T> get(T conf,
                                                       Operator<? extends OperatorDesc>... oplist)
Returns an operator given the conf and a list of children operators.


makeChild

public static void makeChild(Operator<? extends OperatorDesc> ret,
                             Operator<? extends OperatorDesc>... oplist)
Returns an operator given the conf and a list of children operators.


get

public static <T extends OperatorDesc> Operator<T> get(T conf,
                                                       RowSchema rwsch,
                                                       Operator... oplist)
Returns an operator given the conf and a list of children operators.


getAndMakeChild

public static <T extends OperatorDesc> Operator<T> getAndMakeChild(T conf,
                                                                   Operator... oplist)
Returns an operator given the conf and a list of parent operators.


getAndMakeChild

public static <T extends OperatorDesc> Operator<T> getAndMakeChild(T conf,
                                                                   List<Operator<? extends OperatorDesc>> oplist)
Returns an operator given the conf and a list of parent operators.


getAndMakeChild

public static <T extends OperatorDesc> Operator<T> getAndMakeChild(T conf,
                                                                   RowSchema rwsch,
                                                                   Operator... oplist)
Returns an operator given the conf and a list of parent operators.


getAndMakeChild

public static <T extends OperatorDesc> Operator<T> getAndMakeChild(T conf,
                                                                   RowSchema rwsch,
                                                                   Map<String,ExprNodeDesc> colExprMap,
                                                                   Operator... oplist)
Returns an operator given the conf and a list of parent operators.


getAndMakeChild

public static <T extends OperatorDesc> Operator<T> getAndMakeChild(T conf,
                                                                   RowSchema rwsch,
                                                                   List<Operator<? extends OperatorDesc>> oplist)
Returns an operator given the conf and a list of parent operators.


getAndMakeChild

public static <T extends OperatorDesc> Operator<T> getAndMakeChild(T conf,
                                                                   RowSchema rwsch,
                                                                   Map<String,ExprNodeDesc> colExprMap,
                                                                   List<Operator<? extends OperatorDesc>> oplist)
Returns an operator given the conf and a list of parent operators.



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