presto-main/src/main/java/io/prestosql/execution/SqlQueryExecution.java/SqlQueryExecution/getEndTime
class SqlQueryExecution:    @Override
    public Optional<DateTime> getEndTime()
    {
        return stateMachine.getEndTime();
    }