Package org.apache.druid.indexer.report
Interface TaskReport
- All Known Implementing Classes:
IngestionStatsAndErrorsTaskReport,KillTaskReport,TaskContextReport
public interface TaskReport
TaskReport 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 ClassesModifier and TypeInterfaceDescriptionstatic classRepresents an ordered map from report key to a TaskReport that is compatible for writing out reports to files or serving over HTTP. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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).
-
Method Details
-
getTaskId
String getTaskId() -
getReportKey
String getReportKey() -
getPayload
Object getPayload()- Returns:
- A JSON-serializable Object that contains a TaskReport's information
-
buildTaskReports
Returns an order-preserving map that is suitable for passing intoTaskReportFileWriter.write(java.lang.String, org.apache.druid.indexer.report.TaskReport.ReportMap).
-