Browse Source

cassandra_store still can not support directory listing

pull/254/head
zhaozhi 10 years ago
parent
commit
e2dd8974fc
  1. 19
      go/filer/cassandra_store/cassandra_store.go

19
go/filer/cassandra_store/cassandra_store.go

@ -3,6 +3,8 @@ package cassandra_store
import (
"fmt"
"github.com/chrislusf/seaweedfs/go/filer"
"github.com/chrislusf/seaweedfs/go/filer/flat_namespace"
"github.com/chrislusf/seaweedfs/go/glog"
"github.com/gocql/gocql"
@ -85,3 +87,20 @@ func (c *CassandraStore) Close() {
c.session.Close()
}
}
func (c *CassandraStore) FindDirectory(dirPath string) (dirId filer.DirectoryId, err error) {
return 0, flat_namespace.ErrNotImplemented
}
func (c *CassandraStore) ListDirectories(dirPath string) (dirs []filer.DirectoryEntry, err error) {
return nil, flat_namespace.ErrNotImplemented
}
func (c *CassandraStore) ListFiles(dirPath string, lastFileName string, limit int) (files []filer.FileEntry, err error) {
return nil, flat_namespace.ErrNotImplemented
}
func (c *CassandraStore) DeleteDirectory(dirPath string, recursive bool) (err error) {
return flat_namespace.ErrNotImplemented
}
func (c *CassandraStore) Move(fromPath string, toPath string) error {
return flat_namespace.ErrNotImplemented
}
Loading…
Cancel
Save