|
Kinetica C# API
Version 7.2.3.1
|
Manages bulk insert operations for the ADO.NET driver. More...
Inherits IAsyncDisposable, and IDisposable.
Public Member Functions | |
| InsertBatchManager (Kinetica kinetica, InsertBatchOptions? options=null) | |
| async Task< bool > | InsertAsync (string tableName, IList< string > columnNames, IList< object?> values, CancellationToken cancellationToken=default) |
| Inserts a record into the specified table using batch processing. More... | |
| async Task< int > | InsertBatchAsync (string tableName, IList< string > columnNames, IList< IList< object?>> valuesList, CancellationToken cancellationToken=default) |
| Inserts multiple records into the specified table using batch processing. More... | |
| async Task< long > | FlushTableAsync (string tableName, CancellationToken cancellationToken=default) |
| Flushes all pending records for the specified table. More... | |
| async Task< long > | FlushAllAsync (CancellationToken cancellationToken=default) |
| Flushes all pending records for all tables. More... | |
| int | GetPendingCount (string tableName) |
| Gets the number of pending records for the specified table. More... | |
| int | GetTotalPendingCount () |
| Gets the total number of pending records across all tables. More... | |
| void | Dispose () |
| async ValueTask | DisposeAsync () |
Public Attributes | |
| long | TotalRecordsInserted => Interlocked.Read(ref _totalRecordsInserted) |
| Gets the total number of records inserted across all tables. More... | |
| long | TotalBatchesFlushed => Interlocked.Read(ref _totalBatchesFlushed) |
| Gets the total number of batches flushed across all tables. More... | |
| long | BufferedRecordCount => Interlocked.Read(ref _bufferedRecordCount) |
| Gets the number of records currently buffered (not yet flushed). More... | |
Manages bulk insert operations for the ADO.NET driver.
Uses BulkInserter<GenericRecord> for high-performance batch insertion with:
Definition at line 19 of file InsertBatchManager.cs.
|
inline |
Definition at line 32 of file InsertBatchManager.cs.
|
inline |
Definition at line 208 of file InsertBatchManager.cs.
|
inline |
Definition at line 235 of file InsertBatchManager.cs.
|
inline |
Flushes all pending records for all tables.
Definition at line 118 of file InsertBatchManager.cs.
|
inline |
Flushes all pending records for the specified table.
Definition at line 98 of file InsertBatchManager.cs.
|
inline |
Gets the number of pending records for the specified table.
Definition at line 143 of file InsertBatchManager.cs.
|
inline |
Gets the total number of pending records across all tables.
Definition at line 155 of file InsertBatchManager.cs.
|
inline |
Inserts a record into the specified table using batch processing.
Definition at line 58 of file InsertBatchManager.cs.
|
inline |
Inserts multiple records into the specified table using batch processing.
Definition at line 76 of file InsertBatchManager.cs.
| long KineticaAdo.InsertBatchManager.BufferedRecordCount => Interlocked.Read(ref _bufferedRecordCount) |
Gets the number of records currently buffered (not yet flushed).
Definition at line 53 of file InsertBatchManager.cs.
| long KineticaAdo.InsertBatchManager.TotalBatchesFlushed => Interlocked.Read(ref _totalBatchesFlushed) |
Gets the total number of batches flushed across all tables.
Definition at line 48 of file InsertBatchManager.cs.
| long KineticaAdo.InsertBatchManager.TotalRecordsInserted => Interlocked.Read(ref _totalRecordsInserted) |
Gets the total number of records inserted across all tables.
Definition at line 43 of file InsertBatchManager.cs.