Class ShardKeySelectorFactory

java.lang.Object
io.qdrant.client.ShardKeySelectorFactory

public class ShardKeySelectorFactory extends Object
Convenience methods for constructing Points.ShardKeySelector
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.qdrant.client.grpc.Points.ShardKeySelector
    shardKeySelector(long... numbers)
    Creates a Points.ShardKeySelector with the given shard key numbers.
    static io.qdrant.client.grpc.Points.ShardKeySelector
    shardKeySelector(io.qdrant.client.grpc.Collections.ShardKey... shardKeys)
    Creates a Points.ShardKeySelector with the given shard keys.
    static io.qdrant.client.grpc.Points.ShardKeySelector
    shardKeySelector(String... keywords)
    Creates a Points.ShardKeySelector with the given shard key keywords.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • shardKeySelector

      public static io.qdrant.client.grpc.Points.ShardKeySelector shardKeySelector(io.qdrant.client.grpc.Collections.ShardKey... shardKeys)
      Creates a Points.ShardKeySelector with the given shard keys.
      Parameters:
      shardKeys - The shard keys to include in the selector.
      Returns:
      The created Points.ShardKeySelector object.
    • shardKeySelector

      public static io.qdrant.client.grpc.Points.ShardKeySelector shardKeySelector(String... keywords)
      Creates a Points.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 a Points.ShardKeySelector with the given shard key numbers.
      Parameters:
      numbers - The shard key numbers to include in the selector.
      Returns:
      The created Points.ShardKeySelector object.