QueryPoints constructor
QueryPoints({
- String? collectionName,
- Iterable<
PrefetchQuery> ? prefetch, - Query? query,
- String? using,
- Filter? filter,
- SearchParams? params,
- double? scoreThreshold,
- Int64? limit,
- Int64? offset,
- WithVectorsSelector? withVectors,
- WithPayloadSelector? withPayload,
- ReadConsistency? readConsistency,
- ShardKeySelector? shardKeySelector,
- LookupLocation? lookupFrom,
- Int64? timeout,
Implementation
factory QueryPoints({
$core.String? collectionName,
$core.Iterable<PrefetchQuery>? prefetch,
Query? query,
$core.String? using,
Filter? filter,
SearchParams? params,
$core.double? scoreThreshold,
$fixnum.Int64? limit,
$fixnum.Int64? offset,
WithVectorsSelector? withVectors,
WithPayloadSelector? withPayload,
ReadConsistency? readConsistency,
ShardKeySelector? shardKeySelector,
LookupLocation? lookupFrom,
$fixnum.Int64? timeout,
}) {
final $result = create();
if (collectionName != null) {
$result.collectionName = collectionName;
}
if (prefetch != null) {
$result.prefetch.addAll(prefetch);
}
if (query != null) {
$result.query = query;
}
if (using != null) {
$result.using = using;
}
if (filter != null) {
$result.filter = filter;
}
if (params != null) {
$result.params = params;
}
if (scoreThreshold != null) {
$result.scoreThreshold = scoreThreshold;
}
if (limit != null) {
$result.limit = limit;
}
if (offset != null) {
$result.offset = offset;
}
if (withVectors != null) {
$result.withVectors = withVectors;
}
if (withPayload != null) {
$result.withPayload = withPayload;
}
if (readConsistency != null) {
$result.readConsistency = readConsistency;
}
if (shardKeySelector != null) {
$result.shardKeySelector = shardKeySelector;
}
if (lookupFrom != null) {
$result.lookupFrom = lookupFrom;
}
if (timeout != null) {
$result.timeout = timeout;
}
return $result;
}