Move SubIterator handling out of Base

This commit is contained in:
kortschak 2014-07-30 12:11:14 +09:30
parent 189910c4b8
commit 525230206a
9 changed files with 46 additions and 1 deletions

View file

@ -146,6 +146,11 @@ func (it *Iterator) Next() (graph.Value, bool) {
return nil, false
}
// No subiterators.
func (it *Iterator) SubIterators() []graph.Iterator {
return nil
}
func PositionOf(prefix []byte, d graph.Direction, ts *TripleStore) int {
if bytes.Equal(prefix, []byte("sp")) {
switch d {