class_docstr: An adapter that adds additional feature to the Presto cursor.
  
  The implementation of cursor in the prestodb library is not sufficient.
  The following changes have been made:
  
  * The poke mechanism for row. You can look at the next row without consuming it.
  * The description attribute is available before reading the first row. Thanks to the poke mechanism.
  * the iterator interface has been implemented.
  
  A detailed description of the class methods is available in
  `PEP-249 <https://www.python.org/dev/peps/pep-0249/>`__.
docstr: Return the next row from the current SQL statement using the same semantics as ``.fetchone()``.
  
  A ``StopIteration`` exception is raised when the result set is exhausted.
docstr_tok: ["Return","the","next","row","from","the","current","SQL","statement","using","the","same","semantics","as","``",".fetchone","(",")","``",".","A","``","StopIteration","``","exception","is","raised","when","the","result","set","is","exhausted","."]
code: def __next__(self) -> Any:
      """
      Return the next row from the current SQL statement using the same semantics as ``.fetchone()``.
  
      A ``StopIteration`` exception is raised when the result set is exhausted.
      """
      result = self.fetchone()
      if result is None:
          raise StopIteration()
      return result
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any
  from airflow.providers.google.cloud.transfers.sql_to_gcs import BaseSQLToGCSOperator
  from airflow.providers.presto.hooks.presto import PrestoHook
label_desc: Use image node_id 10 for calling the _PrestoToGCSPrestoCursorAdapter obj's underlying member method code with example usage: obj.__next__() and returns: result