Class ClientSideUpdateNamespace
- java.lang.Object
-
- org.projectnessie.client.builder.BaseUpdateNamespaceBuilder
-
- org.projectnessie.client.util.v2api.ClientSideUpdateNamespace
-
- All Implemented Interfaces:
OnNamespaceBuilder<UpdateNamespaceBuilder>,OnReferenceBuilder<UpdateNamespaceBuilder>,UpdateNamespaceBuilder
public final class ClientSideUpdateNamespace extends BaseUpdateNamespaceBuilder
Supports previous "update namespace" functionality of the java client over Nessie API v2.API v2 does not have methods dedicated to manging namespaces. Namespaces are expected to be managed as ordinary content objects.
-
-
Field Summary
-
Fields inherited from class org.projectnessie.client.builder.BaseUpdateNamespaceBuilder
hashOnRef, namespace, propertyRemovals, propertyUpdates, refName
-
-
Constructor Summary
Constructors Constructor Description ClientSideUpdateNamespace(NessieApiV2 api)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidupdate()UpdateNamespaceResultupdateWithResponse()-
Methods inherited from class org.projectnessie.client.builder.BaseUpdateNamespaceBuilder
hashOnRef, namespace, refName, removeProperties, removeProperty, updateProperties, updateProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.projectnessie.client.api.OnNamespaceBuilder
namespace
-
Methods inherited from interface org.projectnessie.client.api.OnReferenceBuilder
reference
-
-
-
-
Constructor Detail
-
ClientSideUpdateNamespace
public ClientSideUpdateNamespace(NessieApiV2 api)
-
-
Method Detail
-
update
public void update() throws org.projectnessie.error.NessieNamespaceNotFoundException, org.projectnessie.error.NessieReferenceNotFoundException- Throws:
org.projectnessie.error.NessieNamespaceNotFoundExceptionorg.projectnessie.error.NessieReferenceNotFoundException
-
updateWithResponse
public UpdateNamespaceResult updateWithResponse() throws org.projectnessie.error.NessieNamespaceNotFoundException, org.projectnessie.error.NessieReferenceNotFoundException
- Throws:
org.projectnessie.error.NessieNamespaceNotFoundExceptionorg.projectnessie.error.NessieReferenceNotFoundException
-
-