Class BindingFactory

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

public class BindingFactory extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Binding
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Binding
    Create a binding of no pairs, with no parent.
    static Binding
    binding(Var var, org.apache.jena.graph.Node node)
    Create a binding of one pair
    static Binding
    binding(Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2)
    Create a binding of two pairs
    static Binding
    binding(Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2, Var var3, org.apache.jena.graph.Node node3)
    Create a binding of three pairs
    static Binding
    binding(Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2, Var var3, org.apache.jena.graph.Node node3, Var var4, org.apache.jena.graph.Node node4)
    Create a binding of fours pairs
    static Binding
    binding(Binding parent)
    Create a binding of no pairs
    static Binding
    binding(Binding parent, Var var, org.apache.jena.graph.Node node)
    Create a binding of one (var, value) pair
    static Binding
    binding(Binding parent, Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2)
    Create a binding of two (var, value) pairs
    static Binding
    binding(Binding parent, Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2, Var var3, org.apache.jena.graph.Node node3)
    Create a binding of three (var, value) pairs
    static Binding
    binding(Binding parent, Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2, Var var3, org.apache.jena.graph.Node node3, Var var4, org.apache.jena.graph.Node node4)
    Create a binding of four (var, value) pairs
    builder(Binding parent)
    static Binding
    Create a new Binding as a copy of an existing one.
    static final Binding
     
    static Binding
    Create a root binding.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • noParent

      public static final Binding noParent
  • Constructor Details

    • BindingFactory

      public BindingFactory()
  • Method Details

    • empty

      public static final Binding empty()
    • builder

      public static BindingBuilder builder()
    • builder

      public static BindingBuilder builder(Binding parent)
    • binding

      public static Binding binding()
      Create a binding of no pairs, with no parent. A root binding.
    • binding

      public static Binding binding(Binding parent)
      Create a binding of no pairs
    • binding

      public static Binding binding(Var var, org.apache.jena.graph.Node node)
      Create a binding of one pair
    • binding

      public static Binding binding(Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2)
      Create a binding of two pairs
    • binding

      public static Binding binding(Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2, Var var3, org.apache.jena.graph.Node node3)
      Create a binding of three pairs
    • binding

      public static Binding binding(Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2, Var var3, org.apache.jena.graph.Node node3, Var var4, org.apache.jena.graph.Node node4)
      Create a binding of fours pairs
    • binding

      public static Binding binding(Binding parent, Var var, org.apache.jena.graph.Node node)
      Create a binding of one (var, value) pair
    • binding

      public static Binding binding(Binding parent, Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2)
      Create a binding of two (var, value) pairs
    • binding

      public static Binding binding(Binding parent, Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2, Var var3, org.apache.jena.graph.Node node3)
      Create a binding of three (var, value) pairs
    • binding

      public static Binding binding(Binding parent, Var var1, org.apache.jena.graph.Node node1, Var var2, org.apache.jena.graph.Node node2, Var var3, org.apache.jena.graph.Node node3, Var var4, org.apache.jena.graph.Node node4)
      Create a binding of four (var, value) pairs
    • root

      public static Binding root()
      Create a root binding. A root binding has no parent nor var/node pairs and has a distinctive type/toString.
    • copy

      public static Binding copy(Binding b)
      Create a new Binding as a copy of an existing one. Additionally, it guarantees to touch each element of the binding.