Documentation ¶
Index ¶
- type LevelDB2Store
- func (store *LevelDB2Store) BeginTransaction(ctx context.Context) (context.Context, error)
- func (store *LevelDB2Store) CommitTransaction(ctx context.Context) error
- func (store *LevelDB2Store) DeleteEntry(ctx context.Context, fullpath weed_util.FullPath) (err error)
- func (store *LevelDB2Store) DeleteFolderChildren(ctx context.Context, fullpath weed_util.FullPath) (err error)
- func (store *LevelDB2Store) FindEntry(ctx context.Context, fullpath weed_util.FullPath) (entry *filer.Entry, err error)
- func (store *LevelDB2Store) GetName() string
- func (store *LevelDB2Store) Initialize(configuration weed_util.Configuration, prefix string) (err error)
- func (store *LevelDB2Store) InsertEntry(ctx context.Context, entry *filer.Entry) (err error)
- func (store *LevelDB2Store) KvDelete(ctx context.Context, key []byte) (err error)
- func (store *LevelDB2Store) KvGet(ctx context.Context, key []byte) (value []byte, err error)
- func (store *LevelDB2Store) KvPut(ctx context.Context, key []byte, value []byte) (err error)
- func (store *LevelDB2Store) ListDirectoryEntries(ctx context.Context, fullpath weed_util.FullPath, startFileName string, ...) (entries []*filer.Entry, err error)
- func (store *LevelDB2Store) ListDirectoryPrefixedEntries(ctx context.Context, fullpath weed_util.FullPath, startFileName string, ...) (entries []*filer.Entry, err error)
- func (store *LevelDB2Store) RollbackTransaction(ctx context.Context) error
- func (store *LevelDB2Store) Shutdown()
- func (store *LevelDB2Store) UpdateEntry(ctx context.Context, entry *filer.Entry) (err error)
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 (*LevelDB2Store) CommitTransaction ¶
func (store *LevelDB2Store) CommitTransaction(ctx context.Context) error
func (*LevelDB2Store) DeleteEntry ¶
func (*LevelDB2Store) DeleteFolderChildren ¶
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 (*LevelDB2Store) KvDelete ¶
func (store *LevelDB2Store) KvDelete(ctx context.Context, key []byte) (err error)
func (*LevelDB2Store) ListDirectoryEntries ¶
func (*LevelDB2Store) ListDirectoryPrefixedEntries ¶
func (*LevelDB2Store) RollbackTransaction ¶
func (store *LevelDB2Store) RollbackTransaction(ctx context.Context) error
func (*LevelDB2Store) Shutdown ¶
func (store *LevelDB2Store) Shutdown()
func (*LevelDB2Store) UpdateEntry ¶
Click to show internal directories.
Click to hide internal directories.