## Uses of Interface
org.eclipse.datatools.sqltools.result.model.IResultInstance

Packages that use IResultInstance
org.eclipse.datatools.sqltools.result
org.eclipse.datatools.sqltools.result.core
org.eclipse.datatools.sqltools.result.export
org.eclipse.datatools.sqltools.result.internal.core
org.eclipse.datatools.sqltools.result.internal.export
org.eclipse.datatools.sqltools.result.internal.index
org.eclipse.datatools.sqltools.result.internal.model
org.eclipse.datatools.sqltools.result.internal.ui.actions
org.eclipse.datatools.sqltools.result.internal.ui.export
org.eclipse.datatools.sqltools.result.internal.ui.export.actions
org.eclipse.datatools.sqltools.result.internal.ui.view
org.eclipse.datatools.sqltools.result.internal.ui.viewer
org.eclipse.datatools.sqltools.result.internal.utils
org.eclipse.datatools.sqltools.result.model
org.eclipse.datatools.sqltools.result.ui
org.eclipse.datatools.sqltools.result.ui.view

Uses of IResultInstance in org.eclipse.datatools.sqltools.result

Methods in org.eclipse.datatools.sqltools.result that return IResultInstance
`IResultInstance[]` `ResultManager.getAllResults()`
`IResultInstance` `ResultManager.getInstance(OperationCommand cmd)`
`IResultInstance` `ResultsViewAPI.getResultInstance(OperationCommand cmd)` Return the IResultInstance object correlative with the OperationCommand object.

Methods in org.eclipse.datatools.sqltools.result with parameters of type IResultInstance
`void` `ResultManager.fireAdded(IResultInstance instance)`
`void` `ResultManager.fireAppended(IResultInstance instance, ResultItem r, int index)`
`void` `ResultManager.fireInstanceReset(IResultInstance instance)`
`void` `ResultManager.fireParametersShow(IResultInstance instance, java.util.List params)`
`void` `ResultManager.fireStatusUpdated(IResultInstance instance)`
`void` `ResultManager.removeResultInstance(IResultInstance instance)`
`void` `ResultManager.removeResultInstances(IResultInstance[] instances)`

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.core

Methods in org.eclipse.datatools.sqltools.result.core with parameters of type IResultInstance
`void` `IResultManagerListener.parametersShow(IResultInstance instance, java.util.List params)` Will be invoked when showing the parameters in a result instance
`void` `IResultManagerListener.resultInstanceAppended(IResultInstance instance, ResultItem result, int index)` Will be invoked when the instance is appended
`void` `IResultManagerListener.resultInstanceCreated(IResultInstance instance)` Will be invoked when a new instance is created
`void` `IResultManagerListener.resultInstanceRemoved(IResultInstance instance)` Will be invoked when an instance is removed
`void` `IResultManagerListener.resultInstanceReset(IResultInstance instance)` Will be invoked when an instance if reseted
`void` `IResultManagerListener.resultInstancesRemoved(IResultInstance[] instances)` Will be invoked when an arry of instances is removed
`void` `IResultManagerListener.resultInstanceStatusUpdated(IResultInstance instance)` Will be invoked when the status of the instance is changed

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.export

Methods in org.eclipse.datatools.sqltools.result.export with parameters of type IResultInstance
`abstract void` `AbstractOutputter.output(IResultInstance rs, java.util.Properties props, java.lang.String path)` Ouputs all the result set objects in the result instance to the given file path

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.internal.core

Methods in org.eclipse.datatools.sqltools.result.internal.core that return IResultInstance
`IResultInstance[]` `IResultManager.getAllResults()` Returns all currently available result instances.
`IResultInstance` `IResultManager.getInstance(OperationCommand cmd)` Given the OperationCommand, returns the instance.

Methods in org.eclipse.datatools.sqltools.result.internal.core with parameters of type IResultInstance
`void` `IResultManager.fireAdded(IResultInstance instance)` Notifies all the listeners of this result instance added event
`void` `IResultManager.fireAppended(IResultInstance instance, ResultItem r, int index)` Notifies all the listeners of this append event
`void` `IResultManager.fireInstanceReset(IResultInstance instance)` Notifies all the listeners of this instance reset event
`void` `IResultManager.fireParametersShow(IResultInstance instance, java.util.List params)` Notifies all the listeners of this parameters show event
`void` `IResultManager.fireStatusUpdated(IResultInstance instance)` Notifies all the listeners of this status change event
`void` `IResultManager.removeResultInstance(IResultInstance instance)` Removes the specified result instance.
`void` `IResultManager.removeResultInstances(IResultInstance[] instances)` Removes the specified result instances.

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.internal.export

