index

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	MaxLowCardinality = math.MaxUint16 + 1
)

Variables

View Source
var (
	ErrNotSupported = moerr.NewNotSupported("the type is not supported for low cardinality index")
)

Functions

This section is empty.

Types

type LowCardinalityIndex

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

func New

func New(typ types.Type, m *mpool.MPool) (*LowCardinalityIndex, error)

func (*LowCardinalityIndex) Dup

func (*LowCardinalityIndex) DupEmpty

func (idx *LowCardinalityIndex) DupEmpty() *LowCardinalityIndex

func (*LowCardinalityIndex) Encode

func (idx *LowCardinalityIndex) Encode(dst, src *vector.Vector) error

Encode uses the dictionary of the current index to encode the original data.

func (*LowCardinalityIndex) Free

func (idx *LowCardinalityIndex) Free()

func (*LowCardinalityIndex) GetDict

func (idx *LowCardinalityIndex) GetDict() *dict.Dict

func (*LowCardinalityIndex) GetPoses

func (idx *LowCardinalityIndex) GetPoses() *vector.Vector

func (*LowCardinalityIndex) InsertBatch

func (idx *LowCardinalityIndex) InsertBatch(data *vector.Vector) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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