@Internal public class MetastoreCommitPolicy extends Object implements PartitionCommitPolicy
If this is for file system table, the metastore is a empty implemantation. If this is for hive table, the metastore is for connecting to hive metastore.
PartitionCommitPolicy.ContextCUSTOM, METASTORE, SUCCESS_FILE| 构造器和说明 |
|---|
MetastoreCommitPolicy() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
commit(PartitionCommitPolicy.Context context)
Commit a partition.
|
void |
setMetastore(TableMetaStoreFactory.TableMetaStore metaStore) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatePolicyChain, validatePolicyChainpublic void setMetastore(TableMetaStoreFactory.TableMetaStore metaStore)
public void commit(PartitionCommitPolicy.Context context) throws Exception
PartitionCommitPolicycommit 在接口中 PartitionCommitPolicyExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.