public class HiveMetastoreClient extends Object implements MetastoreClient
MetastoreClient for Hive tables.| Modifier and Type | Class and Description |
|---|---|
static class |
HiveMetastoreClient.Factory
Factory to create
HiveMetastoreClient. |
| Modifier and Type | Method and Description |
|---|---|
void |
addPartition(BinaryRow partition) |
void |
addPartition(LinkedHashMap<String,String> partitionSpec) |
org.apache.hadoop.hive.metastore.IMetaStoreClient |
client() |
void |
close() |
void |
deletePartition(LinkedHashMap<String,String> partitionSpec) |
void |
markDone(LinkedHashMap<String,String> partitionSpec) |
public void addPartition(BinaryRow partition) throws Exception
addPartition in interface MetastoreClientExceptionpublic void addPartition(LinkedHashMap<String,String> partitionSpec) throws Exception
addPartition in interface MetastoreClientExceptionpublic void deletePartition(LinkedHashMap<String,String> partitionSpec) throws Exception
deletePartition in interface MetastoreClientExceptionpublic void markDone(LinkedHashMap<String,String> partitionSpec) throws Exception
markDone in interface MetastoreClientExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionpublic org.apache.hadoop.hive.metastore.IMetaStoreClient client()
throws org.apache.thrift.TException,
InterruptedException
org.apache.thrift.TExceptionInterruptedExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.