| 61 | namespace impala { |
| 62 | |
| 63 | string PrintId(const TUniqueId& id, const string& separator) { |
| 64 | stringstream out; |
| 65 | // Outputting the separator string resets the stream width. |
| 66 | out << hex << setfill('0') << setw(16) << id.hi << separator << setw(16) << id.lo; |
| 67 | return out.str(); |
| 68 | } |
| 69 | |
| 70 | string PrintId(const UniqueIdPB& id, const string& separator) { |
| 71 | stringstream out; |