Documentation ¶
Index ¶
- Constants
- type LevelDBStore
- func (store *LevelDBStore) BeginTransaction(ctx context.Context) (context.Context, error)
- func (store *LevelDBStore) CommitTransaction(ctx context.Context) error
- func (store *LevelDBStore) Debug(writer io.Writer)
- func (store *LevelDBStore) DeleteEntry(ctx context.Context, fullpath weed_util.FullPath) (err error)
- func (store *LevelDBStore) DeleteFolderChildren(ctx context.Context, fullpath weed_util.FullPath) (err error)
- func (store *LevelDBStore) FindEntry(ctx context.Context, fullpath weed_util.FullPath) (entry *filer.Entry, err error)
- func (store *LevelDBStore) GetName() string
- func (store *LevelDBStore) Initialize(configuration weed_util.Configuration, prefix string) (err error)
- func (store *LevelDBStore) InsertEntry(ctx context.Context, entry *filer.Entry) (err error)
- func (store *LevelDBStore) KvDelete(ctx context.Context, key []byte) (err error)
- func (store *LevelDBStore) KvGet(ctx context.Context, key []byte) (value []byte, err error)
- func (store *LevelDBStore) KvPut(ctx context.Context, key []byte, value []byte) (err error)
- func (store *LevelDBStore) ListDirectoryEntries(ctx context.Context, dirPath weed_util.FullPath, startFileName string, ...) (lastFileName string, err error)
- func (store *LevelDBStore) ListDirectoryPrefixedEntries(ctx context.Context, dirPath weed_util.FullPath, startFileName string, ...) (lastFileName string, err error)
- func (store *LevelDBStore) RollbackTransaction(ctx context.Context) error
- func (store *LevelDBStore) Shutdown()
- func (store *LevelDBStore) UpdateEntry(ctx context.Context, entry *filer.Entry) (err error)
Constants ¶
View Source
const (
DIR_FILE_SEPARATOR = byte(0x00)
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LevelDBStore ¶
type LevelDBStore struct {
// contains filtered or unexported fields
}
func (*LevelDBStore) BeginTransaction ¶
func (*LevelDBStore) CommitTransaction ¶
func (store *LevelDBStore) CommitTransaction(ctx context.Context) error
func (*LevelDBStore) Debug ¶
func (store *LevelDBStore) Debug(writer io.Writer)
func (*LevelDBStore) DeleteEntry ¶
func (*LevelDBStore) DeleteFolderChildren ¶
func (*LevelDBStore) GetName ¶
func (store *LevelDBStore) GetName() string
func (*LevelDBStore) Initialize ¶
func (store *LevelDBStore) Initialize(configuration weed_util.Configuration, prefix string) (err error)
func (*LevelDBStore) InsertEntry ¶
func (*LevelDBStore) KvDelete ¶
func (store *LevelDBStore) KvDelete(ctx context.Context, key []byte) (err error)
func (*LevelDBStore) ListDirectoryEntries ¶
func (*LevelDBStore) ListDirectoryPrefixedEntries ¶
func (*LevelDBStore) RollbackTransaction ¶
func (store *LevelDBStore) RollbackTransaction(ctx context.Context) error
func (*LevelDBStore) Shutdown ¶
func (store *LevelDBStore) Shutdown()
func (*LevelDBStore) UpdateEntry ¶
Click to show internal directories.
Click to hide internal directories.