java.lang.Object
org.apache.jena.sparql.engine.binding.BindingLib

public class BindingLib extends Object
Operations on Bindings
  • Constructor Details

    • BindingLib

      public BindingLib()
  • Method Details

    • equals

      public static boolean equals(Binding bind1, Binding bind2)
      test for equality - order independent (Bindings are map-like)
    • merge

      public static Binding merge(Binding bind1, Binding bind2)
      Merge two bindings, assuming they are compatible.
    • merge

      public static Binding merge(BindingBuilder builder, Binding bind1, Binding bind2)
      Merge two bindings, assuming they are compatible. The BindingBuilder is reused and left in an indeterminate state.
    • bindingToMap

      public static Map<Var,org.apache.jena.graph.Node> bindingToMap(Binding binding)
      Convert Binding to a Map
    • asBinding

      public static Binding asBinding(QuerySolution qSolution)
      Convert a query solution to a binding
    • toBinding

      public static Binding toBinding(QuerySolution qSolution)