public final class SynchronizedMetaStoreClient extends Object
Constructor and Description |
---|
SynchronizedMetaStoreClient(IMetaStoreClient client) |
public SynchronizedMetaStoreClient(IMetaStoreClient client)
public long openTxn(String user) throws org.apache.thrift.TException
org.apache.thrift.TException
public void commitTxn(long txnid) throws org.apache.thrift.TException
org.apache.thrift.TException
public void rollbackTxn(long txnid) throws org.apache.thrift.TException
org.apache.thrift.TException
public void heartbeat(long txnid, long lockid) throws org.apache.thrift.TException
org.apache.thrift.TException
public ValidTxnList getValidTxns(long currentTxn) throws org.apache.thrift.TException
org.apache.thrift.TException
public LockResponse lock(LockRequest request) throws org.apache.thrift.TException
org.apache.thrift.TException
public Partition add_partition(Partition partition) throws org.apache.thrift.TException
org.apache.thrift.TException
public int add_partitions(List<Partition> partitions) throws org.apache.thrift.TException
org.apache.thrift.TException
public void alter_partition(String catName, String dbName, String tblName, Partition newPart, EnvironmentContext environmentContext, String writeIdList) throws org.apache.thrift.TException
org.apache.thrift.TException
public void alter_partitions(String catName, String dbName, String tblName, List<Partition> partitions, EnvironmentContext environmentContext, String writeIdList, long writeId) throws org.apache.thrift.TException
org.apache.thrift.TException
public LockResponse checkLock(long lockid) throws org.apache.thrift.TException
org.apache.thrift.TException
public void unlock(long lockid) throws org.apache.thrift.TException
org.apache.thrift.TException
public ShowLocksResponse showLocks(ShowLocksRequest showLocksRequest) throws org.apache.thrift.TException
org.apache.thrift.TException
public Partition getPartitionWithAuthInfo(String dbName, String tableName, List<String> pvals, String userName, List<String> groupNames) throws MetaException, UnknownTableException, NoSuchObjectException, org.apache.thrift.TException
MetaException
UnknownTableException
NoSuchObjectException
org.apache.thrift.TException
public Partition appendPartition(String db_name, String table_name, List<String> part_vals) throws InvalidObjectException, AlreadyExistsException, MetaException, org.apache.thrift.TException
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException
public FireEventResponse fireListenerEvent(FireEventRequest rqst) throws org.apache.thrift.TException
org.apache.thrift.TException
public void addWriteNotificationLog(WriteNotificationLogRequest rqst) throws org.apache.thrift.TException
org.apache.thrift.TException
public void addWriteNotificationLogInBatch(WriteNotificationLogBatchRequest rqst) throws org.apache.thrift.TException
org.apache.thrift.TException
public CmRecycleResponse recycleDirToCmPath(CmRecycleRequest request) throws MetaException, org.apache.thrift.TException
MetaException
org.apache.thrift.TException
public void close()
public boolean isSameConfObj(org.apache.hadoop.conf.Configuration c)
public boolean isCompatibleWith(org.apache.hadoop.conf.Configuration c)
Copyright © 2022 The Apache Software Foundation. All rights reserved.