index

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSchemaIndex

func GetSchemaIndex(schema record.Schemas, oid uint32, IList []string) []int

Types

type IndexWriter

type IndexWriter interface {
	Open() error
	Close() error
	CreateAttachIndex(writeRec *record.Record, schemaIdx, rowsPerSegment []int) error
	CreateDetachIndex(writeRec *record.Record, schemaIdx, rowsPerSegment []int, dataBuf [][]byte) ([][]byte, []string)
}

func NewIndexWriter

func NewIndexWriter(dir, msName, dataFilePath, lockPath string, indexType indextype.IndexType, tokens string) IndexWriter

type IndexWriterBuilder

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

func NewIndexWriterBuilder

func NewIndexWriterBuilder() *IndexWriterBuilder

func (*IndexWriterBuilder) GetBfFirstSchemaIdx

func (s *IndexWriterBuilder) GetBfFirstSchemaIdx() int

func (*IndexWriterBuilder) GetBfIdx

func (s *IndexWriterBuilder) GetBfIdx() int

GetBfIdx get idx in schemaIdxes if bloom filter index exist bfIdx >= 0

func (*IndexWriterBuilder) GetFullTextIdx

func (s *IndexWriterBuilder) GetFullTextIdx() int

GetFullTextIdx get idx in schemaIdxes if full text index exist fullTextIdx >= 0

func (*IndexWriterBuilder) GetSchemaIdxes

func (s *IndexWriterBuilder) GetSchemaIdxes() [][]int

func (*IndexWriterBuilder) GetSkipIndexWriters

func (s *IndexWriterBuilder) GetSkipIndexWriters() []IndexWriter

func (*IndexWriterBuilder) NewIndexWriters

func (s *IndexWriterBuilder) NewIndexWriters(dir, msName, dataFilePath, lockPath string, schema record.Schemas,
	indexRelation influxql.IndexRelation)

Directories

Path Synopsis
nolint
nolint

Jump to

Keyboard shortcuts

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