leveldb

package
v0.0.0-...-935c85c Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LevelDB2Store

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

func (*LevelDB2Store) BeginTransaction

func (store *LevelDB2Store) BeginTransaction(ctx context.Context) (context.Context, error)

func (*LevelDB2Store) CommitTransaction

func (store *LevelDB2Store) CommitTransaction(ctx context.Context) error

func (*LevelDB2Store) DeleteEntry

func (store *LevelDB2Store) DeleteEntry(ctx context.Context, fullpath weed_util.FullPath) (err error)

func (*LevelDB2Store) DeleteFolderChildren

func (store *LevelDB2Store) DeleteFolderChildren(ctx context.Context, fullpath weed_util.FullPath) (err error)

func (*LevelDB2Store) FindEntry

func (store *LevelDB2Store) FindEntry(ctx context.Context, fullpath weed_util.FullPath) (entry *filer.Entry, err error)

func (*LevelDB2Store) GetName

func (store *LevelDB2Store) GetName() string

func (*LevelDB2Store) Initialize

func (store *LevelDB2Store) Initialize(configuration weed_util.Configuration, prefix string) (err error)

func (*LevelDB2Store) InsertEntry

func (store *LevelDB2Store) InsertEntry(ctx context.Context, entry *filer.Entry) (err error)

func (*LevelDB2Store) KvDelete

func (store *LevelDB2Store) KvDelete(ctx context.Context, key []byte) (err error)

func (*LevelDB2Store) KvGet

func (store *LevelDB2Store) KvGet(ctx context.Context, key []byte) (value []byte, err error)

func (*LevelDB2Store) KvPut

func (store *LevelDB2Store) KvPut(ctx context.Context, key []byte, value []byte) (err error)

func (*LevelDB2Store) ListDirectoryEntries

func (store *LevelDB2Store) ListDirectoryEntries(ctx context.Context, fullpath weed_util.FullPath, startFileName string, inclusive bool,
	limit int) (entries []*filer.Entry, err error)

func (*LevelDB2Store) ListDirectoryPrefixedEntries

func (store *LevelDB2Store) ListDirectoryPrefixedEntries(ctx context.Context, fullpath weed_util.FullPath, startFileName string, inclusive bool, limit int, prefix string) (entries []*filer.Entry, err error)

func (*LevelDB2Store) RollbackTransaction

func (store *LevelDB2Store) RollbackTransaction(ctx context.Context) error

func (*LevelDB2Store) Shutdown

func (store *LevelDB2Store) Shutdown()

func (*LevelDB2Store) UpdateEntry

func (store *LevelDB2Store) UpdateEntry(ctx context.Context, entry *filer.Entry) (err error)

Jump to

Keyboard shortcuts

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