Exemplo n.º 1
0
func NewMemstoreAllIterator(ts *MemTripleStore) *MemstoreAllIterator {
	var out MemstoreAllIterator
	out.Int64AllIterator = *graph.NewInt64AllIterator(1, ts.idCounter-1)
	out.ts = ts
	return &out
}
Exemplo n.º 2
0
func (ts *MemTripleStore) GetTriplesAllIterator() graph.Iterator {
	return graph.NewInt64AllIterator(0, ts.Size())
}