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
public class NessieTableOperations extends BaseMetastoreTableOperations
Nessie implementation of Iceberg TableOperations.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.iceberg.BaseMetastoreOperations
BaseMetastoreOperations.CommitStatus
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NESSIE_COMMIT_ID_PROPERTY
Name of the `TableMetadata
property that holds the Nessie commit-ID from which the metadata has been loaded.static java.lang.String
NESSIE_GC_NO_WARNING_PROPERTY
-
Fields inherited from class org.apache.iceberg.BaseMetastoreTableOperations
ICEBERG_TABLE_TYPE_VALUE, METADATA_LOCATION_PROP, PREVIOUS_METADATA_LOCATION_PROP, TABLE_TYPE_PROP
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doCommit(TableMetadata base, TableMetadata metadata)
protected void
doRefresh()
FileIO
io()
Returns aFileIO
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.-
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 Detail
-
NESSIE_COMMIT_ID_PROPERTY
public static final java.lang.String NESSIE_COMMIT_ID_PROPERTY
Name of the `TableMetadata
property that holds the Nessie commit-ID from which the metadata has been loaded.- See Also:
- Constant Field Values
-
NESSIE_GC_NO_WARNING_PROPERTY
public static final java.lang.String NESSIE_GC_NO_WARNING_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
tableName
protected java.lang.String 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
protected void doCommit(TableMetadata base, TableMetadata metadata)
- Overrides:
doCommit
in classBaseMetastoreTableOperations
-
io
public FileIO io()
Description copied from interface:TableOperations
Returns aFileIO
to read and write table data and metadata files.
-
-