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