class_docstr: Base builder to construct a ElasticsearchSink.
class_docstr_tok: ["Base","builder","to","construct","a","ElasticsearchSink","."]
docstr: Sets the emitter which is invoked on every record to convert it to Elasticsearch actions.
  
  :param emitter: The emitter to process records into Elasticsearch actions.
code: def set_emitter(
      self, emitter: ElasticsearchEmitter
  ) -> "ElasticsearchSinkBuilderBase":
      """
      Sets the emitter which is invoked on every record to convert it to Elasticsearch actions.
  
      :param emitter: The emitter to process records into Elasticsearch actions.
      """
      self._j_elasticsearch_sink_builder.setEmitter(emitter._j_emitter)
      return self
  
imports: import abc
  from enum import Enum
  from typing import List, Union
  from pyflink.datastream.connectors import Sink, DeliveryGuarantee
  from pyflink.java_gateway import get_gateway
  from pyflink.util.java_utils import to_jarray
label_desc: Use image node_id 3 for calling the ElasticsearchSinkBuilderBase obj's underlying member method code with example usage: obj.set_emitter(emitter) and returns: self