@KFStep(name="InstanceStreamToBatchMaker", category="Flow", toolTipText="Converts an incoming instance stream into a batch dataset", iconPath="weka/gui/knowledgeflow/icons/InstanceStreamToBatchMaker.gif") public class InstanceStreamToBatchMaker extends BaseStep
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
m_hasStringAtts
True if the incoming data contains string attributes
|
protected boolean |
m_isReset
True if we've been reset
|
protected Instances |
m_structure
The structure of the incoming instances
|
m_stepIsResourceIntensive, m_stepManager, m_stepName| Constructor and Description |
|---|
InstanceStreamToBatchMaker() |
| 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.
|
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 |
processIncoming(Data data)
Process incoming data
|
void |
stepInit()
Initialize the step.
|
environmentSubstitute, getCustomEditorForStep, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, start, stepMustRunSingleThreaded, stopprotected boolean m_isReset
protected Instances m_structure
protected boolean m_hasStringAtts
public void stepInit()
throws WekaException
WekaException - if a problem occurs during initializationpublic java.util.List<java.lang.String> getIncomingConnectionTypes()
public java.util.List<java.lang.String> getOutgoingConnectionTypes()
public void processIncoming(Data data) throws WekaException
processIncoming in interface BaseStepExtenderprocessIncoming in interface StepprocessIncoming in class BaseStepdata - the payload to processWekaExceptionpublic 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 occurs