@KFStep(name="Loader", category="DataSources", toolTipText="Weka loader wrapper", iconPath="") public class Loader extends WekaAlgorithmWrapper implements java.io.Serializable
weka.core.converters.Loaders.| Modifier and Type | Field and Description |
|---|---|
protected StreamThroughput |
m_flowThroughput
For measuring the overall flow throughput
|
protected java.lang.String |
m_globalInfo
Global info for the wrapped loader (if it exists).
|
protected Data |
m_instanceData
Reusable data container
|
protected boolean |
m_instanceGeneration
True if we're going to be streaming instance objects
|
protected boolean |
m_noOutputs
True if there are no outgoing connections
|
m_defaultIconPath, m_defaultPackageIconPath, m_iconPath, m_wrappedAlgorithmm_stepIsResourceIntensive, m_stepManager, m_stepName| Constructor and Description |
|---|
Loader() |
| 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.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
Loader |
getLoader()
Convenience method - calls
getWrappedAlgorithm() |
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
java.lang.Class |
getWrappedAlgorithmClass()
Get the class of the wrapped algorithm
|
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 |
setLoader(Loader loader)
Convenience method - calls
setWrappedAlgorithm() |
void |
setWrappedAlgorithm(java.lang.Object algo)
Set the wrapped algorithm to use
|
void |
start()
Start executing
|
void |
stepInit()
Initialize the step.
|
getDefaultIconPath, getDefaultPackageLevelIconPath, getIconPath, getWrappedAlgorithm, globalInfoenvironmentSubstitute, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, isResourceIntensive, isStopRequested, processIncoming, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, stepMustRunSingleThreaded, stopprotected java.lang.String m_globalInfo
protected boolean m_instanceGeneration
protected boolean m_noOutputs
protected Data m_instanceData
protected StreamThroughput m_flowThroughput
public java.lang.Class getWrappedAlgorithmClass()
getWrappedAlgorithmClass in class WekaAlgorithmWrapperpublic void setWrappedAlgorithm(java.lang.Object algo)
setWrappedAlgorithm in class WekaAlgorithmWrapperalgo - the algorithm to usepublic Loader getLoader()
getWrappedAlgorithm()@ProgrammaticProperty public void setLoader(Loader loader)
setWrappedAlgorithm()loader - the loader to usepublic void stepInit()
throws WekaException
stepInit in interface BaseStepExtenderstepInit in interface StepWekaException - if a problem occurs during initializationpublic void start()
throws WekaException
start in interface BaseStepExtenderstart in interface Stepstart in class BaseStepWekaException - if a problem occurspublic Instances outputStructureForConnectionType(java.lang.String connectionName) throws WekaException
outputStructureForConnectionType in interface StepoutputStructureForConnectionType in class BaseStepconnectionName - the name of the connection type to get the output
structure forWekaException - if a problem occurspublic java.util.List<java.lang.String> getIncomingConnectionTypes()
getIncomingConnectionTypes in interface BaseStepExtendergetIncomingConnectionTypes in interface Steppublic java.util.List<java.lang.String> getOutgoingConnectionTypes()
getOutgoingConnectionTypes in interface BaseStepExtendergetOutgoingConnectionTypes in interface Steppublic java.lang.String getCustomEditorForStep()
getCustomEditorForStep in interface StepgetCustomEditorForStep in class BaseStep