gr.uoa.di.madgik.hive
Class HiveQLPlanner
java.lang.Object
gr.uoa.di.madgik.hive.HiveQLPlanner
public class HiveQLPlanner
- extends Object
This class after parsing a HiveQL query creates an abstract plan.
- Author:
- john.gerbesiotis - DI NKUA
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HiveQLPlanner
public HiveQLPlanner()
processLine
public void processLine(String line)
throws Exception
- Process each HiveQL command separately. Line is split to multiple
commands before processing.
- Parameters:
line - Multiple queries line
- Throws:
Exception - if parsing fails
getCreatedPlan
public PlanNode getCreatedPlan()
getTablesSource
public static TableDesc getTablesSource(String table)
removeQuotes
protected static String removeQuotes(String str)
comressedContentOfFile
public byte[] comressedContentOfFile(File file)
Copyright © 2013. All Rights Reserved.