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

IOBuffer* Impala::Persistency::File::GetWriteBuffer ( bool  useMemoryIfLocal,
String  useLocalFileIfRemote,
Int64  useLocalSizeIfRemote = 0,
bool  useIOBufferChannel = false 
) [inline]

Definition at line 242 of file File.h.

References Impala::Persistency::FileSystem::GetIOBuffer(), GetPath(), ILOG_ERROR, IsWritable(), mFileSystem, and Valid().

00245     {
00246         if (!Valid())
00247         {
00248             ILOG_ERROR("Can't get write buffer for invalid file");
00249             return 0;
00250         }
00251         if (!IsWritable())
00252         {
00253             ILOG_ERROR("Can't get write buffer for non-writable file");
00254             return 0;
00255         }
00256         return mFileSystem->GetIOBuffer(GetPath(), false, useMemoryIfLocal,
00257                                         useLocalFileIfRemote,
00258                                         useLocalSizeIfRemote,
00259                                         useIOBufferChannel);
00260     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:51 2011 for ImpalaSrc by  doxygen 1.5.1