public static class HiveSchemaHelper.DerbyCommandParser extends Object
HiveSchemaHelper.NestedScriptParser.CommandType
DEFAUTL_DELIMITER
Constructor and Description |
---|
HiveSchemaHelper.DerbyCommandParser(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.NestedScriptParser
dbCommand
- command from parent scriptIllegalFormatException
IllegalArgumentException
public boolean isNestedScript(String dbCommand)
HiveSchemaHelper.NestedScriptParser
Copyright © 2017 The Apache Software Foundation. All rights reserved.