template<class NativeType>
Reimplemented from Impala::Util::IOBuffer. Definition at line 383 of file IOBufferFile.h. References Impala::Util::IOBuffer::DoNativeTypeRead(), FSeek(), FTell(), Impala::Util::IOBuffer::GetPosition(), mFile, mUseMemory, and SetPosition(). Referenced by NativeTypeRead(). 00384 { 00385 if (mUseMemory) 00386 return IOBuffer::DoNativeTypeRead(ptr); 00387 00388 String fs = NativeTypeFormat<NativeType>(0); 00389 FSeek(mFile, GetPosition(), SEEK_SET); 00390 fscanf(mFile, fs.c_str(), ptr); 00391 SetPosition(FTell(mFile)); 00392 }
Here is the call graph for this function: ![]()
|