@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| Constructor and Description |
|---|
MetastoreCommitPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
commit(PartitionCommitPolicy.Context context)
Commit a partition.
|
void |
setMetastore(TableMetaStoreFactory.TableMetaStore metaStore) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidatePolicyChainpublic void setMetastore(TableMetaStoreFactory.TableMetaStore metaStore)
public void commit(PartitionCommitPolicy.Context context) throws Exception
PartitionCommitPolicycommit in interface PartitionCommitPolicyExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.