@KFStep(name="DataGrid", category="DataSources", toolTipText="Specify a grid of data to turn into instances", iconPath="weka/gui/knowledgeflow/icons/ArffLoader.gif") public class DataGrid extends BaseStep
Constructor and Description |
---|
DataGrid() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustomEditorForStep()
Return the fully qualified name of a custom editor component (JComponent)
to use for editing the properties of the step.
|
java.lang.String |
getData()
Get the data to be output by this
DataGrid in textual ARFF format |
java.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
Instances |
outputStructureForConnectionType(java.lang.String connectionName)
If possible, get the output structure for the named connection type as a
header-only set of instances.
|
void |
setData(java.lang.String data)
Set the data to be output by this
DataGrid in textual ARFF format. |
void |
start()
Start processing
|
void |
stepInit()
Initialize the step;
|
environmentSubstitute, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, processIncoming, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, stepMustRunSingleThreaded, stop
@ProgrammaticProperty public void setData(java.lang.String data)
DataGrid
in textual ARFF format.data
- the data to be output in textual ARFF formatpublic java.lang.String getData()
DataGrid
in textual ARFF formatpublic void stepInit() throws WekaException
WekaException
- if a problem occurspublic void start() throws WekaException
start
in interface BaseStepExtender
start
in interface Step
start
in class BaseStep
WekaException
- if a problem occurspublic Instances outputStructureForConnectionType(java.lang.String connectionName) throws WekaException
outputStructureForConnectionType
in interface Step
outputStructureForConnectionType
in class BaseStep
connectionName
- the name of the connection type to get the output
structure forWekaException
- if a problem occurspublic java.util.List<java.lang.String> getIncomingConnectionTypes()
Step
public java.util.List<java.lang.String> getOutgoingConnectionTypes()
Step
public java.lang.String getCustomEditorForStep()
getCustomEditorForStep
in interface Step
getCustomEditorForStep
in class BaseStep