org.apache.hive.beeline
Class HiveSchemaHelper.DerbyCommandParser

java.lang.Object
  extended by org.apache.hive.beeline.HiveSchemaHelper.DerbyCommandParser
All Implemented Interfaces:
HiveSchemaHelper.NestedScriptParser
Enclosing class:
HiveSchemaHelper

public static class HiveSchemaHelper.DerbyCommandParser
extends Object


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hive.beeline.HiveSchemaHelper.NestedScriptParser
HiveSchemaHelper.NestedScriptParser.CommandType
 
Field Summary
 
Fields inherited from interface org.apache.hive.beeline.HiveSchemaHelper.NestedScriptParser
DEFAUTL_DELIMITER
 
Constructor Summary
HiveSchemaHelper.DerbyCommandParser()
           
 
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
 

Constructor Detail

HiveSchemaHelper.DerbyCommandParser

public HiveSchemaHelper.DerbyCommandParser()
Method Detail

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