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

    • CreateNamespaceRequest

      public CreateNamespaceRequest()
  • Method Details

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

      public Namespace namespace()
    • properties

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

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

      public static CreateNamespaceRequest.Builder builder()