Package org.projectnessie.client.api.ns
Class ClientSideUpdateNamespace
java.lang.Object
org.projectnessie.client.builder.BaseUpdateNamespaceBuilder
org.projectnessie.client.api.ns.ClientSideUpdateNamespace
- All Implemented Interfaces:
ModifyNamespaceBuilder<UpdateNamespaceBuilder>,OnNamespaceBuilder<UpdateNamespaceBuilder>,OnReferenceBuilder<UpdateNamespaceBuilder>,UpdateNamespaceBuilder
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
commitMeta, hashOnRef, namespace, propertyRemovals, propertyUpdates, refName -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.projectnessie.client.builder.BaseUpdateNamespaceBuilder
commitMeta, hashOnRef, namespace, refName, removeProperties, removeProperty, updateProperties, updatePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.projectnessie.client.api.OnNamespaceBuilder
namespaceMethods inherited from interface org.projectnessie.client.api.OnReferenceBuilder
reference
-
Constructor Details
-
ClientSideUpdateNamespace
-
-
Method Details
-
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
-