Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
Iterator is an implementation of an iterator for ClickHouse.
func New ¶
func New(ctx context.Context, driverName string, pos *Position, config config.SourceConfig) (*Iterator, error)
New creates a new instance of the iterator.
func (*Iterator) HasNext ¶
HasNext returns a bool indicating whether the iterator has the next record to return or not.
type Position ¶
type Position struct { // LastProcessedValue represents the last processed value from ordering column. LastProcessedValue any `json:"lastProcessedValue"` // LatestSnapshotValue represents the most recent value of ordering column. LatestSnapshotValue any `json:"latestSnapshotValue"` }
Position represents ClickHouse's position.
Click to show internal directories.
Click to hide internal directories.