public static class HiveSchemaHelper.PostgresCommandParser
extends java.lang.Object
HiveSchemaHelper.NestedScriptParser.CommandType
DEFAUTL_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.NestedScriptParser
dbCommand
- command from parent scriptjava.util.IllegalFormatException
java.lang.IllegalArgumentException
public boolean isNestedScript(java.lang.String dbCommand)
HiveSchemaHelper.NestedScriptParser
public boolean needsQuotedIdentifier()
HiveSchemaHelper.NestedScriptParser
needsQuotedIdentifier
in interface HiveSchemaHelper.NestedScriptParser
Copyright © 2012 The Apache Software Foundation