Definition at line 402 of file Database.h. References Impala::Util::Channel::Buffer(), ILOG_DEBUG, Impala::Util::Channel::LastSendHadError(), mDataChannel, mDataServer, mDataString, and Impala::Util::Channel::SendRequest(). Referenced by GetReadableFile(). 00403 { 00404 char* buf = mDataChannel->Buffer(); 00405 sprintf(buf, "getreadablefile \"%s\" \"%s\" %d\0", file.c_str(), 00406 mDataString.c_str(), silent); 00407 int len = mDataChannel->SendRequest(strlen(buf)+1); 00408 if (mDataChannel->LastSendHadError()) 00409 return ""; 00410 buf[len] = 0; 00411 String res(buf); 00412 ILOG_DEBUG("Got file [" << res << "] from " << mDataServer); 00413 return res; 00414 }
Here is the call graph for this function:
|