func (it *Iterator) Result() graph.Value { if it.nodes { return iterator.Int64Node(it.result) } return iterator.Int64Quad(it.result) }
func (qs *QuadStore) ValueOf(name quad.Value) graph.Value { qs.idmu.RLock() v := qs.idMap[quad.StringOf(name)] qs.idmu.RUnlock() return iterator.Int64Node(v) }