watermark

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnapshotContext

type SnapshotContext struct {
	// contains filtered or unexported fields
}

func NewSnapshotContext

func NewSnapshotContext(
	snapshotName string,
) *SnapshotContext

func (*SnapshotContext) GetOrCreateWatermark

func (sc *SnapshotContext) GetOrCreateWatermark(
	table systemcatalog.BaseTable,
) (watermark *Watermark, created bool)

func (*SnapshotContext) GetWatermark

func (sc *SnapshotContext) GetWatermark(
	table systemcatalog.BaseTable,
) (watermark *Watermark, present bool)

func (*SnapshotContext) MarshalBinary

func (sc *SnapshotContext) MarshalBinary() (data []byte, err error)

func (*SnapshotContext) UnmarshalBinary

func (sc *SnapshotContext) UnmarshalBinary(
	data []byte,
) error

type Watermark

type Watermark struct {
	// contains filtered or unexported fields
}

func (*Watermark) Complete

func (w *Watermark) Complete() bool

func (*Watermark) DataTypes

func (w *Watermark) DataTypes() map[string]uint32

func (*Watermark) HasValidLowWatermark

func (w *Watermark) HasValidLowWatermark() bool

func (*Watermark) HighWatermark

func (w *Watermark) HighWatermark() map[string]any

func (*Watermark) LowWatermark

func (w *Watermark) LowWatermark() map[string]any

func (*Watermark) MarkComplete

func (w *Watermark) MarkComplete()

func (*Watermark) MarkIncomplete

func (w *Watermark) MarkIncomplete()

func (*Watermark) SetHighWatermark

func (w *Watermark) SetHighWatermark(
	values map[string]any,
)

func (*Watermark) SetLowWatermark

func (w *Watermark) SetLowWatermark(
	values map[string]any,
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL