class_docstr: Rowtime descriptor for describing an event time attribute in the schema.
class_docstr_tok: ["Rowtime","descriptor","for","describing","an","event","time","attribute","in","the","schema","."]
docstr: Sets a custom timestamp extractor to be used for the rowtime attribute.
  
  :param extractor: The java fully-qualified class name of the TimestampExtractor to extract
                    the rowtime attribute from the physical type. The TimestampExtractor must
                    have a public no-argument constructor and can be founded by
                    in current Java classloader.
  :return: This rowtime descriptor.
docstr_tok: ["Sets","a","custom","timestamp","extractor","to","be","used","for","the","rowtime","attribute",".",":","param","extractor",":","The","java","fully-qualified","class","name","of","the","TimestampExtractor","to","extract","the","rowtime","attribute","from","the","physical","type",".","The","TimestampExtractor","must","have","a","public","no-argument","constructor","and","can","be","founded","by","in","current","Java","classloader",".",":","return",":","This","rowtime","descriptor","."]
code: def timestamps_from_extractor(self, extractor: str) -> "Rowtime":
      """
      Sets a custom timestamp extractor to be used for the rowtime attribute.
  
      :param extractor: The java fully-qualified class name of the TimestampExtractor to extract
                        the rowtime attribute from the physical type. The TimestampExtractor must
                        have a public no-argument constructor and can be founded by
                        in current Java classloader.
      :return: This rowtime descriptor.
      """
      gateway = get_gateway()
      self._j_rowtime = self._j_rowtime.timestampsFromExtractor(
          gateway.jvm.Thread.currentThread()
          .getContextClassLoader()
          .loadClass(extractor)
          .newInstance()
      )
      return self
  
imports: import sys
  from abc import ABCMeta
  from collections import OrderedDict
  from py4j.java_gateway import get_method
  from typing import Dict, Union
  from pyflink.java_gateway import get_gateway
  from pyflink.table.table_schema import TableSchema
  from pyflink.table.types import DataType, _to_java_data_type
label_desc: Use image node_id 4 for calling the Rowtime obj's underlying member method code with example usage: obj.timestamps_from_extractor(extractor) and returns: self