Package com.stardog.stark.query
Class BindingSets.Builder
java.lang.Object
com.stardog.stark.query.BindingSets.Builder
- Enclosing class:
BindingSets
Builder for BindingSet
- Since:
- 5.0
- Version:
- 5.0
- Author:
- Michael Grove
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd aBindingto the set.Add a binding to the setAdd all of thebindingsto this `BindingSet`build()Build a newBindingSet.Return the value bound to the specified variable in the builderSet the names of the variables associated with this `BindingSet`Sets the names of the variables associated with this `BindingSet`
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vars
Set the names of the variables associated with this `BindingSet`- Parameters:
theVars- the variables- Returns:
- this builder
-
vars
Sets the names of the variables associated with this `BindingSet`- Parameters:
theVars- the variables- Returns:
- this builder
-
add
Add a binding to the set- Parameters:
theVar- the variable to be boundtheValue- the value the variable is bound to- Returns:
- this builder
-
addAll
Add all of thebindingsto this `BindingSet`- Parameters:
theBindings- the binding to add- Returns:
- this builder
-
add
Add aBindingto the set.- Parameters:
theBinding- the binding to add- Returns:
- this builder
-
value
Return the value bound to the specified variable in the builder- Parameters:
theVar- the variable name- Returns:
- the value
-
build
Build a newBindingSet.- Returns:
- the new `BindingSet`
-