template<class NativeType>
Reimplemented in Impala::Util::IOBufferChannel, and Impala::Util::IOBufferFile. Definition at line 506 of file IOBuffer.h. References Write(). Referenced by NativeTypeWrite(). 00507 { 00508 String fs = NativeTypeFormat<NativeType>(0) + " "; 00509 char buf[1024]; 00510 sprintf(buf, fs.c_str(), val); 00511 Int64 i = 0; 00512 while (buf[i] != ' ') 00513 i++; 00514 Write(buf, i+1); 00515 }
Here is the call graph for this function:
|