MCPcopy Create free account
hub / github.com/apache/impala / SessionCountComparer

Function SessionCountComparer

be/src/service/impala-http-handler.cc:877–879  ·  view source on GitHub ↗

Comparer that will sort the users array by the session_count field.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

GetInt64Method · 0.80

Tested by

no test coverage detected