Skip to main content

Module data

Module data 

Source
Expand description

Portable records and data mutations.

Execute DataRequest through crate::DatabaseBackend::data. Optional mutation counts and continuation values preserve backend observations. Ordinary writes may have uncertain outcomes after native failures; ReplacePartitionRequest has its own stronger atomic contract.

Structs§

CountRequest
Request to count rows matching an optional filter.
DataRecord
Portable record payload used for inserts, updates, and query responses.
DeleteRequest
Request to delete rows that match a filter.
InsertRequest
Request to insert records.
MutationResult
Portable mutation counts.
PageToken
Opaque continuation token.
RecordsPage
Page of records returned by lookup or scan flows.
ReplacePartitionRequest
Atomically replaces all records selected by one bounded partition.
ScanRequest
Request to scan a collection with optional filtering and pagination.
UpdateAssignment
Single assignment used by update-style mutations.
UpdateRequest
Request to update rows that match a filter.

Enums§

ComparisonOp
Comparison operator used in FilterExpr::Compare.
DataRequest
Portable data request.
DataResponse
Portable data response.
DenseVector
Dense vector payload stored in a backend-supported numeric representation.
FilterExpr
Portable filter expression tree used across data and query requests.
Projection
Fields returned for a record.
RecordId
Logical record identifier preserved by implementations supporting logical IDs.
WriteMode
Behavior to apply when writing rows to an existing collection.