public ProcessListInfo build() {
      ProcessListInfo processListInfo = new ProcessListInfo(userName, ipAddr, sessionId, sessionActiveTime,
          sessionIdleTime, queryId, executionEngine, beginTime, runtime,
          elapsedTime, state);
      return processListInfo;
    }
The class to store query and associated session level info to be used for ProcessListProcessor.
ql/src/java/org/apache/hadoop/hive/ql/session/ProcessListInfo.java