Package org.apache.iceberg.rest.requests
Class UpdateNamespacePropertiesRequest
- java.lang.Object
-
- org.apache.iceberg.rest.requests.UpdateNamespacePropertiesRequest
-
- All Implemented Interfaces:
RESTMessage
,RESTRequest
public class UpdateNamespacePropertiesRequest extends java.lang.Object implements RESTRequest
A REST request to set and/or remove properties on a namespace.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateNamespacePropertiesRequest.Builder
-
Constructor Summary
Constructors Constructor Description UpdateNamespacePropertiesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateNamespacePropertiesRequest.Builder
builder()
java.util.List<java.lang.String>
removals()
java.lang.String
toString()
java.util.Map<java.lang.String,java.lang.String>
updates()
void
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
-
-
Method Detail
-
validate
public void validate()
Description copied from interface:RESTMessage
Ensures that a constructed instance of a REST message is valid according to the REST spec.This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
- Specified by:
validate
in interfaceRESTMessage
-
removals
public java.util.List<java.lang.String> removals()
-
updates
public java.util.Map<java.lang.String,java.lang.String> updates()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
builder
public static UpdateNamespacePropertiesRequest.Builder builder()
-
-