IMergeTreeDeltaCallbackArgs Interface
WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.
Signature
export interface IMergeTreeDeltaCallbackArgs<TOperationType extends MergeTreeDeltaOperationTypes = MergeTreeDeltaOperationType>
Type Parameters
Parameter | Constraint | Default | Description |
---|---|---|---|
TOperationType | MergeTreeDeltaOperationTypes | MergeTreeDeltaOperationType |
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
deltaSegments | Alpha |
readonly |
IMergeTreeSegmentDelta[] |
A list of deltas describing actions taken on segments. Deltas are not guaranteed to be in any particular order. |
operation | Alpha |
readonly |
TOperationType |
The type of operation that affected segments in the merge-tree. The affected segments can be accessed via deltaSegments. See MergeTreeDeltaOperationType and MergeTreeMaintenanceType for possible values. |
Property Details
deltaSegments
A list of deltas describing actions taken on segments.
Deltas are not guaranteed to be in any particular order.
WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.
Signature
readonly deltaSegments: IMergeTreeSegmentDelta[];
Type: IMergeTreeSegmentDelta[]
operation
The type of operation that affected segments in the merge-tree. The affected segments can be accessed via deltaSegments.
See MergeTreeDeltaOperationType and MergeTreeMaintenanceType for possible values.
WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.
Signature
readonly operation: TOperationType;
Type: TOperationType