public static class HiveSchemaHelper.MSSQLCommandParser extends Object
HiveSchemaHelper.NestedScriptParser.CommandTypeDEFAUTL_DELIMITER| Constructor and Description |
|---|
HiveSchemaHelper.MSSQLCommandParser(String dbOpts,
String msUsername,
String msPassword,
HiveConf hiveConf) |
| Modifier and Type | Method and Description |
|---|---|
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 getScriptName(String dbCommand) throws IllegalArgumentException
HiveSchemaHelper.NestedScriptParserdbCommand - command from parent scriptIllegalFormatExceptionIllegalArgumentExceptionpublic boolean isNestedScript(String dbCommand)
HiveSchemaHelper.NestedScriptParserCopyright © 2017 The Apache Software Foundation. All rights reserved.