count method
Exact total number of points currently in the shard.
Implementation
Future<int> count() async {
_checkOpen();
final errorOut = calloc<Pointer<Utf8>>();
try {
final n = _b.qe_shard_count(_shard, errorOut.cast());
if (n < 0) {
throw QdrantException(
_consumeString(_b, errorOut) ?? 'qe_shard_count returned -1');
}
return n;
} finally {
calloc.free(errorOut);
}
}