Package org.apache.druid.indexer.report
Interface TaskReport
-
- All Known Implementing Classes:
IngestionStatsAndErrorsTaskReport,KillTaskReport,TaskContextReport
public interface TaskReportTaskReport objects contain additional information about an indexing task, such as row statistics, errors, and published segments. They are kept in deep storage along with task logs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTaskReport.ReportMapRepresents an ordered map from report key to a TaskReport that is compatible for writing out reports to files or serving over HTTP.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static TaskReport.ReportMapbuildTaskReports(TaskReport... taskReports)Returns an order-preserving map that is suitable for passing intoTaskReportFileWriter.write(java.lang.String, org.apache.druid.indexer.report.TaskReport.ReportMap).ObjectgetPayload()StringgetReportKey()StringgetTaskId()
-
-
-
Method Detail
-
getTaskId
String getTaskId()
-
getReportKey
String getReportKey()
-
getPayload
Object getPayload()
- Returns:
- A JSON-serializable Object that contains a TaskReport's information
-
buildTaskReports
static TaskReport.ReportMap buildTaskReports(TaskReport... taskReports)
Returns an order-preserving map that is suitable for passing intoTaskReportFileWriter.write(java.lang.String, org.apache.druid.indexer.report.TaskReport.ReportMap).
-
-