class_docstr: A table schema that represents a table's structure with field names and data types.
class_docstr_tok: ["A","table","schema","that","represents","a","table","'s","structure","with","field","names","and","data","types","."]
docstr: Returns the specified name for the given field index.
  
  :param field_index: The index of the field.
  :return: The field name.
docstr_tok: ["Returns","the","specified","name","for","the","given","field","index",".",":","param","field_index",":","The","index","of","the","field",".",":","return",":","The","field","name","."]
code: def get_field_name(self, field_index: int) -> Optional[str]:
      """
      Returns the specified name for the given field index.
  
      :param field_index: The index of the field.
      :return: The field name.
      """
      optional_result = self._j_table_schema.getFieldName(field_index)
      if optional_result.isPresent():
          return optional_result.get()
      else:
          return None
  
file_path: flink/flink-python/pyflink/table/table_schema.py
imports: from typing import List, Optional, Union
  from pyflink.java_gateway import get_gateway
  from pyflink.table.types import DataType, RowType, _to_java_data_type, _from_java_data_type
  from pyflink.util.java_utils import to_jarray
label_desc: Use image node_id 7 for calling the TableSchema obj's underlying member method code with example usage: obj.get_field_name(field_index) and returns: optional_result, None