Table of Contents

Class ClickHouseBulkInsertOptions

Namespace
NextORM.Core
Assembly
nextorm.core.dll

ClickHouse native InsertBinaryAsync options. A group with every value left null requests nothing; supplying it on another provider is rejected when the target provider is known.

public sealed record ClickHouseBulkInsertOptions : IEquatable<ClickHouseBulkInsertOptions>
Inheritance
ClickHouseBulkInsertOptions
Implements
Inherited Members
Extension Methods

Properties

MaxDegreeOfParallelism

The maximum degree of parallelism the native insert requests, or null to preserve the configured default. Values above one combined with an active session are contradictory and are rejected by the native path; the portable INSERT ... VALUES path writes a single stream, so it accepts null and 1 as the same result and refuses a value above one by name.

public int? MaxDegreeOfParallelism { get; init; }

Property Value

int?

UseSession

Whether the native insert uses the configured session: null preserves it, true requires an actual session id, and false explicitly requests a sessionless non-temporary insert. Defaults to null. On the portable path the request is honoured only when the context connection already carries that session, and is refused by name otherwise.

public bool? UseSession { get; init; }

Property Value

bool?