kevo/pkg/common/iterator/composite/composite.go
Jeremy Tregunna 25fe3b1771
Some checks failed
Go Tests / Run Tests (1.24.2) (push) Has been cancelled
chore: i am an idiot, forgot to change the full path parts
2025-04-20 14:53:39 -06:00

19 lines
481 B
Go

package composite
import (
"github.com/jeremytregunna/kevo/pkg/common/iterator"
)
// CompositeIterator is an interface for iterators that combine multiple source iterators
// into a single logical view.
type CompositeIterator interface {
// Embeds the basic Iterator interface
iterator.Iterator
// NumSources returns the number of source iterators
NumSources() int
// GetSourceIterators returns the underlying source iterators
GetSourceIterators() []iterator.Iterator
}