Package org.eclipse.rdf4j.query
Interface MutableBindingSet
- All Superinterfaces:
BindingSet,Iterable<Binding>,Serializable
- All Known Implementing Classes:
ArrayBindingSet,FedXPathIteration.ValuePair,MapBindingSet,PathIteration.ValuePair,QueryBindingSet
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 Summary
Modifier and TypeMethodDescriptiondefault voidaddBinding(String name, Value value) Adds a binding to the binding set.voidaddBinding(Binding binding) Adds a binding to the binding set.voidsetBinding(String name, Value value) voidsetBinding(Binding binding) Methods inherited from interface org.eclipse.rdf4j.query.BindingSet
equals, getBinding, getBindingNames, getValue, hasBinding, hashCode, isEmpty, iterator, sizeMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
addBinding
Adds a binding to the binding set.- Parameters:
name- The binding's name.value- The binding's value.
-
addBinding
Adds a binding to the binding set.- Parameters:
binding- The binding to add to the binding set.
-
setBinding
-
setBinding
-