All checks were successful
Go Tests / Run Tests (1.24.2) (push) Successful in 9m36s
18 lines
483 B
Go
18 lines
483 B
Go
package composite
|
|
|
|
import (
|
|
"git.canoozie.net/jer/go-storage/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
|
|
} |