Class ExecutionOptions
Various options that apply to PipelineExecutor#execute(RealizedPipeline, ExecutionOptions)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<RealizedStep,SinkConstructor> A 'useful' function for capping a pipeline with a black hole - results are thrown away. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanclone()booleanA URI to use for storing results, typically withResourceFactory.create(nz.org.riskscape.engine.resource.CreateRequest)com.codahale.metrics.MetricRegistryA 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 aSinkto any terminal steps that are not themselves sinks.inthashCode()voidsetDefaultCreationOptions(CreateRequest defaultCreationOptions) A URI to use for storing results, typically withResourceFactory.create(nz.org.riskscape.engine.resource.CreateRequest)voidsetProgressMetrics(com.codahale.metrics.MetricRegistry progressMetrics) A set of metrics that are useful to show progress to the user.voidsetSaveFormat(Format saveFormat) The preferred file format that pipeline results should be saved invoidsetStepCapper(Function<RealizedStep, SinkConstructor> stepCapper) A function to use for applying aSinkto 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
Sinkto 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
Sinkto 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
-