seekindex

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Range

type Range struct {
	Start, End int64
}

func Lookup

func Lookup(r zio.Reader, from, to *zed.Value, cmp expr.CompareFn) (Range, error)

func LookupByCount added in v1.0.0

func LookupByCount(r zio.Reader, from, to *zed.Value) (Range, error)

func (Range) Crop added in v1.0.0

func (r Range) Crop(r2 Range) Range

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) Size

func (r Range) Size() int64

func (Range) TrimEnd

func (r Range) TrimEnd(end int64) Range

type Writer

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

func NewWriter

func NewWriter(w zio.Writer) *Writer

func (*Writer) Write

func (w *Writer) Write(key zed.Value, count uint64, offset int64) error

Jump to

Keyboard shortcuts

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