Class GetNamespaceResponse
- java.lang.Object
-
- org.apache.iceberg.rest.responses.GetNamespaceResponse
-
- All Implemented Interfaces:
RESTMessage
,RESTResponse
public class GetNamespaceResponse extends java.lang.Object implements RESTResponse
Represents a REST response to fetch a namespace and its metadata properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetNamespaceResponse.Builder
-
Constructor Summary
Constructors Constructor Description GetNamespaceResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetNamespaceResponse.Builder
builder()
Namespace
namespace()
java.util.Map<java.lang.String,java.lang.String>
properties()
java.lang.String
toString()
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
-
namespace
public Namespace namespace()
-
properties
public java.util.Map<java.lang.String,java.lang.String> properties()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
builder
public static GetNamespaceResponse.Builder builder()
-
-