Methods in org.eclipse.datatools.sqltools.result.internal.export with parameters of type IResultInstance
`java.lang.String` `TextOutputter.getPrintString(IResultInstance rs)` Returns the string for printing of a result instance
`void` `TextOutputter.output(IResultInstance rs, java.util.Properties props, java.io.OutputStream os)`
`void` `HTMLOutputter.output(IResultInstance rs, java.util.Properties props, java.io.OutputStream os)`
`void` `XMLOutputter.output(IResultInstance rs, java.util.Properties props, java.io.OutputStream os)`
`void` `CSVOutputter.output(IResultInstance rs, java.util.Properties props, java.io.OutputStream os)`
`void` `TextOutputter.output(IResultInstance rs, java.util.Properties props, java.io.PrintWriter pw)`
`void` `HTMLOutputter.output(IResultInstance rs, java.util.Properties props, java.io.PrintWriter pw)`
`void` `XMLOutputter.output(IResultInstance rs, java.util.Properties props, java.io.PrintWriter pw)`
`void` `CSVOutputter.output(IResultInstance rs, java.util.Properties props, java.io.PrintWriter pw)`
`void` `TextOutputter.output(IResultInstance rs, java.util.Properties props, java.lang.String path)`
`void` `HTMLOutputter.output(IResultInstance rs, java.util.Properties props, java.lang.String path)`
`void` `XMLOutputter.output(IResultInstance rs, java.util.Properties props, java.lang.String path)`

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.internal.index

Methods in org.eclipse.datatools.sqltools.result.internal.index that return IResultInstance
`IResultInstance[]` `IResultHistoryIndex.search(java.lang.String expression)` Searches the index by the given expression and returns the searching results
`IResultInstance[]` `ResultHistoryLuceneIndex.search(java.lang.String expression)`

Methods in org.eclipse.datatools.sqltools.result.internal.index with parameters of type IResultInstance
`void` `IResultHistoryIndex.addResult(IResultInstance instance)` Adds a new instance for indexing
`void` `ResultHistoryLuceneIndex.addResult(IResultInstance instance)`
`void` `IResultHistoryIndex.addResults(IResultInstance[] instances)` Adds a list of result instances for indexing
`void` `ResultHistoryLuceneIndex.addResults(IResultInstance[] instances)`
`void` `HistoryIndexListener.parametersShow(IResultInstance instance, java.util.List params)`
`void` `IResultHistoryIndex.refreshResult(IResultInstance instance)` Refreshes the given result instance
`void` `ResultHistoryLuceneIndex.refreshResult(IResultInstance instance)`
`void` `IResultHistoryIndex.removeResult(IResultInstance instance)` Removes the specified result instance
`void` `ResultHistoryLuceneIndex.removeResult(IResultInstance instance)`
`void` `IResultHistoryIndex.removeResults(IResultInstance[] instances)` Removes a list of result instances
`void` `ResultHistoryLuceneIndex.removeResults(IResultInstance[] instances)`
`void` `HistoryIndexListener.resultInstanceAppended(IResultInstance instance, ResultItem result, int index)`
`void` `HistoryIndexListener.resultInstanceCreated(IResultInstance instance)`
`void` `HistoryIndexListener.resultInstanceRemoved(IResultInstance instance)`
`void` `HistoryIndexListener.resultInstanceReset(IResultInstance instance)`
`void` `HistoryIndexListener.resultInstancesRemoved(IResultInstance[] instances)`
`void` `HistoryIndexListener.resultInstanceStatusUpdated(IResultInstance instance)`

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.internal.model

Classes in org.eclipse.datatools.sqltools.result.internal.model that implement IResultInstance
`class` `ResultInstance` A standard implementation of `IResultInstance`

Methods in org.eclipse.datatools.sqltools.result.internal.model that return IResultInstance
`IResultInstance` `ResultInstanceFactory.createNewInstance(OperationCommand cmd, java.lang.Runnable terminateHandler)` Creates a new result instance given the `OperationCommand` instance
`IResultInstance` `ResultInstanceFactory.createNewInstance(OperationCommand cmd, java.lang.Runnable terminateHandler, IResultInstance parentInstance)` Creates a new result instance given the `OperationCommand` instance
`IResultInstance` `ResultInstance.getParentResult()`

Methods in org.eclipse.datatools.sqltools.result.internal.model with parameters of type IResultInstance
`IResultInstance` `ResultInstanceFactory.createNewInstance(OperationCommand cmd, java.lang.Runnable terminateHandler, IResultInstance parentInstance)` Creates a new result instance given the `OperationCommand` instance

