public static class HiveSchemaHelper.DerbyCommandParser extends Object
HiveSchemaHelper.NestedScriptParser.CommandTypeDEFAULT_DELIMITER, DEFAULT_QUOTE| Constructor and Description |
|---|
DerbyCommandParser(String dbOpts,
String msUsername,
String msPassword,
org.apache.hadoop.conf.Configuration conf,
boolean usingSqlLine) |
| 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 © 2019 The Apache Software Foundation. All Rights Reserved.