Class CreateNamespaceRequest

java.lang.Object
org.apache.iceberg.rest.requests.CreateNamespaceRequest
All Implemented Interfaces:
RESTMessage, RESTRequest

public class CreateNamespaceRequest extends Object implements RESTRequest
A REST request to create a namespace, with an optional set of properties.
  • Constructor Details Link icon

    • CreateNamespaceRequest Link icon

      public CreateNamespaceRequest()
  • Method Details Link icon

    • validate Link icon

      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 interface RESTMessage
    • namespace Link icon

      public Namespace namespace()
    • properties Link icon

      public Map<String,String> properties()
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • builder Link icon

      public static CreateNamespaceRequest.Builder builder()