Package nz.org.riskscape.engine.steps
Class SegmentStep
java.lang.Object
nz.org.riskscape.engine.steps.BaseStep<SegmentStep.Parameters>
nz.org.riskscape.engine.steps.SegmentStep
- All Implemented Interfaces:
nz.org.riskscape.engine.Identified
,nz.org.riskscape.engine.pipeline.Step
Step that will transform flat input data into a more nested form.
Input data would normally be expected from a source such as CSV which is inherently all text so coercion is used to attempt to convert. Of course this can cause errors at runtime when fields do not contain the expected values.
-
Nested Class Summary
-
Field Summary
Fields inherited from interface nz.org.riskscape.engine.pipeline.Step
FUNCTOR_INTERFACES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.problem.ResultOrProblems<? extends nz.org.riskscape.engine.pipeline.Realized>
realize
(SegmentStep.Parameters parameters) Methods inherited from class nz.org.riskscape.engine.steps.BaseStep
bindInputs, bindParameters, equals, findParameterClass, getDescription, getEngine, getId, getInputArity, getInputNames, getParamContext, getParameterSet, hashCode, realize, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
Methods inherited from interface nz.org.riskscape.engine.pipeline.Step
getDeclaredParameter, getDeclaredParameterNames, getDeclaredParameters, getDefaultInputName, hasNamedInput, named
-
Constructor Details
-
SegmentStep
public SegmentStep(nz.org.riskscape.engine.Engine engine)
-
-
Method Details
-
realize
public nz.org.riskscape.problem.ResultOrProblems<? extends nz.org.riskscape.engine.pipeline.Realized> realize(SegmentStep.Parameters parameters) - Specified by:
realize
in classBaseStep<SegmentStep.Parameters>
-