index

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

View Source
var (
	ErrNotSupported = moerr.NewNotSupportedNoCtx("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