minos.plugins.aiopg.factories.networks.publishers.queues
Classes
Aiopg Broker Publisher Queue Query Factory class. |
- class AiopgBrokerPublisherQueueDatabaseOperationFactory[source]
Bases:
BrokerPublisherQueueDatabaseOperationFactory
,AiopgBrokerQueueDatabaseOperationFactory
Aiopg Broker Publisher Queue Query Factory class.
- build_count(retry, *args, **kwargs)
Build the “count not processed” query.
- Returns
- Parameters
retry (int) –
- Return type
- build_create()
Build the “create table” query.
- Returns
A
SQL
instance.- Return type
- build_delete(id_)
Build the “delete processed” query.
- Returns
A
SQL
instance.- Parameters
id_ (int) –
- Return type
- build_mark_processed(id_)
Build the “update not processed” query.
- Returns
A
SQL
instance.- Parameters
id_ (int) –
- Return type
- build_mark_processing(ids)
- Returns
A
SQL
instance.- Parameters
- Return type
- build_query(retry, records, *args, **kwargs)
Build the “select not processed” query.
- Returns
A
SQL
instance.- Parameters
- Return type
- build_submit(topic, data)
Build the “insert” query.
- Returns
A
SQL
instance.- Parameters
- Return type