Class CsvFunctionFramework.CsvMetadataParams
java.lang.Object
nz.org.riskscape.engine.function.BaseMetadataParams
nz.org.riskscape.defaults.function.csv.CsvFunctionFramework.CsvMetadataParams
- Enclosing class:
- CsvFunctionFramework
public static class CsvFunctionFramework.CsvMetadataParams
extends nz.org.riskscape.engine.function.BaseMetadataParams
The metadata parameters for a CSV function.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe location of a file containing the CSV data used by this function.Optional<nz.org.riskscape.rl.ast.Expression>An expression to map the resulting value.Fields inherited from class nz.org.riskscape.engine.function.BaseMetadataParams
category, description, framework -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
location
The location of a file containing the CSV data used by this function.
-
hazardColumn
-
returnColumn
-
exposureAttribute
-
defaultExposureValue
-
mapValue
An expression to map the resulting value.
As well as having access to the value, the exposure and hazard will also be available to use in the expression.
Internally the expression will be a lambda but users can enter it as a regular expression as a convenience.
-
-
Constructor Details
-
CsvMetadataParams
public CsvMetadataParams()
-