Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeSnapshot = "s" TypeCDC = "c" )
Variables ¶
View Source
var ErrUnknownIteratorType = errors.New("unknown iterator type")
Functions ¶
This section is empty.
Types ¶
type Position ¶
type Position struct {
// IteratorType - shows in what iterator was created position.
IteratorType IteratorType
// Snapshot information.
// SnapshotLastProcessedVal - last processed value from ordering column.
SnapshotLastProcessedVal any
// SnapshotMaxValue - max value from ordering column.
SnapshotMaxValue any
// CDC information.
// Last processed id.
CDCID int64
// Time Created time.
Time time.Time
}
Position represents DB2 position.
func ParseSDKPosition ¶
ParseSDKPosition parses SDK position and returns Position.
Click to show internal directories.
Click to hide internal directories.