QdrantEdgeBindings class

FFI bindings for the qdrant-edge FFI shim (qe_* functions).

Constructors

QdrantEdgeBindings(DynamicLibrary dynamicLibrary)
The symbols are looked up in dynamicLibrary.
QdrantEdgeBindings.fromLookup(Pointer<T> lookup<T extends NativeType>(String symbolName))
The symbols are looked up with lookup.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
qe_shard_close(Pointer<Void> shard) → void
Close shard. Frees all resources. Safe to call with NULL.
qe_shard_count(Pointer<Void> shard, Pointer<Pointer<Char>> error_out) int
Exact total point count. Returns count >= 0 on success, -1 on error.
qe_shard_delete(Pointer<Void> shard, Pointer<Char> ids_json, Pointer<Pointer<Char>> error_out) int
Delete points by IDs. ids_json is a JSON array of strings.
qe_shard_open(Pointer<Char> path, int dim, Pointer<Char> distance, Pointer<Pointer<Char>> error_out) Pointer<Void>
Open or create a shard at path with the given vector dimension and distance metric.
Top-K nearest-neighbor search.
qe_shard_search_with_filter(Pointer<Void> shard, Pointer<Float> vector, int vector_len, int top_k, Pointer<Char> filter_json, Pointer<Pointer<Char>> response_json_out, Pointer<Pointer<Char>> error_out) int
Top-K search with a qdrant-edge filter.
qe_shard_upsert(Pointer<Void> shard, Pointer<Char> id, Pointer<Float> vector, int vector_len, Pointer<Char> payload_json, Pointer<Pointer<Char>> error_out) int
Upsert a single point.
qe_shard_upsert_batch(Pointer<Void> shard, Pointer<Char> points_json, Pointer<Pointer<Char>> error_out) int
Bulk upsert. points_json is a JSON array of {"id": "<id>", "vector": [f32...], "payload": {...} | null} objects.
qe_string_free(Pointer<Char> s) → void
Free any string returned by the shim through a char ** out-parameter or the char * return of qe_version. Safe to call with NULL.
qe_version() Pointer<Char>
Returns shim version string. Caller must free with qe_string_free.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited