Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
velox::vdfs Class Reference

#include <vdfs.hh>

Collaboration diagram for velox::vdfs:
Collaboration graph

Public Member Functions

 vdfs ()
 
 vdfs (vdfs &)
 
 ~vdfs ()
 
vdfsoperator= (vdfs &)
 
velox::file open (std::string)
 
long open_file (std::string)
 
bool close (long)
 
bool is_open (long)
 
velox::file upload (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 (std::string name, std::string host, char *buf, uint64_t boff, uint64_t, uint64_t)
 
model::metadata get_metadata (long fid, int type)
 
void append (std::string, std::string)
 
std::vector< model::metadatalist (bool all, std::string name="")
 
bool rename (std::string, std::string)
 

Protected Member Functions

std::string load (std::string)
 

Protected Attributes

DFSdfs
 

Constructor & Destructor Documentation

vdfs::vdfs ( )
vdfs::vdfs ( vdfs that)
vdfs::~vdfs ( )

Member Function Documentation

void vdfs::append ( std::string  name,
std::string  content 
)
bool vdfs::close ( long  fid)
bool vdfs::exists ( std::string  name)
bool vdfs::format ( )
model::metadata vdfs::get_metadata ( long  fid,
int  type = 0 
)
bool vdfs::is_open ( long  fid)
std::vector< model::metadata > vdfs::list ( bool  all,
std::string  name = "" 
)
std::string vdfs::load ( std::string  name)
protected
file vdfs::open ( std::string  name)
long vdfs::open_file ( std::string  fname)
vdfs & vdfs::operator= ( vdfs rhs)
uint32_t vdfs::read ( long  fid,
char *  buf,
uint64_t  off,
uint64_t  len 
)
uint32_t vdfs::read_chunk ( std::string  name,
std::string  host,
char *  buf,
uint64_t  boff,
uint64_t  off,
uint64_t  len 
)
bool vdfs::rename ( std::string  src,
std::string  dst 
)
bool vdfs::rm ( std::string  name)
bool vdfs::rm ( long  fid)
file vdfs::upload ( std::string  name)
uint32_t vdfs::write ( long  fid,
const char *  buf,
uint32_t  off,
uint32_t  len 
)
uint32_t vdfs::write ( long  fid,
const char *  buf,
uint32_t  off,
uint32_t  len,
uint64_t  block_size 
)

Member Data Documentation

DFS* velox::vdfs::dfs
protected

The documentation for this class was generated from the following files: