Manages the insertion into GPUdb of large numbers of records in bulk, with automatic batch management and support for multi-head ingest.
More...
Manages the insertion into GPUdb of large numbers of records in bulk, with automatic batch management and support for multi-head ingest.
Use the insert(record) and insert(List) methods to queue records for insertion, and the flush method to ensure that all queued records have been inserted.
- Template Parameters
-
T | The type of object being inserted. |
Definition at line 16 of file RecordRetriever.cs.
Retrieves records for a given shard key, optionally further limited by an additional expression.
All records matching the key and satisfying the expression will be returned, up to the system-defined limit. For multi-head mode the request will be sent directly to the appropriate worker.
All fields in both the shard key and the expression must have defined attribute indexes, unless the shard key is also a primary key and all referenced fields are in the primary key. The expression must be limited to basic equality and inequality comparisons that can be evaluated using the attribute indexes.
- Parameters
-
record | The record based on whose shard column values records will be fetched from the table. |
expression | An optional expression. Default is null. |
- Returns
- A GetRecordsResponse object with the decoded retrieved values.
Definition at line 124 of file RecordRetriever.cs.