Class EvaluationContext

    • Method Detail

      • lookup

        public FieldValue lookup​(String name)

        Looks up a field value by name. If the field value has not been declared, then fails fast with an exception.

        Throws:
        MissingFieldValueException - If the field value has not been declared.
      • evaluate

        public FieldValue evaluate​(String name)

        Looks up a field value by name. If the field value has not been declared, then makes full effort to resolve and declare it.

      • evaluateLagged

        public FieldValue evaluateLagged​(org.jpmml.evaluator.LagKey lagKey)
      • declareLagged

        public FieldValue declareLagged​(org.jpmml.evaluator.LagKey lagKey,
                                        Object value)
      • evaluateAggregated

        public FieldValue evaluateAggregated​(org.jpmml.evaluator.AggregateKey aggregateKey)
      • declareAggregated

        public FieldValue declareAggregated​(org.jpmml.evaluator.AggregateKey aggregateKey,
                                            Object value)
      • addWarning

        public void addWarning​(String warning)
      • getValues

        public org.jpmml.evaluator.FieldValueMap getValues()