meta

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(o *bitmaps.Bitmap, id, min []uint64, start, end uint64)

Types

type Meta

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

func FromInfo

func FromInfo(m *v1.MetaInfo) *Meta

func New

func New() *Meta

func (*Meta) Add

func (r *Meta) Add(resource v1.RESOURCE, id, minTx, maxTs uint64)

func (*Meta) Compacted

func (r *Meta) Compacted() bool

func (*Meta) ID

func (r *Meta) ID() uint64

func (*Meta) Info

func (r *Meta) Info() *v1.MetaInfo

func (*Meta) IsEmpty

func (r *Meta) IsEmpty() bool

func (*Meta) IsInfo

func (r *Meta) IsInfo() bool

func (*Meta) Max

func (r *Meta) Max() uint64

func (*Meta) Merge

func (r *Meta) Merge(o *Meta)

func (*Meta) Min

func (r *Meta) Min() uint64

func (*Meta) Proto

func (r *Meta) Proto() (metrics, logs, traces *v1.Meta)

func (*Meta) Release

func (r *Meta) Release()

func (*Meta) Reset

func (r *Meta) Reset()

func (*Meta) Search

func (r *Meta) Search(o *bitmaps.Bitmap, resource v1.RESOURCE, start, end uint64)

func (*Meta) Size

func (r *Meta) Size() (n int)

func (*Meta) Sort

func (r *Meta) Sort()

Jump to

Keyboard shortcuts

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