#include <vdfs.hh>
|
| | vdfs (std::string job_id, int tid, bool initializer) |
| |
| | vdfs (vdfs &) |
| |
| | ~vdfs () |
| |
| vdfs & | operator= (vdfs &) |
| |
| velox::file | open (std::string) |
| |
| long | open_file (std::string) |
| |
| bool | close (long) |
| |
| bool | is_open (long) |
| |
| velox::file | upload (std::string) |
| |
| velox::file | upload_idv (std::string) |
| |
| bool | rm (std::string) |
| |
| bool | rm (long) |
| |
| bool | format () |
| |
| bool | exists (std::string) |
| |
| uint32_t | write (long, const char *, uint32_t, uint32_t) |
| |
| uint32_t | write (long, const char *, uint32_t, uint32_t, uint64_t) |
| |
| uint32_t | read (long, char *, uint64_t, uint64_t) |
| |
| uint32_t | read_chunk (char *buf, uint32_t boff) |
| |
| model::metadata | get_metadata (long fid, int type) |
| |
| void | append (std::string, std::string) |
| |
| std::vector< model::metadata > | list (bool all, std::string name="") |
| |
| bool | rename (std::string, std::string) |
| |
| velox::file | write_file (std::string, const std::string &, uint64_t) |
| |
| int | get_tmg_id () |
| |
|
| std::string | load (std::string) |
| |
◆ vdfs() [1/2]
| vdfs::vdfs |
( |
std::string |
job_id, |
|
|
int |
tid, |
|
|
bool |
initializer |
|
) |
| |
◆ vdfs() [2/2]
| vdfs::vdfs |
( |
vdfs & |
that | ) |
|
◆ ~vdfs()
◆ append()
| void vdfs::append |
( |
std::string |
name, |
|
|
std::string |
content |
|
) |
| |
◆ close()
| bool vdfs::close |
( |
long |
fid | ) |
|
◆ exists()
| bool vdfs::exists |
( |
std::string |
name | ) |
|
◆ format()
◆ get_metadata()
◆ get_tmg_id()
◆ is_open()
| bool vdfs::is_open |
( |
long |
fid | ) |
|
◆ list()
| std::vector< model::metadata > vdfs::list |
( |
bool |
all, |
|
|
std::string |
name = "" |
|
) |
| |
◆ load()
| std::string vdfs::load |
( |
std::string |
name | ) |
|
|
protected |
◆ open()
| file vdfs::open |
( |
std::string |
name | ) |
|
◆ open_file()
| long vdfs::open_file |
( |
std::string |
fname | ) |
|
◆ operator=()
◆ read()
| uint32_t vdfs::read |
( |
long |
fid, |
|
|
char * |
buf, |
|
|
uint64_t |
off, |
|
|
uint64_t |
len |
|
) |
| |
◆ read_chunk()
| uint32_t vdfs::read_chunk |
( |
char * |
buf, |
|
|
uint32_t |
boff |
|
) |
| |
◆ rename()
| bool vdfs::rename |
( |
std::string |
src, |
|
|
std::string |
dst |
|
) |
| |
◆ rm() [1/2]
| bool vdfs::rm |
( |
long |
fid | ) |
|
◆ rm() [2/2]
| bool vdfs::rm |
( |
std::string |
name | ) |
|
◆ upload()
| file vdfs::upload |
( |
std::string |
name | ) |
|
◆ upload_idv()
| file vdfs::upload_idv |
( |
std::string |
name | ) |
|
◆ write() [1/2]
| uint32_t vdfs::write |
( |
long |
fid, |
|
|
const char * |
buf, |
|
|
uint32_t |
off, |
|
|
uint32_t |
len |
|
) |
| |
◆ write() [2/2]
| uint32_t vdfs::write |
( |
long |
fid, |
|
|
const char * |
buf, |
|
|
uint32_t |
off, |
|
|
uint32_t |
len, |
|
|
uint64_t |
block_size |
|
) |
| |
◆ write_file()
| file vdfs::write_file |
( |
std::string |
name, |
|
|
const std::string & |
buf, |
|
|
uint64_t |
len |
|
) |
| |
◆ dfs
◆ initializer
| bool velox::vdfs::initializer |
◆ job_id
| std::string velox::vdfs::job_id |
◆ tmg_id
The documentation for this class was generated from the following files:
- /home/runner/work/VeloxDFS/VeloxDFS/src/client/vdfs.hh
- /home/runner/work/VeloxDFS/VeloxDFS/src/client/vdfs.cc