binlog

package
v0.0.0-...-34e0b2d Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewL0Reader

func NewL0Reader(ctx context.Context,
	cm storage.ChunkManager,
	pkField *schemapb.FieldSchema,
	importFile *internalpb.ImportFile,
	bufferSize int,
) (*l0Reader, error)

func NewReader

func NewReader(ctx context.Context,
	cm storage.ChunkManager,
	schema *schemapb.CollectionSchema,
	paths []string,
	tsStart,
	tsEnd uint64,
) (*reader, error)

Types

type Filter

type Filter func(row map[int64]interface{}) bool

func FilterWithDelete

func FilterWithDelete(r *reader) (Filter, error)

func FilterWithTimeRange

func FilterWithTimeRange(tsStart, tsEnd uint64) Filter

type L0Reader

type L0Reader interface {
	Read() (*storage.DeleteData, error)
}

Jump to

Keyboard shortcuts

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