Package org.apache.druid.indexer.report
Interface TaskReportFileWriter
- All Known Implementing Classes:
SingleFileTaskReportFileWriter
public interface TaskReportFileWriter
-
Method Summary
Modifier and TypeMethodDescriptiongetReportsFile(String taskId) Returns the reports file for the given taskId.openReportOutputStream(String taskId) voidsetObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) voidwrite(String taskId, TaskReport.ReportMap reports)
-
Method Details
-
write
-
openReportOutputStream
- Throws:
IOException
-
setObjectMapper
void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
getReportsFile
Returns the reports file for the given taskId. Returns null if writer does not write reports to any file.
-