|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.node.NodeModel
org.knime.base.node.flowvariable.tablerowtovariable.TableToVariableNodeModel
org.knime.base.node.flowvariable.variableloophead.LoopStartVariableNodeModel
public class LoopStartVariableNodeModel
Start of loop: pushes variables in input datatable columns onto stack, taking the values from one row per iteration.
Constructor Summary | |
---|---|
protected |
LoopStartVariableNodeModel()
One input, one output. |
Method Summary | |
---|---|
protected PortObjectSpec[] |
configure(PortObjectSpec[] inSpecs)
Configure method for general port types. |
protected PortObject[] |
execute(PortObject[] inPOs,
ExecutionContext exec)
Execute method for general port types. |
protected void |
reset()
Override this function in the derived model and reset your NodeModel . |
boolean |
terminateLoop()
|
Methods inherited from class org.knime.base.node.flowvariable.tablerowtovariable.TableToVariableNodeModel |
---|
loadInternals, loadValidatedSettingsFrom, pushVariables, saveInternals, saveSettingsTo, validateSettings |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LoopStartVariableNodeModel()
Method Detail |
---|
protected PortObjectSpec[] configure(PortObjectSpec[] inSpecs) throws InvalidSettingsException
PortObjectSpecs
that are defined through the
PortTypes
given in the
constructor
.
Similarly, the returned output specs need to comply with their port types
spec class (otherwise an error is reported by the framework). They may
also be null.
For a general description of the configure method refer to the
description of the specialized NodeModel.configure(DataTableSpec[])
methods as it addresses more use cases.
configure
in class TableToVariableNodeModel
inSpecs
- The input object specs.
InvalidSettingsException
- If this node can't be configured.protected PortObject[] execute(PortObject[] inPOs, ExecutionContext exec) throws Exception
PortObject classes
that are defined through the
PortTypes
given in the
constructor
.
Similarly, the returned output objects need to comply with their port
types object class (otherwise an error is reported by the framework).
For a general description of the execute method refer to the description
of the specialized
NodeModel.execute(BufferedDataTable[], ExecutionContext)
methods as it
addresses more use cases.
execute
in class TableToVariableNodeModel
inPOs
- The input objects.exec
- For BufferedDataTable
creation and progress.
Exception
- If the node execution fails for any reason.public boolean terminateLoop()
terminateLoop
in interface LoopStartNodeTerminator
protected void reset()
NodeModel
. All components should unregister themselves
from any observables (at least from the hilite handler right now). All
internally stored data structures should be released. User settings
should not be deleted/reset though.
reset
in class TableToVariableNodeModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |