java.lang.Object
org.apache.jena.sparql.lang.LabelToNodeMap
Map from _:* form to bNodes or variables.
Used in SPARQL parsing.
See also
LabelToNode
in RIOT for language parser label to node mapping.-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.graph.Node
org.apache.jena.graph.Node
void
clear()
static LabelToNodeMap
Deprecated.Internal use only.static LabelToNodeMap
Create variables (Var), starting from zero each time This means that parsing a query string will generate the same variable names for bNode variables each time, making Query.equals and Query.hashCode work.
-
Method Details
-
createBNodeMap
Deprecated.Internal use only. UseLabelToNode.createUseLabelAsGiven()
Create blank nodes, with the same blank node returned for the same label.- Returns:
- LabelToNodeMap
-
createVarMap
Create variables (Var), starting from zero each time This means that parsing a query string will generate the same variable names for bNode variables each time, making Query.equals and Query.hashCode work.- Returns:
- LabelToNodeMap
-
getLabels
-
asNode
-
allocNode
public org.apache.jena.graph.Node allocNode() -
clear
public void clear()
-