public class ExportTableCubeReport extends java.lang.Object implements ReportEngineTakeOverExecutionHook
Constructor and Description |
---|
ExportTableCubeReport(SaikuPivotService saikuService,
ReportExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
CompiledReport |
executeReport(ReportEngine engine,
java.io.OutputStream os,
Report report,
ParameterSet additionalParameters,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs)
Execute the report.
|
CompiledReport |
executeReportDry(ReportEngine engine,
Report report,
ParameterSet additionalParameters,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs)
Return an empty CompiledReport object to specify mime type and extension.
|
boolean |
supportsStreaming(ReportEngine reportEngine,
Report report,
ParameterSet parameterSet,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs) |
boolean |
takesOver(ReportEngine engine,
Report report,
ParameterSet additionalParameters,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs)
return true in order to bypass the report engine and perform manual execution
of the report
|
public ExportTableCubeReport(SaikuPivotService saikuService, ReportExecutorService executorService)
public boolean takesOver(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs)
ReportEngineTakeOverExecutionHook
takesOver
in interface ReportEngineTakeOverExecutionHook
public CompiledReport executeReport(ReportEngine engine, java.io.OutputStream os, Report report, ParameterSet additionalParameters, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs) throws ReportExecutorException, ExpectedException
ReportEngineTakeOverExecutionHook
executeReport
in interface ReportEngineTakeOverExecutionHook
ReportExecutorException
ExpectedException
public CompiledReport executeReportDry(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs) throws ReportExecutorException, ExpectedException
ReportEngineTakeOverExecutionHook
executeReportDry
in interface ReportEngineTakeOverExecutionHook
ReportExecutorException
ExpectedException
public boolean supportsStreaming(ReportEngine reportEngine, Report report, ParameterSet parameterSet, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs)
supportsStreaming
in interface ReportEngineTakeOverExecutionHook