org.apache.hadoop.hive.ql.plan
Class ExprNodeDescUtils
java.lang.Object
org.apache.hadoop.hive.ql.plan.ExprNodeDescUtils
public class ExprNodeDescUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExprNodeDescUtils
public ExprNodeDescUtils()
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