Class ExecutionOptions
Various options that apply to PipelineExecutor#execute(RealizedPipeline, ExecutionOptions)
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Function<RealizedStep,
SinkConstructor> A 'useful' function for capping a pipeline with a black hole - results are thrown away. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
clone()
boolean
A URI to use for storing results, typically withResourceFactory.create(nz.org.riskscape.engine.resource.CreateRequest)
com.codahale.metrics.MetricRegistry
A set of metrics that are useful to show progress to the user.The preferred file format that pipeline results should be saved inA function to use for applying aSink
to any terminal steps that are not themselves sinks.int
hashCode()
void
setDefaultCreationOptions
(CreateRequest defaultCreationOptions) A URI to use for storing results, typically withResourceFactory.create(nz.org.riskscape.engine.resource.CreateRequest)
void
setProgressMetrics
(com.codahale.metrics.MetricRegistry progressMetrics) A set of metrics that are useful to show progress to the user.void
setSaveFormat
(Format saveFormat) The preferred file format that pipeline results should be saved invoid
setStepCapper
(Function<RealizedStep, SinkConstructor> stepCapper) A function to use for applying aSink
to any terminal steps that are not themselves sinks.toString()
-
Field Details
-
SEND_IT_TO_HELL
A 'useful' function for capping a pipeline with a black hole - results are thrown away.
-
-
Constructor Details
-
ExecutionOptions
public ExecutionOptions()
-
-
Method Details
-
clone
-
getDefaultCreationOptions
A URI to use for storing results, typically with
ResourceFactory.create(nz.org.riskscape.engine.resource.CreateRequest)
-
getStepCapper
A function to use for applying a
Sink
to any terminal steps that are not themselves sinks. The argument is the realized step that must be capped. If you really don't care about any uncapped outputs, then you can use {@link #SEND<em>IT</em>TO_HELL} -
getSaveFormat
The preferred file format that pipeline results should be saved in
-
getProgressMetrics
public com.codahale.metrics.MetricRegistry getProgressMetrics()A set of metrics that are useful to show progress to the user.
-
setDefaultCreationOptions
A URI to use for storing results, typically with
ResourceFactory.create(nz.org.riskscape.engine.resource.CreateRequest)
-
setStepCapper
A function to use for applying a
Sink
to any terminal steps that are not themselves sinks. The argument is the realized step that must be capped. If you really don't care about any uncapped outputs, then you can use {@link #SEND<em>IT</em>TO_HELL} -
setSaveFormat
The preferred file format that pipeline results should be saved in
-
setProgressMetrics
public void setProgressMetrics(com.codahale.metrics.MetricRegistry progressMetrics) A set of metrics that are useful to show progress to the user.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-