minos.plugins.aiopg.factories.networks.collections.queues
Classes
Aiopg Broker Queue Database Operation Factory class. |
- class AiopgBrokerQueueDatabaseOperationFactory[source]
Bases:
BrokerQueueDatabaseOperationFactory
,ABC
Aiopg Broker Queue Database Operation Factory class.
- build_mark_processed(id_)[source]
Build the “update not processed” query.
- Returns
A
SQL
instance.- Parameters
id_ (int) –
- Return type
- build_delete(id_)[source]
Build the “delete processed” query.
- Returns
A
SQL
instance.- Parameters
id_ (int) –
- Return type
- build_count(retry, *args, **kwargs)[source]
Build the “count not processed” query.
- Returns
- Parameters
retry (int) –
- Return type
- build_submit(topic, data)[source]
Build the “insert” query.
- Returns
A
SQL
instance.- Parameters
- Return type