public class HiveTableOperations extends BaseMetastoreTableOperations
ICEBERG_TABLE_TYPE_VALUE, METADATA_LOCATION_PROP, PREVIOUS_METADATA_LOCATION_PROP, TABLE_TYPE_PROP| Modifier | Constructor and Description |
|---|---|
protected |
HiveTableOperations(org.apache.hadoop.conf.Configuration conf,
HiveClientPool metaClients,
FileIO fileIO,
java.lang.String catalogName,
java.lang.String database,
java.lang.String table) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCommit(TableMetadata base,
TableMetadata metadata) |
protected void |
doRefresh() |
protected void |
doUnlock(long lockId) |
FileIO |
io()
Returns a
FileIO to read and write table data and metadata files. |
protected java.lang.String |
tableName()
The full name of the table used for logging purposes only.
|
commit, current, currentMetadataLocation, currentVersion, locationProvider, metadataFileLocation, refresh, refreshFromMetadataLocation, refreshFromMetadataLocation, refreshFromMetadataLocation, requestRefresh, temp, writeNewMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencryption, newSnapshotIdprotected HiveTableOperations(org.apache.hadoop.conf.Configuration conf,
HiveClientPool metaClients,
FileIO fileIO,
java.lang.String catalogName,
java.lang.String database,
java.lang.String table)
protected java.lang.String tableName()
BaseMetastoreTableOperationstableName in class BaseMetastoreTableOperationspublic FileIO io()
TableOperationsFileIO to read and write table data and metadata files.protected void doRefresh()
doRefresh in class BaseMetastoreTableOperationsprotected void doCommit(TableMetadata base, TableMetadata metadata)
doCommit in class BaseMetastoreTableOperationsprotected void doUnlock(long lockId)
throws org.apache.thrift.TException,
java.lang.InterruptedException
org.apache.thrift.TExceptionjava.lang.InterruptedException