batch

package
v0.0.0-...-df06595 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

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

Batch represents a part of a relationship

(vecs)  - columns

func New

func New(n int, fs vfs.FS) *Batch

func (*Batch) Append

func (bat *Batch) Append(ibat *Batch)

func (*Batch) Dup

func (bat *Batch) Dup() *Batch

func (*Batch) GetVector

func (bat *Batch) GetVector(pos int) *vector.Vector

func (*Batch) GetVectorPosition

func (bat *Batch) GetVectorPosition(vec *vector.Vector) int

func (*Batch) MarshalBinary

func (bat *Batch) MarshalBinary() ([]byte, error)

func (*Batch) Reset

func (bat *Batch) Reset()

func (*Batch) Rows

func (bat *Batch) Rows() int

func (*Batch) SchemaEqual

func (bat *Batch) SchemaEqual(ibat *Batch) bool

func (*Batch) SetRows

func (bat *Batch) SetRows(rows int)

func (*Batch) SetVector

func (bat *Batch) SetVector(pos int, vec *vector.Vector)

func (*Batch) Shrink

func (bat *Batch) Shrink(sels []uint32)

func (*Batch) String

func (bat *Batch) String() string

func (*Batch) UnmarshalBinary

func (bat *Batch) UnmarshalBinary(data []byte) error

func (*Batch) VectorCount

func (bat *Batch) VectorCount() int

Jump to

Keyboard shortcuts

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