public static class ApplicationsReport.SubmittedReportBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ApplicationsReport.SubmittedReportBuilder |
add(ApplicationsReport.SubmittedField... f)
Adds a new fields into a report.
|
ApplicationsReport.SubmittedReportBuilder |
add(ApplicationsReport.SubmittedField f)
Adds a new field into a report.
|
ApplicationsReport |
build()
Builds an applications report.
|
ApplicationsReport.SubmittedReportBuilder |
from(java.util.List<org.apache.hadoop.yarn.api.records.ApplicationReport> reports)
Add a source this report will be build from.
|
ApplicationsReport.SubmittedReportBuilder |
header(java.lang.String from,
java.lang.String to) |
ApplicationsReport.SubmittedReportBuilder |
sort(ApplicationsReport.SubmittedField f)
Sort the report by a field.
|
public ApplicationsReport.SubmittedReportBuilder add(ApplicationsReport.SubmittedField f)
f
- the fieldpublic ApplicationsReport.SubmittedReportBuilder add(ApplicationsReport.SubmittedField... f)
f
- the fieldpublic ApplicationsReport.SubmittedReportBuilder sort(ApplicationsReport.SubmittedField f)
f
- the fpublic ApplicationsReport.SubmittedReportBuilder from(java.util.List<org.apache.hadoop.yarn.api.records.ApplicationReport> reports)
reports
- the reportspublic ApplicationsReport.SubmittedReportBuilder header(java.lang.String from, java.lang.String to)
public ApplicationsReport build()