minos.plugins.aiopg.factories.networks.subscribers.queues
Classes
Aiopg Broker Subscriber Queue Database Operation Factory class. |
- class AiopgBrokerSubscriberQueueDatabaseOperationFactory[source]
Bases:
BrokerSubscriberQueueDatabaseOperationFactory
,AiopgBrokerQueueDatabaseOperationFactory
Aiopg Broker Subscriber Queue Database Operation Factory class.
- build_count(retry, topics=tuple(), *args, **kwargs)[source]
Build the “count not processed” query.
- Returns
- Parameters
- Return type
- build_query(retry, records, topics=tuple(), *args, **kwargs)[source]
Build the “select not processed” query.
- Returns
A
SQL
instance.- Parameters
- 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_submit(topic, data)
Build the “insert” query.
- Returns
A
SQL
instance.- Parameters
- Return type