indexes

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRecordExists = errors.New("simd: record with passed id already exists")
)

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Println(...interface{})
}

type NamespaceWithIndexes

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

func CreateNamespace

func CreateNamespace() *NamespaceWithIndexes

func (*NamespaceWithIndexes) AddIndex

func (ns *NamespaceWithIndexes) AddIndex(index *bytype.Index)

func (*NamespaceWithIndexes) Delete

func (ns *NamespaceWithIndexes) Delete(id int64) error

func (*NamespaceWithIndexes) Get

func (*NamespaceWithIndexes) Insert

func (ns *NamespaceWithIndexes) Insert(item record.Record) error

func (*NamespaceWithIndexes) SelectForExecutor

func (ns *NamespaceWithIndexes) SelectForExecutor(conditions where.Conditions) ([]record.Record, error)

func (*NamespaceWithIndexes) SetLogger

func (ns *NamespaceWithIndexes) SetLogger(logger Logger)

func (*NamespaceWithIndexes) Upsert

func (ns *NamespaceWithIndexes) Upsert(item record.Record) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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