Constructors in org.eclipse.datatools.sqltools.result.internal.model with parameters of type IResultInstance
`ResultInstance(IResultManager resultmanager, OperationCommand command, java.lang.Runnable terminateHandler, IResultInstance parentResult)`

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.internal.ui.actions

Methods in org.eclipse.datatools.sqltools.result.internal.ui.actions with parameters of type IResultInstance
`void` `RemoveAllVisibleFinishedResultAction.setInstances(IResultInstance[] _instances)`

Constructors in org.eclipse.datatools.sqltools.result.internal.ui.actions with parameters of type IResultInstance
`RemoveAllVisibleFinishedResultAction(org.eclipse.jface.viewers.ISelectionProvider provider, IResultInstance[] results)`

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.internal.ui.export

Constructors in org.eclipse.datatools.sqltools.result.internal.ui.export with parameters of type IResultInstance
`ResultExportWizard(IResultInstance result)` Will be used to export all result set objects in a result instance
`ResultFormatWizardPage(IResultInstance result)` Will be used to save all result set objects in a result instance to an external file.
`SaveResultGroup(org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Listener client, java.lang.String resourceFieldLabel, java.lang.String resourceType, IResultInstance resultInstance, org.eclipse.swt.widgets.Listener listener)` Creates a save result group to save all the result set objects in a result instance
`SaveResultSetDialog(org.eclipse.swt.widgets.Shell parentShell, IResultInstance result)` Creates a new Save As dialog (Used to save all the result set objects in a result instance)

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.internal.ui.export.actions

Constructors in org.eclipse.datatools.sqltools.result.internal.ui.export.actions with parameters of type IResultInstance
`ExportAllResultSetsAction(org.eclipse.swt.widgets.Shell shell, IResultInstance result)`
`PrintResultSetAction(IResultInstance resultInstance, org.eclipse.swt.widgets.Composite parent)`
`SaveAllResultSetsAction(org.eclipse.swt.widgets.Shell shell, IResultInstance result)`

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.internal.ui.view

Methods in org.eclipse.datatools.sqltools.result.internal.ui.view that return IResultInstance
`IResultInstance` `ResultsView.getCurrentInstance()`
`IResultInstance[]` `ResultHistorySection.getVisibleInstances()` Returns all visible result instances

Methods in org.eclipse.datatools.sqltools.result.internal.ui.view with parameters of type IResultInstance
`static java.lang.String` `ColumnAlignedResultItem.getResultInstanceDispString(IResultInstance instance, java.lang.String nullValue)` Returns the display string of the whole result instance to for saving purpose
`boolean` `ResultHistorySection.isFilteredOut(IResultInstance instance)` Checks if the given result instance is filtered out or not
`void` `ResultsView.setCurrentInstance(IResultInstance instance)`
`void` `ResultSection.showDetail(IResultInstance instance)` Shows the selected instance (when user clicks the history results item).
`void` `MultipleTabsModeSection.showDetail(IResultInstance instance)`
`void` `SingleWindowModeSection.showDetail(IResultInstance instance)`
`void` `MultipleTabsGridSection.showStatusDetail(IResultInstance instance)`

Constructors in org.eclipse.datatools.sqltools.result.internal.ui.view with parameters of type IResultInstance
`MultipleTabsGridSection(org.eclipse.swt.widgets.Composite composite, IResultInstance instance, ResultsViewControl resultsViewControl)`
`MultipleTabsModeSection(org.eclipse.swt.widgets.Composite composite, IResultInstance instance, ResultsViewControl resultsViewControl)`
`MultipleTabsTextSection(org.eclipse.swt.widgets.Composite composite, IResultInstance instance, ResultsViewControl resultsViewControl)`
`ResultSection(IResultInstance instance, ResultsViewControl resultsViewControl)`
`SingleWindowGridSection(org.eclipse.swt.widgets.Composite composite, IResultInstance instance, ResultsViewControl resultsViewControl)`
`SingleWindowModeSection(org.eclipse.swt.widgets.Composite composite, IResultInstance instance, ResultsViewControl resultsViewControl)`
`SingleWindowTextSection(org.eclipse.swt.widgets.Composite composite, IResultInstance instance, ResultsViewControl resultsViewControl)`

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.internal.ui.viewer

Constructors in org.eclipse.datatools.sqltools.result.internal.ui.viewer with parameters of type IResultInstance
`ResultSetViewer(org.eclipse.swt.widgets.Composite parent, int style, IResultInstance instance, IResultSetObject result, boolean showRowCount, ResultsViewControl resultsViewControl)` Creates a result set viewer.

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.internal.utils

