public class JdbcPreviewWorker extends Object implements org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
Constructor and Description |
---|
JdbcPreviewWorker(org.pentaho.reporting.engine.classic.core.DataFactory dataFactory,
String query,
int queryTimeout,
int queryLimit,
org.pentaho.reporting.engine.classic.core.parameters.ReportParameterDefinition reportParameters) |
Modifier and Type | Method and 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 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. |
public JdbcPreviewWorker(org.pentaho.reporting.engine.classic.core.DataFactory dataFactory, String query, int queryTimeout, int queryLimit, org.pentaho.reporting.engine.classic.core.parameters.ReportParameterDefinition reportParameters)
public org.pentaho.reporting.engine.classic.core.ReportDataFactoryException getException()
public TableModel getResultTableModel()
getResultTableModel
in interface org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
public void close()
close
in interface org.pentaho.reporting.libraries.designtime.swing.background.PreviewWorker
public void cancelProcessing(org.pentaho.reporting.libraries.designtime.swing.background.CancelEvent event)
cancelProcessing
in interface org.pentaho.reporting.libraries.designtime.swing.background.CancelListener
public void run()
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.run
in interface Runnable
Thread.run()
Copyright © 2019 Hitachi Vantara. All rights reserved.