Interface MutableBindingSet

  • All Superinterfaces:
    BindingSet, java.lang.Iterable<Binding>, java.io.Serializable
    All Known Implementing Classes:
    ArrayBindingSet, MapBindingSet, QueryBindingSet

    public interface MutableBindingSet
    extends BindingSet
    A BindingSet is a set of named value bindings, which is used a.o. to represent a single query solution. Values are indexed by name of the binding which typically corresponds to the names of the variables used in the projection of the orginal query.
    • Method Detail

      • addBinding

        default void addBinding​(java.lang.String name,
                                Value value)
        Adds a binding to the binding set.
        Parameters:
        name - The binding's name.
        value - The binding's value.
      • addBinding

        void addBinding​(Binding binding)
        Adds a binding to the binding set.
        Parameters:
        binding - The binding to add to the binding set.
      • setBinding

        void setBinding​(java.lang.String name,
                        Value value)
      • setBinding

        void setBinding​(Binding binding)