Package io.qdrant.client
Class ShardKeySelectorFactory
java.lang.Object
io.qdrant.client.ShardKeySelectorFactory
Convenience methods for constructing
Points.ShardKeySelector
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.qdrant.client.grpc.Points.ShardKeySelector
shardKeySelector
(long... numbers) Creates aPoints.ShardKeySelector
with the given shard key numbers.static io.qdrant.client.grpc.Points.ShardKeySelector
shardKeySelector
(io.qdrant.client.grpc.Collections.ShardKey... shardKeys) Creates aPoints.ShardKeySelector
with the given shard keys.static io.qdrant.client.grpc.Points.ShardKeySelector
shardKeySelector
(String... keywords) Creates aPoints.ShardKeySelector
with the given shard key keywords.
-
Method Details
-
shardKeySelector
public static io.qdrant.client.grpc.Points.ShardKeySelector shardKeySelector(io.qdrant.client.grpc.Collections.ShardKey... shardKeys) Creates aPoints.ShardKeySelector
with the given shard keys.- Parameters:
shardKeys
- The shard keys to include in the selector.- Returns:
- The created
Points.ShardKeySelector
object.
-
shardKeySelector
Creates aPoints.ShardKeySelector
with the given shard key keywords.- Parameters:
keywords
- The shard key keywords to include in the selector.- Returns:
- The created
Points.ShardKeySelector
object.
-
shardKeySelector
public static io.qdrant.client.grpc.Points.ShardKeySelector shardKeySelector(long... numbers) Creates aPoints.ShardKeySelector
with the given shard key numbers.- Parameters:
numbers
- The shard key numbers to include in the selector.- Returns:
- The created
Points.ShardKeySelector
object.
-