Package org.apache.iceberg.nessie
Class NessieTableOperations
- java.lang.Object
-
- 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.BaseMetastoreTableOperations
BaseMetastoreTableOperations.CommitStatus
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNESSIE_COMMIT_ID_PROPERTYName of the `TableMetadataproperty that holds the Nessie commit-ID from which the metadata has been loaded.-
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 voiddoCommit(TableMetadata base, TableMetadata metadata)protected voiddoRefresh()FileIOio()Returns aFileIOto read and write table data and metadata files.protected java.lang.StringtableName()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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iceberg.TableOperations
encryption, newSnapshotId
-
-
-
-
Field Detail
-
NESSIE_COMMIT_ID_PROPERTY
public static final java.lang.String NESSIE_COMMIT_ID_PROPERTY
Name of the `TableMetadataproperty that holds the Nessie commit-ID from which the metadata has been loaded.- See Also:
- Constant Field Values
-
-
Method Detail
-
tableName
protected java.lang.String tableName()
Description copied from class:BaseMetastoreTableOperationsThe full name of the table used for logging purposes only. For example for HiveTableOperations it is catalogName + "." + database + "." + table.- Specified by:
tableNamein classBaseMetastoreTableOperations- Returns:
- The full name
-
doRefresh
protected void doRefresh()
- Overrides:
doRefreshin classBaseMetastoreTableOperations
-
doCommit
protected void doCommit(TableMetadata base, TableMetadata metadata)
- Overrides:
doCommitin classBaseMetastoreTableOperations
-
io
public FileIO io()
Description copied from interface:TableOperationsReturns aFileIOto read and write table data and metadata files.
-
-