|
| | WorkerQueue (System.Uri url) |
| | Creates an insertion queue for a given worker. More...
|
| |
| | WorkerQueue (System.Uri url, int capacity, bool has_primary_key, bool update_on_existing_pk) |
| | Creates an insertion queue for a given worker. More...
|
| |
| IList< T > | flush () |
| | Returns the current queue and creates a new empty one. More...
|
| |
| IList< T >? | insert (T record, RecordKey key) |
| | Inserts a record into the queue (if all conditions are favourable). More...
|
| |
Definition at line 7 of file WorkerQueue.cs.
◆ WorkerQueue() [1/2]
Creates an insertion queue for a given worker.
- Parameters
-
Definition at line 21 of file WorkerQueue.cs.
◆ WorkerQueue() [2/2]
Creates an insertion queue for a given worker.
- Parameters
-
| url | |
| capacity | |
| has_primary_key | |
| update_on_existing_pk | |
Definition at line 38 of file WorkerQueue.cs.
◆ flush()
Returns the current queue and creates a new empty one.
- Returns
- A list of records to be inserted.
Definition at line 53 of file WorkerQueue.cs.
◆ insert()
Inserts a record into the queue (if all conditions are favourable).
Returns the queue if it becomes full upon insertion.
- Parameters
-
| record | The record to insert into the queue. |
| key | A primary key, if any. |
- Returns
- The list of records (if the queue is full), or null.
Definition at line 70 of file WorkerQueue.cs.
◆ url
The documentation for this class was generated from the following file:
- _build/public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0/install/Kinetica/Utils/WorkerQueue.cs