org.apache.hive.beeline
Class HiveSchemaHelper.PostgresCommandParser
java.lang.Object
org.apache.hive.beeline.HiveSchemaHelper.PostgresCommandParser
- All Implemented Interfaces:
- HiveSchemaHelper.NestedScriptParser
- Enclosing class:
- HiveSchemaHelper
public static class HiveSchemaHelper.PostgresCommandParser
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HiveSchemaHelper.PostgresCommandParser
public HiveSchemaHelper.PostgresCommandParser()
getScriptName
public String getScriptName(String dbCommand)
throws IllegalArgumentException
- Description copied from interface:
HiveSchemaHelper.NestedScriptParser
- Parse the DB specific nesting format and extract the inner script name if any
- Parameters:
dbCommand
- command from parent script
- Returns:
-
- Throws:
IllegalFormatException
IllegalArgumentException
isNestedScript
public boolean isNestedScript(String dbCommand)
- Description copied from interface:
HiveSchemaHelper.NestedScriptParser
- Find if the given command is a nested script execution
- Returns:
needsQuotedIdentifier
public boolean needsQuotedIdentifier()
- Description copied from interface:
HiveSchemaHelper.NestedScriptParser
- Does the DB required table/column names quoted
- Specified by:
needsQuotedIdentifier
in interface HiveSchemaHelper.NestedScriptParser
- Returns:
Copyright © 2012 The Apache Software Foundation