Package org.apache.iceberg.rest.requests
Interface ReportMetricsRequest
-
- All Superinterfaces:
RESTMessage
,RESTRequest
@Immutable public interface ReportMetricsRequest extends RESTRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ReportMetricsRequest.ReportType
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ReportMetricsRequest
of(MetricsReport report)
MetricsReport
report()
ReportMetricsRequest.ReportType
reportType()
default void
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
-
-
Method Detail
-
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
static ReportMetricsRequest of(MetricsReport report)
-
-