seekindex

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry added in v1.3.0

type Entry struct {
	Min    zed.Value `zed:"min"`
	Max    zed.Value `zed:"max"`
	ValOff uint64    `zed:"val_off"`
	ValCnt uint64    `zed:"val_cnt"`
	Offset uint64    `zed:"offset"`
	Length uint64    `zed:"length"`
}

func (Entry) Range added in v1.15.0

func (e Entry) Range() Range

type Index added in v1.15.0

type Index []Entry

func (Index) Filter added in v1.15.0

func (i Index) Filter(b *vector.Bool) Ranges

type Range

type Range struct {
	Offset int64 `zed:"offset"`
	Length int64 `zed:"length"`
}

func (Range) IsZero added in v1.0.0

func (r Range) IsZero() bool

func (Range) Reader

func (r Range) Reader(reader io.ReaderAt) (io.Reader, error)

func (Range) String added in v1.3.0

func (r Range) String() string

type Ranges added in v1.15.0

type Ranges []Range

func (*Ranges) Append added in v1.15.0

func (r *Ranges) Append(entry Entry)

type Writer

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

func NewWriter

func NewWriter(w zio.WriteCloser) *Writer

func (*Writer) Close added in v1.14.0

func (w *Writer) Close() error

func (*Writer) Write

func (w *Writer) Write(min, max zed.Value, valoff uint64, offset uint64) error

Jump to

Keyboard shortcuts

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