Package io.qdrant.client
Class ShardKeyFactory
java.lang.Object
io.qdrant.client.ShardKeyFactory
Convenience methods for constructing
Collections.ShardKey
-
Method Summary
-
Method Details
-
shardKey
Creates aCollections.ShardKey
based on a keyword.- Parameters:
keyword
- The keyword to create the shard key from- Returns:
- The
Collections.ShardKey
object
-
shardKey
public static io.qdrant.client.grpc.Collections.ShardKey shardKey(long number) Creates aCollections.ShardKey
based on a number.- Parameters:
number
- The number to create the shard key from- Returns:
- The
Collections.ShardKey
object
-