Documentation ¶
Index ¶
- Variables
- type ArangodbStore
- func (store *ArangodbStore) BeginTransaction(ctx context.Context) (context.Context, error)
- func (store *ArangodbStore) CanDropWholeBucket() bool
- func (store *ArangodbStore) CommitTransaction(ctx context.Context) error
- func (store *ArangodbStore) DeleteEntry(ctx context.Context, fullpath util.FullPath) (err error)
- func (store *ArangodbStore) DeleteFolderChildren(ctx context.Context, fullpath util.FullPath) (err error)
- func (store *ArangodbStore) FindEntry(ctx context.Context, fullpath util.FullPath) (entry *filer.Entry, err error)
- func (store *ArangodbStore) GetName() string
- func (store *ArangodbStore) Initialize(configuration util.Configuration, prefix string) (err error)
- func (store *ArangodbStore) InsertEntry(ctx context.Context, entry *filer.Entry) (err error)
- func (store *ArangodbStore) KvDelete(ctx context.Context, key []byte) (err error)
- func (store *ArangodbStore) KvGet(ctx context.Context, key []byte) (value []byte, err error)
- func (store *ArangodbStore) KvPut(ctx context.Context, key []byte, value []byte) (err error)
- func (store *ArangodbStore) ListDirectoryEntries(ctx context.Context, dirPath util.FullPath, startFileName string, ...) (lastFileName string, err error)
- func (store *ArangodbStore) ListDirectoryPrefixedEntries(ctx context.Context, dirPath util.FullPath, startFileName string, ...) (lastFileName string, err error)
- func (store *ArangodbStore) OnBucketCreation(bucket string)
- func (store *ArangodbStore) OnBucketDeletion(bucket string)
- func (store *ArangodbStore) RollbackTransaction(ctx context.Context) error
- func (store *ArangodbStore) Shutdown()
- func (store *ArangodbStore) UpdateEntry(ctx context.Context, entry *filer.Entry) (err error)
- type Model
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BUCKET_PREFIX = "/buckets" DEFAULT_COLLECTION = "seaweed_no_bucket" KVMETA_COLLECTION = "seaweed_kvmeta" )
Functions ¶
This section is empty.
Types ¶
type ArangodbStore ¶
type ArangodbStore struct {
// contains filtered or unexported fields
}
func (*ArangodbStore) BeginTransaction ¶
func (*ArangodbStore) CanDropWholeBucket ¶
func (store *ArangodbStore) CanDropWholeBucket() bool
func (*ArangodbStore) CommitTransaction ¶
func (store *ArangodbStore) CommitTransaction(ctx context.Context) error
func (*ArangodbStore) DeleteEntry ¶
func (*ArangodbStore) DeleteFolderChildren ¶
func (store *ArangodbStore) DeleteFolderChildren(ctx context.Context, fullpath util.FullPath) (err error)
this runs in log time
func (*ArangodbStore) GetName ¶
func (store *ArangodbStore) GetName() string
func (*ArangodbStore) Initialize ¶
func (store *ArangodbStore) Initialize(configuration util.Configuration, prefix string) (err error)
func (*ArangodbStore) InsertEntry ¶
func (*ArangodbStore) KvDelete ¶
func (store *ArangodbStore) KvDelete(ctx context.Context, key []byte) (err error)
func (*ArangodbStore) ListDirectoryEntries ¶
func (*ArangodbStore) ListDirectoryPrefixedEntries ¶
func (*ArangodbStore) OnBucketCreation ¶
func (store *ArangodbStore) OnBucketCreation(bucket string)
func (*ArangodbStore) OnBucketDeletion ¶
func (store *ArangodbStore) OnBucketDeletion(bucket string)
func (*ArangodbStore) RollbackTransaction ¶
func (store *ArangodbStore) RollbackTransaction(ctx context.Context) error
func (*ArangodbStore) Shutdown ¶
func (store *ArangodbStore) Shutdown()
func (*ArangodbStore) UpdateEntry ¶
Click to show internal directories.
Click to hide internal directories.