public ClosableIterator<Long[]> getEntries() {
return index012.iterator();
}
public Triple createTriple(Long... nodes) {
final Node subNode = nodePool.getNodeById(nodes[0]);
final Node predNode = nodePool.getNodeById(nodes[1]);
final Node objNode = nodePool.getNodeById(nodes[2]);
SubjectNode subject = (SubjectNode) subNode;
PredicateNode predicate = (PredicateNode) predNode;
ObjectNode object = (ObjectNode) objNode;
return new TripleImpl(subject, predicate, object);