Methods in org.eclipse.datatools.sqltools.result.internal.utils with parameters of type IResultInstance
`static java.lang.String` `StatusTextProvider.getHistoryHeader(IResultInstance instance)` Returns the full history header for saving purpose
`static java.lang.String` `StatusTextProvider.getSimpleHeader(IResultInstance instance)` Returns the simple history header for saving purpose
`static java.lang.String` `StatusTextProvider.getStatusText(IResultInstance instance)` Returns the status text for showing it in "status" tab

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.model

Methods in org.eclipse.datatools.sqltools.result.model that return IResultInstance
`IResultInstance` `IResultInstance.getParentResult()` Returns the parent result of this result

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.ui

Methods in org.eclipse.datatools.sqltools.result.ui with parameters of type IResultInstance
`void` `ExternalResultSetViewerProvider.configureViewer(org.eclipse.swt.widgets.Composite parent, IResultInstance instance, IResultSetObject result, boolean showRowCount, ResultsViewControl control)` Configures the result set viewer
`void` `ResultsViewUIPlugin.ResultViewControlListener.parametersShow(IResultInstance instance, java.util.List params)`
`void` `ResultsViewUIPlugin.ResultViewControlListener.resultInstanceAppended(IResultInstance instance, ResultItem result, int index)`
`void` `ResultsViewUIPlugin.ResultViewControlListener.resultInstanceCreated(IResultInstance instance)`
`void` `ResultsViewUIPlugin.ResultViewControlListener.resultInstanceRemoved(IResultInstance instance)`
`void` `ResultsViewUIPlugin.ResultViewControlListener.resultInstanceReset(IResultInstance instance)`
`void` `ResultsViewUIPlugin.ResultViewControlListener.resultInstancesRemoved(IResultInstance[] instances)`
`void` `ResultsViewUIPlugin.ResultViewControlListener.resultInstanceStatusUpdated(IResultInstance instance)`
`void` `ExternalResultSetViewerProvider.setResultInstance(IResultInstance instance)` Sets the IResultInstance instance

Constructors in org.eclipse.datatools.sqltools.result.ui with parameters of type IResultInstance
`ExternalResultSetViewer(org.eclipse.swt.widgets.Composite parent, int style, IResultInstance instance, IResultSetObject result, boolean showRowCount, ResultsViewControl resultsViewControl)` Creates a result set viewer.

Uses of IResultInstance in org.eclipse.datatools.sqltools.result.ui.view

Methods in org.eclipse.datatools.sqltools.result.ui.view that return IResultInstance
`IResultInstance` `ResultsViewControl.getCurrentInstance()`

Methods in org.eclipse.datatools.sqltools.result.ui.view with parameters of type IResultInstance
`void` `ResultsViewControl.parametersShow(IResultInstance instance, java.util.List params)` When CURRENT result instance need to show parameters, we perform the following steps: Invokes the `onParametersShown` method to show the parameters
`void` `ResultsViewControl.reDisplay(IResultInstance instance)` Re-displays the selected instance since the options is modified
`void` `ResultsViewControl.resultInstanceAppended(IResultInstance instance, ResultItem result, int index)` When an item is appended to the CURRENT result instance, we perform the following steps: Invokes the `onNewItemAppended` method to show the new item
`void` `ResultsViewControl.resultInstanceCreated(IResultInstance result)` When a new result instance is created, we perform the following steps: Clears the status for the SQL Results View Refreshes the history results table to display the newly-created result Selects this newly-created result (make it the current result, this will invoke the `showDetail` method to show this result)
`void` `ResultsViewControl.resultInstanceRemoved(IResultInstance result)` When an instance is removed, we perform the following steps: Clears the status for the SQL Results View Re-search the index according to current query expression Refreshes the history results table
`void` `ResultsViewControl.resultInstanceReset(IResultInstance instance)` When an instance is reseted, we perform the following steps: Re-search the index according to current query expression Refreshes the history results table to display new status If it is the CURRENT instance, invokes `onInstanceReseted` method
`void` `ResultsViewControl.resultInstancesRemoved(IResultInstance[] results)` When an array of instances are removed, we perform the following steps: Clears the status for the SQL Results View Re-search the index according to current query expression Refreshes the history results table
`void` `ResultsViewControl.resultInstanceStatusUpdated(IResultInstance instance)` When a result instance's status is changed, we perform the following steps: If the status is changed to FINISH status, we update the actions accordingly Refreshes the history results table to display new status for this result If it is the CURRENT instance, invokes `onInstanceFinished`
`void` `ResultsViewControl.setCurrentInstance(IResultInstance instance)`