Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoKey = errors.New("no key") ErrNoOrderingColumn = errors.New("no ordering column") ErrWrongTrackingIDType = errors.New("tracking id wrong type") ErrWrongTrackingOperatorType = errors.New("tracking column wrong type") ErrUnknownOperatorType = errors.New("unknown iterator type") ErrNoInitializedIterator = errors.New("not initialized iterator") )
Functions ¶
This section is empty.
Types ¶
type CombinedIterator ¶
type CombinedIterator struct {
// contains filtered or unexported fields
}
CombinedIterator combined iterator.
func NewCombinedIterator ¶
func NewCombinedIterator(ctx context.Context, params CombinedParams) (*CombinedIterator, error)
NewCombinedIterator - create new iterator.
func (*CombinedIterator) HasNext ¶
func (c *CombinedIterator) HasNext(ctx context.Context) (bool, error)
HasNext returns a bool indicating whether the iterator has the next record to return or not. If the underlying snapshot iterator returns false, the combined iterator will try to switch to the cdc iterator.
Click to show internal directories.
Click to hide internal directories.