#include <Database.h>
Collaboration diagram for Impala::Util::Database:
Public Member Functions | |
Database () | |
Database (String setName) | |
void | SetDataPath (String data) |
String | GetDataPath () |
void | SetOverride (bool override) |
String | MakeDir (CString dir) |
String | MakeDir (CString dir1, CString dir2) |
String | MakeDir (CString dir1, CString dir2, CString dir3) |
String | MakeDir (CString dir1, CString dir2, CString dir3, CString dir4) |
String | MakeDir (CString dir1, CString dir2, CString dir3, CString dir4, CString dir5) |
String | GetFilePath (CString file, bool toWrite, bool silent) |
String | GetFilePath (CString dir, CString file, bool toWrite, bool silent) |
String | GetFilePath (CString dir1, CString dir2, CString file, bool toWrite, bool silent) |
String | GetFilePath (CString dir1, CString dir2, CString dir3, CString file, bool toWrite, bool silent) |
String | GetFilePath (CString dir1, CString dir2, CString dir3, CString dir4, CString file, bool toWrite, bool silent) |
String | GetFilePath (CString dir1, CString dir2, CString dir3, CString dir4, CString dir5, CString file, bool toWrite, bool silent) |
IOBuffer * | GetIOBuffer (CString fileName, bool readMode, bool useMemoryIfLocal, String useLocalFileIfRemote, Int64 useLocalSizeIfRemote=0, bool useIOBufferChannel=false) |
Obtain an IOBuffer to read/write the given fileName. | |
Channel * | GetDataChannel () |
void | Dump () const |
Static Public Member Functions | |
static Database & | GetInstance () |
Private Member Functions | |
void | Init (String setName) |
void | DoMkDir (CString dir) |
String | DoMkDirPath (CString dir) |
String | DoMkDirPathLocal (CString dirWithBackSlashes) |
String | DoMkDirPathServer (CString dir) |
String | GetReadableFile (StringListCI begin, StringListCI end, CString file, bool silent) |
String | GetReadableFileLocal (StringListCI begin, StringListCI end, CString file, bool silent) |
String | GetReadableFileServer (CString file, bool silent) |
String | GetWritableFile (StringListCI begin, StringListCI end, CString file, bool silent) |
String | GetWritableFileLocal (StringListCI begin, StringListCI end, CString file, bool silent) |
String | GetWritableFileServer (CString file, bool silent) |
String | ConcatDir (CString dir, CString subDir) |
Private Attributes | |
bool | mOverride |
String | mDataString |
StringList | mData |
String | mDataServer |
Channel * | mDataChannel |
ILOG_VAR_DEC |
Definition at line 28 of file Database.h.