Package org.apache.iceberg.rest.requests
Interface ReportMetricsRequest
- All Superinterfaces:
RESTMessage
,RESTRequest
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReportMetricsRequest
of
(MetricsReport report) report()
static ReportMetricsRequest
unknown()
default void
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
Method Details
-
reportType
ReportMetricsRequest.ReportType reportType() -
report
MetricsReport report() -
validate
default 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
-
of
-
unknown
-