private Runnable createLogRunnable(final Statement statement,
      InPlaceUpdateStream.EventNotifier eventNotifier) {
    if (statement instanceof HiveStatement) {
      return new LogRunnable(this, (HiveStatement) statement, DEFAULT_QUERY_PROGRESS_INTERVAL,
          eventNotifier);
    } else {
      beeLine.debug(
          "The statement instance is not HiveStatement type: " + statement
              .getClass());
      return new Runnable() {
        @Override
        public void run() {
          // do nothing.
        }
      };
    }
  }
Given a cmdpart (e.g. if a command spans multiple lines), add to the current command, and if
applicable add that command to the {@link List} of commands
beeline/src/java/org/apache/hive/beeline/Commands.java