Package org.apache.jena.sparql.core
Class ResultBinding
- java.lang.Object
-
- org.apache.jena.sparql.core.QuerySolutionBase
-
- org.apache.jena.sparql.core.ResultBinding
-
- All Implemented Interfaces:
QuerySolution
public class ResultBinding extends QuerySolutionBase
A mapping from variable name to an RDF value. A wrapper around the graph level Binding.
-
-
Constructor Summary
Constructors Constructor Description ResultBinding(Model _model, Binding _binding)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanequals(ResultBinding rb1, ResultBinding rb2)BindinggetBinding()java.lang.StringtoString()java.util.Iterator<java.lang.String>varNames()Iterate over the variable names (strings) in this QuerySolution.-
Methods inherited from class org.apache.jena.sparql.core.QuerySolutionBase
contains, get, getLiteral, getResource
-
-
-
-
Method Detail
-
varNames
public java.util.Iterator<java.lang.String> varNames()
Description copied from interface:QuerySolutionIterate over the variable names (strings) in this QuerySolution.- Specified by:
varNamesin interfaceQuerySolution- Specified by:
varNamesin classQuerySolutionBase- Returns:
- Iterator of strings
-
getBinding
public Binding getBinding()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public static boolean equals(ResultBinding rb1, ResultBinding rb2)
-
-