Comparer that will sort the users array by the session_count field.
| 875 | |
| 876 | // Comparer that will sort the users array by the session_count field. |
| 877 | bool SessionCountComparer(const Value& a, const Value& b) { |
| 878 | return a["session_count"].GetInt64() < b["session_count"].GetInt64(); |
| 879 | } |
| 880 | |
| 881 | void ImpalaHttpHandler::FillUsersInfo(Document* document) { |
| 882 | Value users(kArrayType); |