Interface IStorageDataBlock
- Namespace
- Datafication.Core.Data
- Assembly
- Datafication.Core.dll
Represents a data block abstraction for batch-appending processed records from connectors without depending on Velocity/DFC. This interface replaces IDataBlockStore and IStorageConnector as the single, minimal abstraction for storage operations.
public interface IStorageDataBlock : IDataBlock
- Inherited Members
Properties
SupportsBatchAppend
Gets a value indicating whether this storage data block supports batch append operations.
bool SupportsBatchAppend { get; }
Property Value
- bool
trueif batch append is supported; otherwise,false. Defaults to true in Velocity implementation.
Methods
AppendBatchAsync(DataBlock)
Appends a batch of rows efficiently to the underlying storage.
Task AppendBatchAsync(DataBlock batch)
Parameters
batchDataBlockThe DataBlock batch to append.
Returns
- Task
A task representing the asynchronous append operation.
FlushAsync()
Flushes any pending changes to the underlying storage.
Task FlushAsync()
Returns
- Task
A task representing the asynchronous flush operation.