public class QuerySolutionMap extends QuerySolutionBase
| Constructor and Description |
|---|
QuerySolutionMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
RDFNode node) |
void |
addAll(QuerySolution other)
Add all of the solutions from one QuerySolution into this QuerySolutionMap
|
void |
addAll(QuerySolutionMap other)
Add all of the solutions from one QuerySolutionMap into this QuerySolutionMap
|
Map<String,RDFNode> |
asMap()
Return a
Map<String, RDFNode> representing the current
state of this QuerySolutionMap. |
void |
clear()
Clear this QuerySolutionMap
|
String |
toString() |
Iterator<String> |
varNames()
Iterate over the variable names (strings) in this QuerySolution.
|
contains, get, getLiteral, getResourcepublic Iterator<String> varNames()
QuerySolutionvarNames in interface QuerySolutionvarNames in class QuerySolutionBasepublic void addAll(QuerySolutionMap other)
public Map<String,RDFNode> asMap()
Map<String, RDFNode> representing the current
state of this QuerySolutionMap. The map is not connected
to the QuerySolutionMap and later changes to either Map
or QuerySolutionMap will not reflected in the other.public void addAll(QuerySolution other)
public void clear()
Licenced under the Apache License, Version 2.0