index

package
v0.0.53 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column interface {
	Empty() bool
	Fst() []byte
	Path() []string
	Bitmaps(f func(int, *roaring.Bitmap) error) error
}

type ColumnImpl

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

func NewColIdx

func NewColIdx() *ColumnImpl

func (*ColumnImpl) Build

func (c *ColumnImpl) Build(path []string) (*FullColumn, error)

func (*ColumnImpl) Index

func (c *ColumnImpl) Index(e *array.Dictionary)

func (*ColumnImpl) Release

func (c *ColumnImpl) Release()

func (*ColumnImpl) Reset

func (c *ColumnImpl) Reset()

type Full

type Full interface {
	Columns(f func(column Column) error) error
	Match(b *roaring.Bitmap, m []*filters.CompiledFilter)
	Size() uint64
}

type FullColumn

type FullColumn struct {
	FST []byte

	NumRows uint32
	// contains filtered or unexported fields
}

func (*FullColumn) Bitmaps

func (f *FullColumn) Bitmaps(fn func(int, *roaring.Bitmap) error) error

func (*FullColumn) Empty

func (f *FullColumn) Empty() bool

func (*FullColumn) Fst

func (f *FullColumn) Fst() []byte

func (*FullColumn) Load

func (f *FullColumn) Load() *vellum.FST

func (*FullColumn) Match

func (*FullColumn) Path

func (f *FullColumn) Path() []string

func (*FullColumn) Size

func (f *FullColumn) Size() (n uint64)

type FullMapColumn

type FullMapColumn map[string]*FullColumn

func (FullMapColumn) Match

func (FullMapColumn) Size

func (m FullMapColumn) Size() (n uint64)

type Index

type Index interface {
	Index(arrow.Record) (Full, error)
}

type Primary

type Primary interface {
	Add(resource string, granule *v1.Granule)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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