You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Checkpointing some stuff. No way it'll build yet.
This commit is contained in:
35
utils/cloudio/SMFileSystem.h
Normal file
35
utils/cloudio/SMFileSystem.h
Normal file
@ -0,0 +1,35 @@
|
||||
# copy licensing stuff here
|
||||
|
||||
|
||||
#ifndef SMFILESYSTEM_H_
|
||||
#define SMFILESYSTEM_H_
|
||||
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include <boost/utility.hpp>
|
||||
#include "IDBFileSystem.h"
|
||||
|
||||
namespace idbdatafile
|
||||
{
|
||||
|
||||
class SMFileSystem : public IDBFileSystem, boost::noncopyable
|
||||
{
|
||||
public:
|
||||
SMFileSystem();
|
||||
virtual ~SMFileSystem();
|
||||
|
||||
int mkdir(const char* pathname);
|
||||
off64_t size(const char* path) const;
|
||||
off64_t compressedSize(const char* path) const;
|
||||
int remove(const char* pathname);
|
||||
int rename(const char* oldpath, const char* newpath);
|
||||
bool exists(const char* pathname) const;
|
||||
int listDirectory(const char* pathname, std::list<std::string>& contents) const;
|
||||
bool isDir(const char* pathname) const;
|
||||
int copyFile(const char* srcPath, const char* destPath) const;
|
||||
bool filesystemIsUp() const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user