Package org.apache.druid.indexer.report
Class TaskContextReport
- java.lang.Object
-
- org.apache.druid.indexer.report.TaskContextReport
-
- All Implemented Interfaces:
TaskReport
public class TaskContextReport extends Object implements TaskReport
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.druid.indexer.report.TaskReport
TaskReport.ReportMap
-
-
Field Summary
Fields Modifier and Type Field Description static StringREPORT_KEY
-
Constructor Summary
Constructors Constructor Description TaskContextReport(String taskId, Map<String,Object> taskContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Map<String,Object>getPayload()StringgetReportKey()StringgetTaskId()inthashCode()
-
-
-
Field Detail
-
REPORT_KEY
public static final String REPORT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTaskId
public String getTaskId()
- Specified by:
getTaskIdin interfaceTaskReport
-
getReportKey
public String getReportKey()
- Specified by:
getReportKeyin interfaceTaskReport
-
getPayload
public Map<String,Object> getPayload()
- Specified by:
getPayloadin interfaceTaskReport- Returns:
- A JSON-serializable Object that contains a TaskReport's information
-
-