Skip to main content

Crate zova

Crate zova 

Source
Expand description

Safe Rust bindings for Zova’s C ABI.

This Rust binding currently covers database lifecycle, records through prepared SQL statements, transactions, explicit vacuum, backup/compact/ restore, objects, chunks, manifests, range reads, assembly, ObjectWriter, vector collections, vector CRUD, exact vector search, and SQL-native vector queries through prepared statements, graphs, and graph traversal. Use SharedDatabase when one serialized handle should be shared across Rust threads.

Structs§

BackupOptions
CompactOptions
Database
ExtensionInfo
GraphEdge
GraphEdgeInput
GraphInfo
GraphNeighbor
GraphNeighborsOptions
GraphNode
GraphNodeInput
GraphWalkItem
GraphWalkOptions
Notification
ObjectChunkId
A Zova object chunk identity: SHA-256 of one stored chunk.
ObjectId
A Zova object identity: SHA-256 of the full object bytes.
ObjectManifest
Owned manifest metadata for a complete Zova object.
ObjectManifestChunk
One chunk row in a Zova object manifest.
ObjectWriter
Streaming writer for storing an object without holding the full object in memory.
OpenOptions
OwnedObjectWriter
Owned streaming writer for language bindings that need writer objects independent of Rust’s borrowed Database::object_writer lifetime.
OwnedStatement
RestoreOptions
SharedDatabase
Cloneable, thread-safe Rust wrapper for one serialized Zova database handle.
SharedDatabaseGuard
Scoped exclusive access to one shared database handle.
SharedObjectWriter
Owned streaming object writer tied to a SharedDatabase.
SharedStatement
Owned prepared statement tied to a SharedDatabase.
SharedSubscription
Owned notification subscription tied to a SharedDatabase.
Statement
Subscription
Vector
VectorCollectionInfo
VectorCollectionOptions
VectorInput
VectorSearchResult

Enums§

ColumnType
Error
GraphNeighborDirection
GraphTargetType
Status
Step
VectorElementType
VectorMetric
VectorValues
VectorValuesOwned

Constants§

DEFAULT_GRAPH_NAME

Functions§

object_chunk_id
Compute the Zova chunk id for bytes.
object_id
Compute the Zova object id for bytes.
restore_backup

Type Aliases§

Result