public class HiveParserContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HiveParserContext.DestClausePrefix
DestClausePrefix.
|
static class |
HiveParserContext.Operation
These ops require special handling in various places (note that Insert into Acid table is in
OTHER category).
|
Modifier and Type | Field and Description |
---|---|
protected int |
pathid |
Constructor and Description |
---|
HiveParserContext(org.apache.hadoop.conf.Configuration conf)
Create a HiveParserContext with a given executionId.
|
Modifier and Type | Method and Description |
---|---|
void |
addViewTokenRewriteStream(String viewFullyQualifiedName,
org.antlr.runtime.TokenRewriteStream tokenRewriteStream) |
org.apache.hadoop.conf.Configuration |
getConf() |
HiveParserContext.DestClausePrefix |
getDestNamePrefix(HiveParserASTNode curNode)
The suffix is always relative to a given HiveParserASTNode.
|
org.antlr.runtime.TokenRewriteStream |
getTokenRewriteStream() |
boolean |
isExplainSkipExecution() |
void |
setTokenRewriteStream(org.antlr.runtime.TokenRewriteStream tokenRewriteStream)
Set the token rewrite stream being used to parse the current top-level SQL statement.
|
public HiveParserContext(org.apache.hadoop.conf.Configuration conf)
public HiveParserContext.DestClausePrefix getDestNamePrefix(HiveParserASTNode curNode)
public boolean isExplainSkipExecution()
public void setTokenRewriteStream(org.antlr.runtime.TokenRewriteStream tokenRewriteStream)
tokenRewriteStream
- the stream being usedpublic org.antlr.runtime.TokenRewriteStream getTokenRewriteStream()
public void addViewTokenRewriteStream(String viewFullyQualifiedName, org.antlr.runtime.TokenRewriteStream tokenRewriteStream)
public org.apache.hadoop.conf.Configuration getConf()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.