memoryx::CommonStorageInterface
Overview
interface CommonStorageInterface
Operation Index
- getMongoHostAndPort
-
- getDBNames
-
- getCollectionNames
-
- isConnected
-
- reconnect
-
- authDB
-
- requestDatabase
-
- releaseDatabase
-
- requestCollection
-
- releaseCollection
-
- dropCollection
-
- storeFile
-
- storeTextFile
-
- storeBinaryFile
-
- getFileProxyById
-
- getFileProxyByName
-
- releaseFileProxy
-
- getTextFileById
-
- getBinaryFileById
-
- getTextFileByName
-
- getBinaryFileByName
-
- removeFileById
-
- removeFileByName
-
- getFileNameList
-
- getFileIdList
-
Operations
string getMongoHostAndPort()
NameList getCollectionNames(string dbName)
bool isConnected()
bool reconnect(string hostAndPort, string userName, string password)
bool authDB(string dbName, string userName, string password)
string storeFile(string dbName, string fileName, string gridFSName) throws FileNotFoundException
string storeTextFile(string dbName, string bufferToStore, string gridFSName)
string storeBinaryFile(string dbName, Blob bufferToStore, string gridFSName)
GridFileInterface* getFileProxyById(string dbName, string fileId)
GridFileInterface* getFileProxyByName(string dbName, string gridFSName)
bool getTextFileById(string dbName, string fileId, out string buffer)
bool getBinaryFileById(string dbName, string fileId, out Blob buffer)
bool getTextFileByName(string dbName, string gridFSName, out string buffer)
bool getBinaryFileByName(string dbName, string gridFSName, out Blob buffer)
bool removeFileById(string dbName, string fileId)
bool removeFileByName(string dbName, string gridFSName)
NameList getFileNameList(string dbName)
NameList getFileIdList(string dbName)