Package weka.knowledgeflow.steps
Class BaseSimpleDataVisualizer
java.lang.Object
weka.knowledgeflow.steps.BaseStep
weka.knowledgeflow.steps.BaseSimpleDataVisualizer
- All Implemented Interfaces:
Serializable
,BaseStepExtender
,DataCollector
,Step
- Direct Known Subclasses:
AttributeSummarizer
,CostBenefitAnalysis
,GraphViewer
,ScatterPlotMatrix
Abstract base class for simple data visualization steps that just collect
data sets for visualization.
- Version:
- $Revision: $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the datasets seen so farGet a list of incoming connection types that this step can accept at this timeGet a list of outgoing connection types that this step can produce at this time.void
processIncoming
(Data data) Process incoming datavoid
restoreData
(Object data) Set the data for this collectorGet the data that this collector has collectedvoid
stepInit()
Initialize the step.Methods inherited from class weka.knowledgeflow.steps.BaseStep
environmentSubstitute, getCustomEditorForStep, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, start, stepMustRunSingleThreaded, stop
-
Constructor Details
-
BaseSimpleDataVisualizer
public BaseSimpleDataVisualizer()
-
-
Method Details
-
stepInit
Description copied from interface:Step
Initialize the step.- Specified by:
stepInit
in interfaceBaseStepExtender
- Specified by:
stepInit
in interfaceStep
- Throws:
WekaException
- if a problem occurs during initialization
-
processIncoming
Process incoming data- Specified by:
processIncoming
in interfaceBaseStepExtender
- Specified by:
processIncoming
in interfaceStep
- Overrides:
processIncoming
in classBaseStep
- Parameters:
data
- the data to process- Throws:
WekaException
- if a problem occurs
-
getIncomingConnectionTypes
Get a list of incoming connection types that this step can accept at this time- Specified by:
getIncomingConnectionTypes
in interfaceBaseStepExtender
- Specified by:
getIncomingConnectionTypes
in interfaceStep
- Returns:
- a list of incoming connection types
-
getOutgoingConnectionTypes
Get a list of outgoing connection types that this step can produce at this time. Subclasses to override (if necessary). This default implementation returns null (i.e. does not produce any outgoing data).- Specified by:
getOutgoingConnectionTypes
in interfaceBaseStepExtender
- Specified by:
getOutgoingConnectionTypes
in interfaceStep
- Returns:
- a list of outgoing connection types that this step can produce
-
getDatasets
Get the datasets seen so far- Returns:
- a list of datasets
-
retrieveData
Description copied from interface:DataCollector
Get the data that this collector has collected- Specified by:
retrieveData
in interfaceDataCollector
- Returns:
- the data collected by this collector
-
restoreData
Description copied from interface:DataCollector
Set the data for this collector- Specified by:
restoreData
in interfaceDataCollector
- Parameters:
data
- the data to set- Throws:
WekaException
- if there is a problem restoring data
-