Reimplemented from Impala::Util::IOBuffer. Definition at line 217 of file IOBufferFile.h. References FTell(), mFile, mUseMemory, Impala::Util::IOBuffer::SetPositionAndSize(), and Impala::Core::Table::Write(). Referenced by Impala::Application::FileServer::AcceptRequest(), Impala::Application::DataServer::AcceptRequest(), and Impala::Util::FileCopyRemoteToLocal(). 00218 { 00219 if (mUseMemory) 00220 return IOBuffer::Write(buf, bytesToWrite); 00221 00222 fwrite(buf, 1, bytesToWrite, mFile); 00223 SetPositionAndSize(FTell(mFile)); 00224 }
Here is the call graph for this function:
|