Expand description
Store server for ingest/query/prune/retention/stream APIs.
Use AppState with connect_stack for an all-in-one server, or the narrower
state and service constructors when capabilities are served separately.
Structs§
- AppState
- All-in-one single-process composition for a backend that serves every store capability. Split deployments construct the narrower capability states directly.
- Compiled
Matchers - Validated stream matchers compiled for repeated evaluation.
- Compiled
Selector - One validated and compiled stream selector.
- Entry
- Types used by filtered-batch and matcher APIs, re-exported so backends can use the server API without a version-matched direct SDK dependency. A raw key-value pair shared by store APIs that move complete rows without additional per-entry metadata.
- Filtered
Batch - Filtered and fully resolved entries from a retained sequence batch.
- Ingest
Limits - Limits enforced before ingest requests reach the backend.
- Ingest
State - State for an ingest-only service.
- Invalid
Filter - A stream filter rejected during validation or compilation.
- LogBatch
- Pre-encoded
log.stream.v1.GetResponsestored for a retained sequence batch. - Prune
State - State for a prune-only service.
- Query
State - State for a query-only service.
- Range
Scan Batch - Retention
State - State for a retention-only service.
- Selector
- Types used by filtered-batch and matcher APIs, re-exported so backends can
use the server API without a version-matched direct SDK dependency.
Identifies a subset of keys by a byte prefix + payload regex. Matches the
common.kv.v1.Selectorwire shape (seeproto/common/v1/kv.proto). A key belongs to the selector’s family iff it starts withprefix; the payload (the key bytes afterprefix) is matched againstpayload_regex. An emptyprefixmatches all keys. - Stream
Filter - Types used by filtered-batch and matcher APIs, re-exported so backends can use the server API without a version-matched direct SDK dependency.
- Stream
Hub - Stream
Notification - Stream
State - State for a stream-only service.
- Utf8
- Types used by filtered-batch and matcher APIs, re-exported so backends can use the server API without a version-matched direct SDK dependency.
Enums§
- Filter
- Types used by filtered-batch and matcher APIs, re-exported so backends can
use the server API without a version-matched direct SDK dependency.
Matches a row’s raw value bytes by exact match, prefix, or regex. Wire
shape mirrors
common.kv.v1.Filter. - Ingest
Error - Why an ingest write was not accepted.
- Range
Error
Constants§
- DEFAULT_
MAX_ VALUE_ LEN - Default maximum value size accepted by ingest validation.
Traits§
- Ingest
- Ingest write capability.
- Log
- Retained per-sequence batch-log access for stream replay and lookups.
- Prune
- Prune mutation capability.
- Query
- Query read capability.
- Range
Scan - Owned pull-based range cursor for query RPCs.
- Retention
- Sequence-log retention capability (
log.stream.v1SetRetention). - Sequence
- Local sequence frontier visible to this process.
- Store
Engine - Compatibility facade for backends that serve every store capability.
- Stream
Notifier - In-process notification capability for stream subscribers.
Functions§
Type Aliases§
- Query
Extra - Backend-defined query metadata.