org.apache.hadoop.hive.ql.plan
Class ExprNodeDescUtils

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.ExprNodeDescUtils

public class ExprNodeDescUtils
extends Object


Constructor Summary
ExprNodeDescUtils()
           
 
Method Summary
static boolean containsPredicate(ExprNodeDesc source, ExprNodeDesc predicate)
          return true if predicate is already included in source
static int indexOf(ExprNodeDesc origin, List<ExprNodeDesc> sources)
           
static ExprNodeDesc mergePredicates(ExprNodeDesc prev, ExprNodeDesc next)
          bind two predicates by AND op
static ExprNodeDesc replace(ExprNodeDesc origin, List<ExprNodeDesc> sources, List<ExprNodeDesc> targets)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprNodeDescUtils

public ExprNodeDescUtils()
Method Detail

indexOf

public static int indexOf(ExprNodeDesc origin,
                          List<ExprNodeDesc> sources)

replace

public static ExprNodeDesc replace(ExprNodeDesc origin,
                                   List<ExprNodeDesc> sources,
                                   List<ExprNodeDesc> targets)

containsPredicate

public static boolean containsPredicate(ExprNodeDesc source,
                                        ExprNodeDesc predicate)
return true if predicate is already included in source


mergePredicates

public static ExprNodeDesc mergePredicates(ExprNodeDesc prev,
                                           ExprNodeDesc next)
bind two predicates by AND op



Copyright © 2013 The Apache Software Foundation