Marks the query as complete and logs it to the proper logs. This is called after the data has been sent to the client.
()
| 376 | * after the data has been sent to the client. |
| 377 | */ |
| 378 | public void markSent() { |
| 379 | sent_to_client = true; |
| 380 | overall_stats.put(QueryStat.TOTAL_TIME, DateTime.nanoTime() - query_start_ns); |
| 381 | LOG.info("Completing query=" + JSON.serializeToString(this)); |
| 382 | QUERY_LOG.info(this.toString()); |
| 383 | } |
| 384 | |
| 385 | /** Leaves the sent_to_client field as false when we were unable to write to |
| 386 | * the client end point. */ |
no test coverage detected