63 uint32_t
write(
long,
const char*, uint32_t, uint32_t);
64 uint32_t
write(
long,
const char*, uint32_t, uint32_t, uint64_t);
65 uint32_t
read(
long,
char*, uint64_t, uint64_t);
66 uint32_t
read_chunk(std::string name, std::string host,
char *buf, uint64_t boff, uint64_t , uint64_t);
70 void append(std::string, std::string);
72 std::vector<model::metadata>
list(
bool all, std::string name =
"");
74 bool rename(std::string, std::string);
78 std::string
load(std::string);
82 std::vector<velox::file>* opened_files;
bool close(long)
Definition: vdfs.cc:176
bool rm(std::string)
Definition: vdfs.cc:230
uint32_t read_chunk(std::string name, std::string host, char *buf, uint64_t boff, uint64_t, uint64_t)
Definition: vdfs.cc:332
std::string get_name()
Definition: vdfs.cc:85
std::vector< model::metadata > list(bool all, std::string name="")
Definition: vdfs.cc:306
~vdfs()
Definition: vdfs.cc:117
vdfs()
Definition: vdfs.cc:100
DFS * dfs
Definition: vdfs.hh:77
void open()
Definition: vdfs.cc:65
velox::file upload(std::string)
Definition: vdfs.cc:211
model::metadata get_metadata(long fid, int type)
Definition: vdfs.cc:297
std::string load(std::string)
Definition: vdfs.cc:224
long get_size()
Definition: vdfs.cc:90
long get_id()
Definition: vdfs.cc:80
bool rename(std::string, std::string)
Definition: vdfs.cc:327
bool is_open(long)
Definition: vdfs.cc:200
long open_file(std::string)
Definition: vdfs.cc:170
velox::file open(std::string)
Definition: vdfs.cc:146
vdfs & operator=(vdfs &)
Definition: vdfs.cc:129
bool exists(std::string)
Definition: vdfs.cc:249
void close()
Definition: vdfs.cc:70
bool format()
Definition: vdfs.cc:243
void append(std::string)
Definition: vdfs.cc:55
file & operator=(const file &)
Definition: vdfs.cc:45
bool is_open()
Definition: vdfs.cc:75
uint32_t write(long, const char *, uint32_t, uint32_t)
Definition: vdfs.cc:257
file(vdfs *, std::string)
Definition: vdfs.cc:15
void append(std::string, std::string)
Definition: vdfs.cc:218
uint32_t read(long, char *, uint64_t, uint64_t)
Definition: vdfs.cc:275