org.apache.hive.service.cli.operation
Class ClassicTableTypeMapping

java.lang.Object
  extended by org.apache.hive.service.cli.operation.ClassicTableTypeMapping
All Implemented Interfaces:
TableTypeMapping

public class ClassicTableTypeMapping
extends Object
implements TableTypeMapping

ClassicTableTypeMapping. Classic table type mapping : Managed Table ==> Table External Table ==> Table Virtual View ==> View


Nested Class Summary
static class ClassicTableTypeMapping.ClassicTableTypes
           
 
Constructor Summary
ClassicTableTypeMapping()
           
 
Method Summary
 Set<String> getTableTypeNames()
          Get all the table types of this mapping
 String mapToClientType(String hiveTypeName)
          Map hive's table type name to client's table type
 String mapToHiveType(String clientTypeName)
          Map client's table type name to hive's table type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassicTableTypeMapping

public ClassicTableTypeMapping()
Method Detail

mapToHiveType

public String mapToHiveType(String clientTypeName)
Description copied from interface: TableTypeMapping
Map client's table type name to hive's table type

Specified by:
mapToHiveType in interface TableTypeMapping
Returns:

mapToClientType

public String mapToClientType(String hiveTypeName)
Description copied from interface: TableTypeMapping
Map hive's table type name to client's table type

Specified by:
mapToClientType in interface TableTypeMapping
Returns:

getTableTypeNames

public Set<String> getTableTypeNames()
Description copied from interface: TableTypeMapping
Get all the table types of this mapping

Specified by:
getTableTypeNames in interface TableTypeMapping
Returns:


Copyright © 2012 The Apache Software Foundation