Class MondrianPreviewWorker

  • All Implemented Interfaces:
    Runnable, EventListener, org.pentaho.reporting.libraries.designtime.swing.background.CancelListener, org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker

    public class MondrianPreviewWorker
    extends Object
    implements org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
    • Constructor Detail

      • MondrianPreviewWorker

        public MondrianPreviewWorker​(org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.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 interface org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
      • close

        public void close()
        Specified by:
        close in interface org.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 interface org.pentaho.reporting.libraries.designtime.swing.background.CancelListener
      • run

        public void run()
        When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

        The general contract of the method run is that it may take any action whatsoever.

        Specified by:
        run in interface Runnable
        See Also:
        Thread.run()