Package org.apache.iceberg.nessie
Class NessieIcebergClient
java.lang.Object
org.apache.iceberg.nessie.NessieIcebergClient
- All Implemented Interfaces:
- AutoCloseable
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()voidcommitTable(TableMetadata base, TableMetadata metadata, String newMetadataLocation, String contentId, org.projectnessie.model.ContentKey key) voidcommitView(ViewMetadata base, ViewMetadata metadata, String newMetadataLocation, String contentId, org.projectnessie.model.ContentKey key) voidcreateNamespace(Namespace namespace, Map<String, String> metadata) booleandropNamespace(Namespace namespace) booleandropTable(TableIdentifier identifier, boolean purge) booleandropView(TableIdentifier identifier, boolean purge) org.projectnessie.model.IcebergContentfetchContent(TableIdentifier tableIdentifier) org.projectnessie.client.api.NessieApiV1getApi()org.projectnessie.model.ReferencelistNamespaces(Namespace namespace) listTables(Namespace namespace) loadNamespaceMetadata(Namespace namespace) refName()voidrefresh()booleanremoveProperties(Namespace namespace, Set<String> properties) voidrenameTable(TableIdentifier from, TableIdentifier to) voidrenameView(TableIdentifier from, TableIdentifier to) booleansetProperties(Namespace namespace, Map<String, String> properties) org.projectnessie.model.IcebergTabletable(TableIdentifier tableIdentifier) org.projectnessie.model.IcebergViewview(TableIdentifier tableIdentifier) withReference(String requestedRef, String hash) 
- 
Constructor Details- 
NessieIcebergClient
 
- 
- 
Method Details- 
getApipublic org.projectnessie.client.api.NessieApiV1 getApi()
- 
getReferencepublic org.projectnessie.model.Reference getReference()
- 
refreshpublic void refresh() throws org.projectnessie.error.NessieNotFoundException- Throws:
- org.projectnessie.error.NessieNotFoundException
 
- 
withReference
- 
listTables
- 
listViews
- 
table
- 
view
- 
fetchContent
- 
createNamespace
- 
listNamespaces- Throws:
- NoSuchNamespaceException
 
- 
dropNamespace- Throws:
- NamespaceNotEmptyException
 
- 
loadNamespaceMetadatapublic Map<String,String> loadNamespaceMetadata(Namespace namespace) throws NoSuchNamespaceException - Throws:
- NoSuchNamespaceException
 
- 
setProperties
- 
removeProperties
- 
renameTable
- 
renameView
- 
dropTable
- 
dropView
- 
commitTablepublic void commitTable(TableMetadata base, TableMetadata metadata, String newMetadataLocation, String contentId, org.projectnessie.model.ContentKey key) throws org.projectnessie.error.NessieConflictException, org.projectnessie.error.NessieNotFoundException - Throws:
- org.projectnessie.error.NessieConflictException
- org.projectnessie.error.NessieNotFoundException
 
- 
commitViewpublic void commitView(ViewMetadata base, ViewMetadata metadata, String newMetadataLocation, String contentId, org.projectnessie.model.ContentKey key) throws org.projectnessie.error.NessieConflictException, org.projectnessie.error.NessieNotFoundException - Throws:
- org.projectnessie.error.NessieConflictException
- org.projectnessie.error.NessieNotFoundException
 
- 
refName
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
 
 
-