public class ClassicTableTypeMapping extends Object implements TableTypeMapping
Modifier and Type | Class and Description |
---|---|
static class |
ClassicTableTypeMapping.ClassicTableTypes |
Constructor and Description |
---|
ClassicTableTypeMapping() |
Modifier and Type | Method and Description |
---|---|
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
|
public String[] mapToHiveType(String clientTypeName)
TableTypeMapping
mapToHiveType
in interface TableTypeMapping
public String mapToClientType(String hiveTypeName)
TableTypeMapping
mapToClientType
in interface TableTypeMapping
public Set<String> getTableTypeNames()
TableTypeMapping
getTableTypeNames
in interface TableTypeMapping
Copyright © 2019 The Apache Software Foundation. All rights reserved.