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