Class EvalUtils

  • public class EvalUtils
    extends java.lang.Object
    Maxime Lefrançois
    • Constructor Detail

      • EvalUtils

        public EvalUtils()
    • Method Detail

      • splitBindingsForQuery

        public static java.util.Map<java.lang.String,​java.util.List<Binding>> splitBindingsForQuery​(Expr expr,
                                                                                                          java.util.List<Binding> bindings,
                                                                                                          FunctionEnv env)
        The query name may be an expression, which evaluates differently depending on the input bindings. This method groups the bindings for which the query name evaluation is the same.
        expr - the expression for the query name
        bindings -
        env -
      • eval

        public static java.util.List<Node> eval​(java.util.List<NodeValue> nodeValues)