public class LabelToNodeMap extends Object
Modifier and Type | Method and Description |
---|---|
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() |
public static LabelToNodeMap createBNodeMap()
public static LabelToNodeMap createVarMap()
public Node allocNode()
public void clear()
Licenced under the Apache License, Version 2.0