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: ![]()
|