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