Class LoadTableResponse
- java.lang.Object
- 
- org.apache.iceberg.rest.responses.LoadTableResponse
 
- 
- All Implemented Interfaces:
- RESTMessage,- RESTResponse
 
 public class LoadTableResponse extends java.lang.Object implements 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 SummaryNested Classes Modifier and Type Class Description static classLoadTableResponse.Builder
 - 
Constructor SummaryConstructors Constructor Description LoadTableResponse()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadTableResponse.Builderbuilder()java.util.Map<java.lang.String,java.lang.String>config()java.lang.StringmetadataLocation()TableMetadatatableMetadata()java.lang.StringtoString()voidvalidate()Ensures that a constructed instance of a REST message is valid according to the REST spec.
 
- 
- 
- 
Method Detail- 
validatepublic void validate() Description copied from interface:RESTMessageEnsures 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:
- validatein interface- RESTMessage
 
 - 
metadataLocationpublic java.lang.String metadataLocation() 
 - 
tableMetadatapublic TableMetadata tableMetadata() 
 - 
configpublic java.util.Map<java.lang.String,java.lang.String> config() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
builderpublic static LoadTableResponse.Builder builder() 
 
- 
 
-