kv

package
v0.0.0-...-c6ab6ab Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KVStore

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

func NewKVStore

func NewKVStore() *KVStore

func (*KVStore) Clear

func (s *KVStore) Clear() error

func (*KVStore) GetHashIterator

func (s *KVStore) GetHashIterator(bucketName string) (store.Iterator, error)

func (*KVStore) GetVector

func (s *KVStore) GetVector(id string) ([]float64, error)

func (*KVStore) SetHash

func (s *KVStore) SetHash(bucketName, vecId string) error

func (*KVStore) SetVector

func (s *KVStore) SetVector(id string, vec []float64) error

type KeysIterator

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

func (*KeysIterator) Next

func (it *KeysIterator) Next() (string, bool)

Jump to

Keyboard shortcuts

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