@KFStep(name="MemoryDataSource", category="DataSources", toolTipText="Memory-based data", iconPath="weka/gui/knowledgeflow/icons/DefaultDataSource.gif") public class MemoryBasedDataSource extends BaseStep
Constructor and Description |
---|
MemoryBasedDataSource() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
Instances |
getInstances()
Get the data to output from this step
|
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
void |
setInstances(Instances instances)
Set the data to output from this step
|
void |
start()
Start processing
|
void |
stepInit()
Initialize the step
|
environmentSubstitute, getCustomEditorForStep, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, outputStructureForConnectionType, processIncoming, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, stepMustRunSingleThreaded, stop
public void setInstances(Instances instances)
instances
- public Instances getInstances()
public void stepInit() throws WekaException
WekaException
- if the data to output has not been set yetpublic java.util.List<java.lang.String> getIncomingConnectionTypes()
public java.util.List<java.lang.String> getOutgoingConnectionTypes()
public void start() throws WekaException
start
in interface BaseStepExtender
start
in interface Step
start
in class BaseStep
WekaException
- if a problem occurs