|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface HiveSchemaHelper.NestedScriptParser
Nested Class Summary | |
---|---|
static class |
HiveSchemaHelper.NestedScriptParser.CommandType
|
Field Summary | |
---|---|
static String |
DEFAUTL_DELIMITER
|
Method Summary | |
---|---|
String |
cleanseCommand(String dbCommand)
Clear any client specific tags |
String |
getDelimiter()
Get the SQL statement delimiter |
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 |
boolean |
isNonExecCommand(String dbCommand)
Find if the given command is should be passed to DB |
boolean |
isPartialCommand(String dbCommand)
Find the type of given command |
boolean |
needsQuotedIdentifier()
Does the DB required table/column names quoted |
Field Detail |
---|
static final String DEFAUTL_DELIMITER
Method Detail |
---|
boolean isPartialCommand(String dbCommand) throws IllegalArgumentException
dbCommand
-
IllegalArgumentException
String getScriptName(String dbCommand) throws IllegalArgumentException
dbCommand
- command from parent script
IllegalFormatException
IllegalArgumentException
boolean isNestedScript(String dbCommand)
dbCommand
-
boolean isNonExecCommand(String dbCommand)
dbCommand
-
String getDelimiter()
String cleanseCommand(String dbCommand)
boolean needsQuotedIdentifier()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |