Package org.apache.iceberg.nessie
Class NessieTableOperations
java.lang.Object
org.apache.iceberg.BaseMetastoreOperations
org.apache.iceberg.BaseMetastoreTableOperations
org.apache.iceberg.nessie.NessieTableOperations
- All Implemented Interfaces:
TableOperations
Nessie implementation of Iceberg TableOperations.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.iceberg.BaseMetastoreOperations
BaseMetastoreOperations.CommitStatus
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Name of the `TableMetadata
property that holds the Nessie commit-ID from which the metadata has been loaded.static final String
Fields inherited from class org.apache.iceberg.BaseMetastoreTableOperations
ICEBERG_TABLE_TYPE_VALUE, METADATA_LOCATION_PROP, PREVIOUS_METADATA_LOCATION_PROP, TABLE_TYPE_PROP
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doCommit
(TableMetadata base, TableMetadata metadata) protected void
io()
Returns aFileIO
to read and write table data and metadata files.protected String
The full name of the table used for logging purposes only.Methods inherited from class org.apache.iceberg.BaseMetastoreTableOperations
checkCommitStatus, commit, current, currentMetadataLocation, currentVersion, disableRefresh, locationProvider, metadataFileLocation, refresh, refreshFromMetadataLocation, refreshFromMetadataLocation, refreshFromMetadataLocation, refreshFromMetadataLocation, requestRefresh, temp, writeNewMetadata, writeNewMetadataIfRequired
Methods inherited from class org.apache.iceberg.BaseMetastoreOperations
checkCommitStatus
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.iceberg.TableOperations
encryption, newSnapshotId, requireStrictCleanup
-
Field Details
-
NESSIE_COMMIT_ID_PROPERTY
Name of the `TableMetadata
property that holds the Nessie commit-ID from which the metadata has been loaded.- See Also:
-
NESSIE_GC_NO_WARNING_PROPERTY
- See Also:
-
-
Method Details
-
tableName
Description copied from class:BaseMetastoreTableOperations
The full name of the table used for logging purposes only. For example for HiveTableOperations it is catalogName + "." + database + "." + table.- Specified by:
tableName
in classBaseMetastoreTableOperations
- Returns:
- The full name
-
doRefresh
protected void doRefresh()- Overrides:
doRefresh
in classBaseMetastoreTableOperations
-
doCommit
- Overrides:
doCommit
in classBaseMetastoreTableOperations
-
io
Description copied from interface:TableOperations
Returns aFileIO
to read and write table data and metadata files.
-