public class HiveShimV120 extends HiveShimV111
| 构造器和说明 |
|---|
HiveShimV120() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
alterTable(org.apache.hadoop.hive.metastore.IMetaStoreClient client,
String databaseName,
String tableName,
org.apache.hadoop.hive.metastore.api.Table table)
Alters a Hive table.
|
Optional<org.apache.hadoop.hive.ql.exec.FunctionInfo> |
getBuiltInFunctionInfo(String name)
Get a Hive built-in function by name.
|
org.apache.hadoop.hive.metastore.IMetaStoreClient |
getHiveMetastoreClient(org.apache.hadoop.hive.conf.HiveConf hiveConf)
Create a Hive Metastore client based on the given HiveConf object.
|
boolean |
isDateStats(org.apache.hadoop.hive.metastore.api.ColumnStatisticsData colStatsData)
Whether a Hive ColumnStatisticsData is for DATE columns.
|
Set<String> |
listBuiltInFunctions()
List names of all built-in functions.
|
org.apache.flink.table.catalog.stats.CatalogColumnStatisticsDataDate |
toFlinkDateColStats(org.apache.hadoop.hive.metastore.api.ColumnStatisticsData hiveDateColStats)
Generate Flink CatalogColumnStatisticsDataDate from Hive ColumnStatisticsData for DATE columns.
|
org.apache.hadoop.hive.metastore.api.ColumnStatisticsData |
toHiveDateColStats(org.apache.flink.table.catalog.stats.CatalogColumnStatisticsDataDate flinkDateColStats)
Generate Hive ColumnStatisticsData from Flink CatalogColumnStatisticsDataDate for DATE columns.
|
getFieldsFromDeserializer, getHiveOutputFormatClass, getHiveRecordWriteralterPartition, createUDAFParameterInfo, getDateDataTypeClass, getHiveMetaStoreUtilsClass, getMetaStoreUtilsClass, getNotNullColumns, getPrimaryKey, getTimestampDataTypeClass, getViews, hivePrimitiveToWritable, toFlinkDate, toFlinkTimestamp, toHiveDate, toHiveTimestamppublic org.apache.hadoop.hive.metastore.IMetaStoreClient getHiveMetastoreClient(org.apache.hadoop.hive.conf.HiveConf hiveConf)
HiveShimgetHiveMetastoreClient 在接口中 HiveShimgetHiveMetastoreClient 在类中 HiveShimV100hiveConf - HiveConf instancepublic void alterTable(org.apache.hadoop.hive.metastore.IMetaStoreClient client,
String databaseName,
String tableName,
org.apache.hadoop.hive.metastore.api.Table table)
throws org.apache.hadoop.hive.metastore.api.InvalidOperationException,
org.apache.hadoop.hive.metastore.api.MetaException,
org.apache.thrift.TException
HiveShimalterTable 在接口中 HiveShimalterTable 在类中 HiveShimV100client - the Hive metastore clientdatabaseName - the name of the database to which the table belongstableName - the name of the table to be alteredtable - the new Hive tableorg.apache.hadoop.hive.metastore.api.InvalidOperationExceptionorg.apache.hadoop.hive.metastore.api.MetaExceptionorg.apache.thrift.TExceptionpublic org.apache.hadoop.hive.metastore.api.ColumnStatisticsData toHiveDateColStats(org.apache.flink.table.catalog.stats.CatalogColumnStatisticsDataDate flinkDateColStats)
HiveShimtoHiveDateColStats 在接口中 HiveShimtoHiveDateColStats 在类中 HiveShimV100public boolean isDateStats(org.apache.hadoop.hive.metastore.api.ColumnStatisticsData colStatsData)
HiveShimisDateStats 在接口中 HiveShimisDateStats 在类中 HiveShimV100public org.apache.flink.table.catalog.stats.CatalogColumnStatisticsDataDate toFlinkDateColStats(org.apache.hadoop.hive.metastore.api.ColumnStatisticsData hiveDateColStats)
HiveShimtoFlinkDateColStats 在接口中 HiveShimtoFlinkDateColStats 在类中 HiveShimV100public Set<String> listBuiltInFunctions()
HiveShimlistBuiltInFunctions 在接口中 HiveShimlistBuiltInFunctions 在类中 HiveShimV100public Optional<org.apache.hadoop.hive.ql.exec.FunctionInfo> getBuiltInFunctionInfo(String name)
HiveShimgetBuiltInFunctionInfo 在接口中 HiveShimgetBuiltInFunctionInfo 在类中 HiveShimV100Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.