Class WithPayloadSelectorFactory

java.lang.Object
io.qdrant.client.WithPayloadSelectorFactory

public final class WithPayloadSelectorFactory extends Object
Convenience methods for constructing Points.WithPayloadSelector
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.qdrant.client.grpc.Points.WithPayloadSelector
    enable(boolean enable)
    Whether to include all payload in response.
    static io.qdrant.client.grpc.Points.WithPayloadSelector
    exclude(List<String> fields)
    Which payload fields to exclude in response.
    static io.qdrant.client.grpc.Points.WithPayloadSelector
    include(List<String> fields)
    Which payload fields to include in response.

    Methods inherited from class java.lang.Object

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

    • enable

      public static io.qdrant.client.grpc.Points.WithPayloadSelector enable(boolean enable)
      Whether to include all payload in response.
      Parameters:
      enable - if true, to include all payload, if false, none.
      Returns:
      a new instance of Points.WithPayloadSelector
    • include

      public static io.qdrant.client.grpc.Points.WithPayloadSelector include(List<String> fields)
      Which payload fields to include in response.
      Parameters:
      fields - the list of fields to include.
      Returns:
      a new instance of Points.WithPayloadSelector
    • exclude

      public static io.qdrant.client.grpc.Points.WithPayloadSelector exclude(List<String> fields)
      Which payload fields to exclude in response.
      Parameters:
      fields - the list of fields to exclude.
      Returns:
      a new instance of Points.WithPayloadSelector