public static class HiveSchemaHelper.HiveCommandParser extends Object
HiveSchemaHelper.NestedScriptParser.CommandTypeDEFAULT_DELIMITER, DEFAULT_QUOTE| Constructor and Description |
|---|
HiveCommandParser(String dbOpts,
String msUsername,
String msPassword,
org.apache.hadoop.conf.Configuration conf,
String metaDbType,
boolean usingSqlLine) |
| Modifier and Type | Method and Description |
|---|---|
String |
getQuoteCharacter()
Get the SQL indentifier quotation character
|
String |
getScriptName(String dbCommand)
Parse the DB specific nesting format and extract the inner script name if any
|
boolean |
isNestedScript(String dbCommand)
Find if the given command is a nested script execution
|
public String getQuoteCharacter()
HiveSchemaHelper.NestedScriptParsergetQuoteCharacter in interface HiveSchemaHelper.NestedScriptParserpublic String getScriptName(String dbCommand) throws IllegalArgumentException
HiveSchemaHelper.NestedScriptParserdbCommand - command from parent scriptIllegalFormatExceptionIllegalArgumentExceptionpublic boolean isNestedScript(String dbCommand)
HiveSchemaHelper.NestedScriptParserCopyright © 2019 The Apache Software Foundation. All Rights Reserved.