Move iterators into separate package

Also reduce API exposure and use standard library more - and fix bugs I
previously introduces in mongo.
This commit is contained in:
kortschak 2014-06-30 22:22:50 +09:30
parent 88be6bee37
commit 1768e593a8
62 changed files with 3240 additions and 3130 deletions

View file

@ -69,8 +69,8 @@ type TripleStore interface {
// Returns the number of triples currently stored.
Size() int64
// Creates a Fixed iterator which can compare TSVals
MakeFixed() *FixedIterator
// Creates a fixed iterator which can compare TSVals
FixedIterator() FixedIterator
// Optimize an iterator in the context of the triple store.
// Suppose we have a better index for the passed tree; this