org.apache.lens.cube.parse
Class CubeQueryRewriter
java.lang.Object
org.apache.lens.cube.parse.CubeQueryRewriter
public class CubeQueryRewriter
- extends Object
Rewrites given cube query into simple storage table HQL.
CubeQueryRewriter
public CubeQueryRewriter(org.apache.hadoop.conf.Configuration conf)
rewrite
public CubeQueryContext rewrite(org.apache.hadoop.hive.ql.parse.ASTNode astnode)
throws org.apache.hadoop.hive.ql.parse.SemanticException
- Throws:
org.apache.hadoop.hive.ql.parse.SemanticException
rewrite
public CubeQueryContext rewrite(String command)
throws org.apache.hadoop.hive.ql.parse.ParseException,
org.apache.hadoop.hive.ql.parse.SemanticException
- Throws:
org.apache.hadoop.hive.ql.parse.ParseException
org.apache.hadoop.hive.ql.parse.SemanticException
getQLContext
public org.apache.hadoop.hive.ql.Context getQLContext()
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.