|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.sparql.util.LabelToNodeMap
public class LabelToNodeMap
Map from _:* form to bNodes
| Method Summary | |
|---|---|
Node |
allocNode()
|
Node |
asNode(String label)
|
void |
clear()
|
static LabelToNodeMap |
createBNodeMap()
Create blank nodes, with the same blank node returned for thre same label. |
static 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. |
Set<String> |
getLabels()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LabelToNodeMap createBNodeMap()
public static LabelToNodeMap createVarMap()
public Set<String> getLabels()
public Node asNode(String label)
public Node allocNode()
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||