| :mod:`airflow.providers.elasticsearch.hooks.elasticsearch` |
| ========================================================== |
| |
| .. py:module:: airflow.providers.elasticsearch.hooks.elasticsearch |
| |
| |
| Module Contents |
| --------------- |
| |
| .. py:class:: ElasticsearchHook(schema: str = 'http', connection: Optional[AirflowConnection] = None, *args, **kwargs) |
| |
| Bases: :class:`airflow.hooks.dbapi.DbApiHook` |
| |
| Interact with Elasticsearch through the elasticsearch-dbapi. |
| |
| .. attribute:: conn_name_attr |
| :annotation: = elasticsearch_conn_id |
| |
| |
| |
| .. attribute:: default_conn_name |
| :annotation: = elasticsearch_default |
| |
| |
| |
| .. attribute:: conn_type |
| :annotation: = elasticsearch |
| |
| |
| |
| .. attribute:: hook_name |
| :annotation: = Elasticsearch |
| |
| |
| |
| |
| .. method:: get_conn(self) |
| |
| Returns a elasticsearch connection object |
| |
| |
| |
| |
| .. method:: get_uri(self) |
| |
| |
| |
| |