| :py:mod:`tests.system.providers.elasticsearch.example_elasticsearch_query` |
| ========================================================================== |
| |
| .. py:module:: tests.system.providers.elasticsearch.example_elasticsearch_query |
| |
| .. autoapi-nested-parse:: |
| |
| Example Airflow DAG for Elasticsearch Query. |
| |
| |
| |
| Module Contents |
| --------------- |
| |
| |
| Functions |
| ~~~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| tests.system.providers.elasticsearch.example_elasticsearch_query.show_tables |
| tests.system.providers.elasticsearch.example_elasticsearch_query.use_elasticsearch_hook |
| |
| |
| |
| Attributes |
| ~~~~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| tests.system.providers.elasticsearch.example_elasticsearch_query.ENV_ID |
| tests.system.providers.elasticsearch.example_elasticsearch_query.DAG_ID |
| tests.system.providers.elasticsearch.example_elasticsearch_query.CONN_ID |
| tests.system.providers.elasticsearch.example_elasticsearch_query.execute_query |
| tests.system.providers.elasticsearch.example_elasticsearch_query.test_run |
| |
| |
| .. py:data:: ENV_ID |
| |
| |
| |
| |
| .. py:data:: DAG_ID |
| :annotation: = elasticsearch_dag |
| |
| |
| |
| .. py:data:: CONN_ID |
| :annotation: = elasticsearch_default |
| |
| |
| |
| .. py:function:: show_tables() |
| |
| show_tables queries elasticsearch to list available tables |
| |
| |
| .. py:function:: use_elasticsearch_hook() |
| |
| Use ElasticSearchPythonHook to print results from a local Elasticsearch |
| |
| |
| .. py:data:: execute_query |
| |
| |
| |
| |
| .. py:data:: test_run |
| |
| |
| |
| |