public long getQueryStartTime() {
    // query info is created by SQLOperation which will have start time of the operation. When JDBC Statement is not
    // used queryInfo will be null, in which case we take creation of Driver instance as query start time (which is also
    // the time when query display object is created)
    return getQueryInfo() != null ? getQueryInfo().getBeginTime() : getQueryDisplay().getQueryStartTime();
  }
Context for the procedure managed by the Driver.
ql/src/java/org/apache/hadoop/hive/ql/DriverContext.java