class_docstr: This class is deprecated and was renamed to ElasticsearchSQLHook.
  
  Please use :class:`airflow.providers.elasticsearch.hooks.elasticsearch.ElasticsearchSQLHook`.
class_docstr_tok: ["This","class","is","deprecated","and","was","renamed","to","ElasticsearchSQLHook",".","Please","use",":","class",":","`","airflow.providers.elasticsearch.hooks.elasticsearch.ElasticsearchSQLHook","`","."]
code: def __init__(self, *args, **kwargs):
      warnings.warn(
          """This class is deprecated.
              Please use `airflow.providers.elasticsearch.hooks.elasticsearch.ElasticsearchSQLHook`.""",
          AirflowProviderDeprecationWarning,
          stacklevel=3,
      )
      super().__init__(*args, **kwargs)
  
imports: from __future__ import annotations
  import warnings
  from functools import cached_property
  from typing import TYPE_CHECKING, Any
  from urllib import parse
  from elasticsearch import Elasticsearch
  from airflow.exceptions import AirflowProviderDeprecationWarning
  from airflow.hooks.base import BaseHook
  from airflow.providers.common.sql.hooks.sql import DbApiHook
label_desc: Use image node_id 1 to create a new ElasticsearchHook object from inherited base classes: ElasticsearchSQLHook with example: obj = ElasticsearchHook()