Package org.eclipse.rdf4j.query
Interface MutableBindingSet
- All Superinterfaces:
BindingSet
,Iterable<Binding>
,Serializable
- All Known Implementing Classes:
ArrayBindingSet
,MapBindingSet
,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 void
addBinding
(String name, Value value) Adds a binding to the binding set.void
addBinding
(Binding binding) Adds a binding to the binding set.void
setBinding
(String name, Value value) void
setBinding
(Binding binding) Methods inherited from interface org.eclipse.rdf4j.query.BindingSet
equals, getBinding, getBindingNames, getValue, hasBinding, hashCode, isEmpty, iterator, size
Methods 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
-