Interface ModelContext
-
public interface ModelContext
- See Also:
PublicGroovyAPI.model(String)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>
evaluate(String evaluationName, Map<String,Object> inputs)
DatamartContext.Table
table(String name)
-
-
-
Method Detail
-
evaluate
Map<String,Object> evaluate(String evaluationName, Map<String,Object> inputs)
- Parameters:
evaluationName
- name of the evaluation in the model's classinputs
- inputs for executing the evaluation's formula- Returns:
- an unmodifiable ordered map of element name -> result value
-
table
DatamartContext.Table table(String name)
- Parameters:
name
- The table name in this model- Returns:
- The existing model table or
null
if it doesn't exist
-
-