class_docstr: A :class:`~pyflink.table.TableResult` is the representation of the statement execution result.
  
  .. versionadded:: 1.11.0
class_docstr_tok: ["A",":","class",":","`","~pyflink.table.TableResult","`","is","the","representation","of","the","statement","execution","result",".","..","versionadded",":",":","1.11.0"]
docstr: For DML and DQL statement, return the JobClient which associates the submitted Flink job.
  For other statements (e.g.  DDL, DCL) return empty.
  
  :return: The job client, optional.
  :rtype: pyflink.common.JobClient
  
  .. versionadded:: 1.11.0
docstr_tok: ["For","DML","and","DQL","statement",",","return","the","JobClient","which","associates","the","submitted","Flink","job",".","For","other","statements","(","e.g",".","DDL",",","DCL",")","return","empty",".",":","return",":","The","job","client",",","optional",".",":","rtype",":","pyflink.common.JobClient","..","versionadded",":",":","1.11.0"]
code: def get_job_client(self) -> Optional[JobClient]:
      """
      For DML and DQL statement, return the JobClient which associates the submitted Flink job.
      For other statements (e.g.  DDL, DCL) return empty.
  
      :return: The job client, optional.
      :rtype: pyflink.common.JobClient
  
      .. versionadded:: 1.11.0
      """
      job_client = self._j_table_result.getJobClient()
      if job_client.isPresent():
          return JobClient(job_client.get())
      else:
          return None
  
imports: from typing import Optional
  from py4j.java_gateway import get_method
  from pyflink.common.types import RowKind
  from pyflink.common import Row
  from pyflink.common.job_client import JobClient
  from pyflink.java_gateway import get_gateway
  from pyflink.table.result_kind import ResultKind
  from pyflink.table.table_schema import TableSchema
  from pyflink.table.types import _from_java_data_type
  from pyflink.table.utils import pickled_bytes_to_python_converter
label_desc: Use image node_id 2 for calling the TableResult obj's underlying member method code with example usage: obj.get_job_client() and returns: JobClient, None