2014-10-13 09:05:34 +04:00
|
|
|
Code / API
|
|
|
|
==========
|
|
|
|
|
|
|
|
Models
|
|
|
|
------
|
|
|
|
Models are built on top of th SQLAlchemy ORM Base class, instance are
|
|
|
|
persisted in the database.
|
|
|
|
|
2015-01-17 02:55:11 +03:00
|
|
|
.. automodule:: airflow.models
|
2014-10-20 20:40:43 +04:00
|
|
|
:show-inheritance:
|
2015-01-17 19:26:11 +03:00
|
|
|
:members: DAG, BaseOperator, TaskInstance, DagBag, Connection
|
|
|
|
|
|
|
|
Hooks
|
|
|
|
-----
|
|
|
|
.. automodule:: airflow.hooks
|
|
|
|
:show-inheritance:
|
|
|
|
:members: MySqlHook, PrestoHook, HiveHook
|
2014-10-13 09:05:34 +04:00
|
|
|
|
|
|
|
Operators
|
|
|
|
---------
|
|
|
|
Operators allows to generate a certain type of task on the graph.
|
|
|
|
|
2015-01-17 02:55:11 +03:00
|
|
|
.. automodule:: airflow.operators
|
2014-10-20 20:40:43 +04:00
|
|
|
:show-inheritance:
|
2015-01-17 19:26:11 +03:00
|
|
|
:members: MySqlOperator, BashOperator, ExternalTaskSensor, HiveOperator, SqlSensor, HivePartitionSensor, EmailOperator
|
2014-10-13 09:05:34 +04:00
|
|
|
|
|
|
|
Executors
|
|
|
|
---------
|
2015-01-17 19:26:11 +03:00
|
|
|
Executors are the mechanism by which task instances get run.
|
2015-01-17 02:55:11 +03:00
|
|
|
.. automodule:: airflow.executors
|
2015-01-17 19:26:11 +03:00
|
|
|
:show-inheritance:
|
|
|
|
:members: LocalExecutor, CeleryExecutor, SequentialExecutor
|