Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

String Impala::Core::Database::RawDataSet::GetFilePathMetaData ( int  fileId,
String  metaName,
bool  useDbFile,
String  suffix,
bool  toWrite,
bool  silent 
) [inline]

Get a file in the DB_DIR/DB_FILE/metaName directory in MetaData.

metaName may be "" The file itself is named DB_FILEsuffix or suffix depending upon useDbFile

Definition at line 532 of file RawDataSet.h.

References GetAsPath(), GetFileBase(), Impala::Util::Database::GetFilePath(), MakeDir(), and mDb.

00534     {
00535         String dir = "MetaData/" + GetAsPath(fileId) + "/" + metaName;
00536         if (toWrite)
00537             MakeDir(dir);
00538         String fName = ((useDbFile) ? GetFileBase(fileId) : "") + suffix;
00539         return mDb->GetFilePath(dir, fName, toWrite, silent);
00540     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:18:58 2011 for ImpalaSrc by  doxygen 1.5.1