C++ SDK Documentation  12.0.0
Vertica::UDFileSystem Class Referenceabstract
Collaboration diagram for Vertica::UDFileSystem:
Collaboration graph

Public Member Functions

virtual std::string canonicalizePath (const std::string &path) const
 
virtual void close (UDFileOperator *udfo) const =0
 
virtual void copy (const char *srcpath, const char *dstpath) const =0
 
virtual void copyFrom (const std::string &srcpath, const std::string &destpath, size_t bufsize, size_t srcsize=INVALID_UINT64) const =0
 
virtual bool deleteSnapshot (const std::string &snapshot_handle) const
 
virtual std::string getDescription () const
 
virtual std::string getDisplayName () const
 
virtual std::string getEncodedURI (const char *path) const
 
virtual std::string getFanoutDirectory (uint64_t id) const
 
virtual uint32 getSlowRequestThreshold () const
 
virtual UDFileSystemStatsgetStats () const
 
virtual std::string getURIEncodedStr (const char *str) const
 
virtual bool isFanoutDirectory (const std::string &fileName) const
 
virtual void link (const char *oldpath, const char *newpath) const
 
virtual void listFiles (const char *path, std::vector< std::string > &result) const =0
 
virtual void listStat (const char *dir, std::vector< NameStatPair > &result) const
 
virtual void mkdirs (const char *path, mode_t mode) const =0
 
virtual UDFileOperatoropen () const =0
 
virtual UDFileOperatoropen (const char *path, int flags, mode_t mode, const OpenOptions &options=OpenOptions()) const =0
 
virtual size_t readBufferSizeHint () const
 
virtual void remove (const char *path) const =0
 
virtual void rename (const char *oldpath, const char *newpath) const =0
 
virtual bool restoreSnapshot (const std::string &snapshot_handle, const std::string &path) const
 
virtual void rmdir (const char *path) const =0
 
virtual void rmdirRecursive (const char *path) const =0
 
virtual void setTempPath (const std::string &path)
 
virtual bool snapshotDirectory (const std::string &path, std::string &snapshot_handle) const
 
virtual void stat (const char *path, struct::stat *buf) const =0
 
virtual void statvfs (const char *path, struct::statvfs *buf) const =0
 
virtual bool supportsAtomicReplacement () const
 
virtual bool supportsBatchRemove () const
 
virtual bool supportsDirectories () const
 
virtual bool supportsDirectorySnapshots () const
 
virtual void symlink (const char *oldpath, const char *newpath) const
 
virtual void truncate (const char *path, off_t length) const
 
virtual void unmount ()
 
virtual bool validatePath (const std::string &path) const
 

Static Public Attributes

static const size_t UDFS_DEFAULT_READ_SIZE_HINT = 1024 * 1024