template<class NativeType>
Reimplemented from Impala::Util::IOBuffer. Definition at line 324 of file IOBufferFile.h. References Impala::Util::IOBuffer::DoNativeTypeRead(), FSeek(), FTell(), Impala::Util::IOBuffer::GetPosition(), mFile, mUseMemory, and SetPosition(). Referenced by NativeTypeRead(). 00325 { 00326 if (mUseMemory) 00327 return IOBuffer::DoNativeTypeRead(ptr); 00328 00329 String fs = NativeTypeFormat<NativeType>(0); 00330 FSeek(mFile, GetPosition(), SEEK_SET); 00331 fscanf(mFile, fs.c_str(), ptr); 00332 SetPosition(FTell(mFile)); 00333 }
Here is the call graph for this function:
|