org.apache.hive.service.cli.operation
Class ClassicTableTypeMapping
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassicTableTypeMapping
public ClassicTableTypeMapping()
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