Some checks failed
Go Tests / Run Tests (1.24.2) (push) Has been cancelled
19 lines
481 B
Go
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
|
|
}
|