|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.hive.HiveQLParser
public class HiveQLParser
A parser of Hive Query Language.
| Constructor Summary | |
|---|---|
HiveQLParser()
|
|
| Method Summary | |
|---|---|
int |
compile()
|
PlanNode |
constructPlan()
|
int |
execute()
|
org.antlr.runtime.tree.CommonTree |
getASTree()
Get the Abstract Syntax Tree |
QueryType |
getQueryType()
Get last parsed query type |
void |
parse(String command)
Parses the HiveQL query command |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HiveQLParser()
| Method Detail |
|---|
public void parse(String command)
throws Exception
command - The query to be parsed
Exception - If query parsing failedpublic QueryType getQueryType()
QueryTypepublic int compile()
public int execute()
public PlanNode constructPlan()
throws Exception
Exceptionpublic org.antlr.runtime.tree.CommonTree getASTree()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||