Interface MutableBindingSet

All Superinterfaces:
BindingSet, Iterable<Binding>, Serializable
All Known Implementing Classes:
ArrayBindingSet, FedXPathIteration.ValuePair, MapBindingSet, PathIteration.ValuePair, 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 Details

    • addBinding

      default void addBinding(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(String name, Value value)
    • setBinding

      void setBinding(Binding binding)