filer store adds kv support

can compile now, need to implement those unimplemented
This commit is contained in:
Chris Lu
2020-09-01 21:58:57 -07:00
parent e82217f95f
commit 37234bf3f8
10 changed files with 299 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
package cassandra
import (
"context"
"github.com/chrislusf/seaweedfs/weed/filer"
)
func (store *CassandraStore) KvPut(ctx context.Context, key []byte, value []byte) (err error) {
return filer.ErrKvNotImplemented
}
func (store *CassandraStore) KvGet(ctx context.Context, key []byte) (value []byte, err error) {
return nil, filer.ErrKvNotImplemented
}
func (store *CassandraStore) KvDelete(ctx context.Context, key []byte) (err error) {
return filer.ErrKvNotImplemented
}