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 classReportMetricsRequest.ReportType
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ReportMetricsRequestof(MetricsReport report)MetricsReportreport()ReportMetricsRequest.ReportTypereportType()static ReportMetricsRequestunknown()default voidvalidate()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: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 interfaceRESTMessage
-
of
static ReportMetricsRequest of(MetricsReport report)
-
unknown
static ReportMetricsRequest unknown()
-
-