Package org.apache.iceberg.rest
Interface RESTMessage
- All Known Subinterfaces:
CreateViewRequest
,LoadViewResponse
,RegisterTableRequest
,ReportMetricsRequest
,RESTRequest
,RESTResponse
,S3SignRequest
,S3SignResponse
- All Known Implementing Classes:
CommitTransactionRequest
,ConfigResponse
,CreateNamespaceRequest
,CreateNamespaceResponse
,CreateTableRequest
,ErrorResponse
,GetNamespaceResponse
,ListNamespacesResponse
,ListTablesResponse
,LoadTableResponse
,OAuthTokenResponse
,RenameTableRequest
,UpdateNamespacePropertiesRequest
,UpdateNamespacePropertiesResponse
,UpdateTableRequest
public interface RESTMessage
Interface to mark both REST requests and responses.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
Method Details
-
validate
void validate()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.
-