public class DBExplore extends Unit
CLONE_ALL_OUTPUT, CLONE_MULTIPLE_OUTPUT, COPY_OUTPUT, ESSENTIAL, ESSENTIAL_IF_CONNECTED, IMMEDIATE_UPDATE, INTERNAL, LATE_INITIALIZE, NO_UPDATE, ON_TASK_INSTANTATION, ON_USER_ACCESS, OPTIONAL, PROCESS_UPDATE, TRANSIENT, TRANSIENT_ACCESSIBLE, USER_ACCESSIBLE
Constructor and Description |
---|
DBExplore() |
Modifier and Type | Method and Description |
---|---|
void |
countResults() |
void |
dispose()
Called when the unit is disposed of.
|
java.lang.String |
getHelpFile() |
java.lang.String[] |
getInputTypes()
This method should return an array of the data types accepted by nodes not specified in getNodeInputTypes (e.g.
|
java.lang.String[] |
getOutputTypes()
This method should return an array of the data types output by nodes not specified in getNodeOutputTypes() (e.g.
|
java.lang.String |
getPopUpDescription()
Convienience method for retrieving the default pop-up description for this unit.
|
void |
init()
Called when the unit is created.
|
void |
initialiseConnection()
Initialise database connection
|
java.lang.String[][] |
makeQuery(java.lang.String host,
java.lang.String user,
java.lang.String passwd,
java.lang.String dbase,
java.lang.String query) |
void |
parameterUpdate(java.lang.String paramname,
java.lang.Object value)
Called a parameters is updated (e.g.
|
void |
process()
The main unit algorithm.
|
void |
reset()
Called when the unit is reset.
|
void |
setNumberOfNodes(int n) |
debug, debug, defineParameter, extractClipInState, getClipIn, getClipIn, getControlInterface, getDefaultInputNodes, getDefaultNodeRequirement, getDefaultOutputNodes, getDisplayName, getDisplayPackage, getGUIBuilderV2Info, getHelpFileLocation, getInputAtNode, getInputNodeCount, getMaximumInputNodes, getMaximumOutputNodes, getMinimumInputNodes, getMinimumOutputNodes, getNodeInputTypes, getNodeOutputTypes, getOutputNodeCount, getOutputPolicy, getPackageName, getParameter, getParameterPanelClass, getParameterPanelInstantiate, getParameterType, getParameterUpdatePolicy, getRunnableInterface, getTask, getTaskGraphContext, getToolName, getToolPackage, getToolTable, getVersion, hideParameterPanel, isClipInName, isInputAtNode, isOutputSent, isParameter, log, log, notifyError, notifyError, output, outputAtNode, outputAtNode, parameterUpdated, putClipIn, removeClipIn, removeParameter, restoreClipInState, setDefaultInputNodes, setDefaultNodeRequirement, setDefaultOutputNodes, setDisplayName, setDisplayPackage, setGUIBuilderV2Info, setHelpFileLocation, setMaximumInputNodes, setMaximumOutputNodes, setMinimumInputNodes, setMinimumOutputNodes, setOutputPolicy, setParameter, setParameterPanelClass, setParameterPanelInstantiate, setParameterUpdatePolicy, setPopUpDescription, setRunnableInterface, setToolName, setToolPackage, setVersion, showParameterPanel, stopping
public void process() throws java.lang.Exception
Unit
public void init()
public void parameterUpdate(java.lang.String paramname, java.lang.Object value)
parameterUpdate
in class Unit
public void countResults()
public void setNumberOfNodes(int n)
public void initialiseConnection()
public java.lang.String[][] makeQuery(java.lang.String host, java.lang.String user, java.lang.String passwd, java.lang.String dbase, java.lang.String query)
public java.lang.String[] getInputTypes()
Unit
getInputTypes
in class Unit
public java.lang.String[] getOutputTypes()
Unit
getOutputTypes
in class Unit
public java.lang.String getPopUpDescription()
Unit
getPopUpDescription
in class Unit
public java.lang.String getHelpFile()