seekindex

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 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 Entry added in v1.3.0

type Entry struct {
	Key    *zed.Value `zed:"key"`
	Count  uint64     `zed:"count"`
	Offset int64      `zed:"offset"`
}

type Range

type Range struct {
	Start, End int64
}

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) String added in v1.3.0

func (r Range) String() string

func (Range) TrimEnd

func (r Range) TrimEnd(end int64) Range

type Section added in v1.3.0

type Section struct {
	Keys                  extent.Span
	Range                 Range
	Counts                extent.Span
	FirstCount, LastCount uint64
}

type SectionReader added in v1.3.0

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

func NewSectionReader added in v1.3.0

func NewSectionReader(r io.Reader, last zed.Value, count uint64, size int64, cmp expr.CompareFn) *SectionReader

func (*SectionReader) Next added in v1.3.0

func (r *SectionReader) Next() (*Section, error)

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