public abstract class BaseSimpleDataVisualizer extends BaseStep implements DataCollector
Constructor and Description |
---|
BaseSimpleDataVisualizer() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Data> |
getDatasets()
Get the datasets seen so far
|
java.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept at this
time
|
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce at this
time.
|
void |
processIncoming(Data data)
Process incoming data
|
void |
restoreData(java.lang.Object data)
Set the data for this collector
|
java.lang.Object |
retrieveData()
Get the data that this collector has collected
|
void |
stepInit()
Initialize the step.
|
environmentSubstitute, getCustomEditorForStep, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, start, stepMustRunSingleThreaded, stop
public void stepInit() throws WekaException
Step
stepInit
in interface BaseStepExtender
stepInit
in interface Step
WekaException
- if a problem occurs during initializationpublic void processIncoming(Data data) throws WekaException
processIncoming
in interface BaseStepExtender
processIncoming
in interface Step
processIncoming
in class BaseStep
data
- the data to processWekaException
- if a problem occurspublic java.util.List<java.lang.String> getIncomingConnectionTypes()
getIncomingConnectionTypes
in interface BaseStepExtender
getIncomingConnectionTypes
in interface Step
public java.util.List<java.lang.String> getOutgoingConnectionTypes()
getOutgoingConnectionTypes
in interface BaseStepExtender
getOutgoingConnectionTypes
in interface Step
public java.util.List<Data> getDatasets()
public java.lang.Object retrieveData()
DataCollector
retrieveData
in interface DataCollector
public void restoreData(java.lang.Object data) throws WekaException
DataCollector
restoreData
in interface DataCollector
data
- the data to setWekaException
- if there is a problem restoring data