metadata

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package metadata helps enforce a consistent standard of meaning around the map metadata object.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SourceSlice

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

SourceSlice is a helper for the MapMetadata_SourceSlice proto message.

func FromProto

FromProto returns a wrapper for the given proto SourceSlice.

func New

func New(logID int64, low, high water.Mark) *SourceSlice

New creates a new source slice from watermarks for the given log.

func (SourceSlice) HighMark

func (s SourceSlice) HighMark() water.Mark

HighMark returns HighestExclusive as a watermark.

func (SourceSlice) LowMark

func (s SourceSlice) LowMark() water.Mark

LowMark returns LowestInclusive as a watermark.

func (*SourceSlice) Proto

Proto returns the proto representation of the SourceSlice.

Jump to

Keyboard shortcuts

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