Class LoadTableResponse
java.lang.Object
org.apache.iceberg.rest.responses.LoadTableResponse
- All Implemented Interfaces:
RESTMessage
,RESTResponse
A REST response that is used when a table is successfully loaded.
This class is used whenever the response to a request is a table's requested metadata and the
associated location of its metadata, to reduce code duplication. This includes using this class
as the response for CreateTableRequest
, including when
that request is used to commit an already staged table creation as part of a transaction.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LoadTableResponse.Builder
builder()
config()
toString()
void
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
Constructor Details
-
LoadTableResponse
public LoadTableResponse()
-
-
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 interfaceRESTMessage
-
metadataLocation
-
tableMetadata
-
config
-
toString
-
builder
-