Class Olap4JPreviewWorker
- java.lang.Object
-
- org.pentaho.reporting.ui.datasources.olap4j.Olap4JPreviewWorker
-
- All Implemented Interfaces:
Runnable
,EventListener
,org.pentaho.reporting.libraries.designtime.swing.background.CancelListener
,org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
public class Olap4JPreviewWorker extends Object implements org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
-
-
Constructor Summary
Constructors Constructor Description Olap4JPreviewWorker(org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.AbstractMDXDataFactory dataFactory, String query, int queryTimeout, int queryLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelProcessing(org.pentaho.reporting.libraries.designtime.swing.background.CancelEvent event)
Requests that the thread stop processing as soon as possible.void
close()
org.pentaho.reporting.engine.classic.core.ReportDataFactoryException
getException()
TableModel
getResultTableModel()
void
run()
When an object implementing interfaceRunnable
is used to create a thread, starting the thread causes the object'srun
method to be called in that separately executing thread.
-
-
-
Constructor Detail
-
Olap4JPreviewWorker
public Olap4JPreviewWorker(org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.AbstractMDXDataFactory dataFactory, String query, int queryTimeout, int queryLimit)
-
-
Method Detail
-
getException
public org.pentaho.reporting.engine.classic.core.ReportDataFactoryException getException()
-
getResultTableModel
public TableModel getResultTableModel()
- Specified by:
getResultTableModel
in interfaceorg.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
-
close
public void close()
- Specified by:
close
in interfaceorg.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
-
cancelProcessing
public void cancelProcessing(org.pentaho.reporting.libraries.designtime.swing.background.CancelEvent event)
Requests that the thread stop processing as soon as possible.- Specified by:
cancelProcessing
in interfaceorg.pentaho.reporting.libraries.designtime.swing.background.CancelListener
-
run
public void run()
When an object implementing interfaceRunnable
is used to create a thread, starting the thread causes the object'srun
method to be called in that separately executing thread. The general contract of the methodrun
is that it may take any action whatsoever.- Specified by:
run
in interfaceRunnable
- See Also:
Thread.run()
-
-