public static class HiveSchemaHelper.PostgresCommandParser
extends java.lang.Object
HiveSchemaHelper.NestedScriptParser.CommandTypeDEFAUTL_DELIMITER| Constructor and Description |
|---|
PostgresCommandParser() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getScriptName(java.lang.String dbCommand)
Parse the DB specific nesting format and extract the inner script name if any
|
boolean |
isNestedScript(java.lang.String dbCommand)
Find if the given command is a nested script execution
|
boolean |
needsQuotedIdentifier()
Does the DB required table/column names quoted
|
public java.lang.String getScriptName(java.lang.String dbCommand)
throws java.lang.IllegalArgumentException
HiveSchemaHelper.NestedScriptParserdbCommand - command from parent scriptjava.util.IllegalFormatExceptionjava.lang.IllegalArgumentExceptionpublic boolean isNestedScript(java.lang.String dbCommand)
HiveSchemaHelper.NestedScriptParserpublic boolean needsQuotedIdentifier()
HiveSchemaHelper.NestedScriptParserneedsQuotedIdentifier in interface HiveSchemaHelper.NestedScriptParserCopyright © 2012 The Apache Software Foundation