org.apache.hive.beeline
Class HiveSchemaHelper.OracleCommandParser
java.lang.Object
org.apache.hive.beeline.HiveSchemaHelper.OracleCommandParser
- All Implemented Interfaces:
- HiveSchemaHelper.NestedScriptParser
- Enclosing class:
- HiveSchemaHelper
public static class HiveSchemaHelper.OracleCommandParser
- extends Object
Method Summary |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HiveSchemaHelper.OracleCommandParser
public HiveSchemaHelper.OracleCommandParser()
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:
Copyright © 2012 The Apache Software Foundation