org.apache.hadoop.hive.ql.optimizer.optiq.translator
Class SqlFunctionConverter

java.lang.Object
  extended by org.apache.hadoop.hive.ql.optimizer.optiq.translator.SqlFunctionConverter

public class SqlFunctionConverter
extends Object


Constructor Summary
SqlFunctionConverter()
           
 
Method Summary
static ASTNode buildAST(org.eigenbase.sql.SqlOperator op, List<ASTNode> children)
           
static ASTNode buildAST(org.eigenbase.sql.SqlOperator op, List<ASTNode> children, int i)
          Build AST for flattened Associative expressions ('and', 'or').
static org.eigenbase.sql.SqlOperator getOptiqOperator(GenericUDF hiveUDF)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlFunctionConverter

public SqlFunctionConverter()
Method Detail

getOptiqOperator

public static org.eigenbase.sql.SqlOperator getOptiqOperator(GenericUDF hiveUDF)

buildAST

public static ASTNode buildAST(org.eigenbase.sql.SqlOperator op,
                               List<ASTNode> children)

buildAST

public static ASTNode buildAST(org.eigenbase.sql.SqlOperator op,
                               List<ASTNode> children,
                               int i)
Build AST for flattened Associative expressions ('and', 'or'). Flattened expressions is of the form or[x,y,z] which is originally represented as "or[x, or[y, z]]".



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