Documentation ¶
Index ¶
- type SnapshotContext
- func (sc *SnapshotContext) GetOrCreateWatermark(hypertable *systemcatalog.Hypertable) (watermark *Watermark, created bool)
- func (sc *SnapshotContext) GetWatermark(hypertable *systemcatalog.Hypertable) (watermark *Watermark, present bool)
- func (sc *SnapshotContext) MarshalBinary() (data []byte, err error)
- func (sc *SnapshotContext) UnmarshalBinary(data []byte) error
- type Watermark
- func (w *Watermark) Complete() bool
- func (w *Watermark) DataTypes() map[string]uint32
- func (w *Watermark) HasValidLowWatermark() bool
- func (w *Watermark) HighWatermark() map[string]any
- func (w *Watermark) LowWatermark() map[string]any
- func (w *Watermark) MarkComplete()
- func (w *Watermark) MarkIncomplete()
- func (w *Watermark) SetHighWatermark(values map[string]any)
- func (w *Watermark) SetLowWatermark(values map[string]any)
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( hypertable *systemcatalog.Hypertable, ) (watermark *Watermark, created bool)
func (*SnapshotContext) GetWatermark ¶
func (sc *SnapshotContext) GetWatermark( hypertable *systemcatalog.Hypertable, ) (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) HasValidLowWatermark ¶
func (*Watermark) HighWatermark ¶
func (*Watermark) LowWatermark ¶
func (*Watermark) MarkComplete ¶
func (w *Watermark) MarkComplete()
func (*Watermark) MarkIncomplete ¶
func (w *Watermark) MarkIncomplete()
func (*Watermark) SetHighWatermark ¶
func (*Watermark) SetLowWatermark ¶
Click to show internal directories.
Click to hide internal directories.