public class HiveShimV210 extends HiveShimV201
| 构造器和说明 |
|---|
HiveShimV210() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
alterPartition(org.apache.hadoop.hive.metastore.IMetaStoreClient client,
String databaseName,
String tableName,
org.apache.hadoop.hive.metastore.api.Partition partition) |
void |
createTableWithConstraints(org.apache.hadoop.hive.metastore.IMetaStoreClient client,
org.apache.hadoop.hive.metastore.api.Table table,
org.apache.hadoop.conf.Configuration conf,
org.apache.flink.table.api.constraints.UniqueConstraint pk,
List<Byte> pkTraits,
List<String> notNullCols,
List<Byte> nnTraits)
Creates a table with PK and NOT NULL constraints.
|
Optional<org.apache.flink.table.api.constraints.UniqueConstraint> |
getPrimaryKey(org.apache.hadoop.hive.metastore.IMetaStoreClient client,
String dbName,
String tableName,
byte requiredTrait)
Get the primary key of a Hive table and convert it to a UniqueConstraint.
|
createOrcBulkWriterFactory, getHiveMetastoreClientalterTable, getBuiltInFunctionInfo, isDateStats, listBuiltInFunctions, toFlinkDateColStats, toHiveDateColStatsgetFieldsFromDeserializer, getHiveOutputFormatClass, getHiveRecordWritercreateUDAFParameterInfo, getDateDataTypeClass, getHiveMetaStoreUtilsClass, getMetaStoreUtilsClass, getNotNullColumns, getTimestampDataTypeClass, getViews, hivePrimitiveToWritable, toFlinkDate, toFlinkTimestamp, toHiveDate, toHiveTimestamppublic void alterPartition(org.apache.hadoop.hive.metastore.IMetaStoreClient client,
String databaseName,
String tableName,
org.apache.hadoop.hive.metastore.api.Partition partition)
throws org.apache.hadoop.hive.metastore.api.InvalidOperationException,
org.apache.hadoop.hive.metastore.api.MetaException,
org.apache.thrift.TException
alterPartition 在接口中 HiveShimalterPartition 在类中 HiveShimV100org.apache.hadoop.hive.metastore.api.InvalidOperationExceptionorg.apache.hadoop.hive.metastore.api.MetaExceptionorg.apache.thrift.TExceptionpublic Optional<org.apache.flink.table.api.constraints.UniqueConstraint> getPrimaryKey(org.apache.hadoop.hive.metastore.IMetaStoreClient client, String dbName, String tableName, byte requiredTrait)
HiveShimgetPrimaryKey 在接口中 HiveShimgetPrimaryKey 在类中 HiveShimV100public void createTableWithConstraints(org.apache.hadoop.hive.metastore.IMetaStoreClient client,
org.apache.hadoop.hive.metastore.api.Table table,
org.apache.hadoop.conf.Configuration conf,
org.apache.flink.table.api.constraints.UniqueConstraint pk,
List<Byte> pkTraits,
List<String> notNullCols,
List<Byte> nnTraits)
HiveShimcreateTableWithConstraints 在接口中 HiveShimcreateTableWithConstraints 在类中 HiveShimV100Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.