SyncWriteSegmentBuilder

class aerospike_sdk.sync.operations.query.SyncWriteSegmentBuilder[source]

Bases: _WriteSegmentBuilderBase, _WriteVerbs

Synchronous write-segment builder.

Inherits state + chaining + execute_blocking_fast_path from _WriteSegmentBuilderBase. Provides sync execute() and overrides _start_write_verb so chained writes return SyncWriteSegmentBuilder.

query(arg1, *more_keys)[source]

Finalize this segment and open a fresh sync read query on new keys.

Return type:

SyncQueryBuilder

execute(on_error=None)[source]

Run the configured write segment synchronously.

Tries the inherited blocking fast path first; otherwise delegates to the wrapped query builder’s full dispatch.

Return type:

SyncRecordStream