Class QdrantBaseOpDispenser<REQUEST,RESULT>

  • Field Details

    • qdrantSpaceFunction

      protected final LongFunction<QdrantSpace> qdrantSpaceFunction
    • clientFunction

      protected final LongFunction<io.qdrant.client.QdrantClient> clientFunction
  • Constructor Details

  • Method Details

    • getParamFunc

      public abstract LongFunction<REQUEST> getParamFunc(LongFunction<io.qdrant.client.QdrantClient> clientF, ParsedOp op, LongFunction<String> targetF)
    • createOpFunc

      public abstract LongFunction<QdrantBaseOp<REQUEST,RESULT>> createOpFunc(LongFunction<REQUEST> paramF, LongFunction<io.qdrant.client.QdrantClient> clientF, ParsedOp op, LongFunction<String> targetF)
    • getOp

      public QdrantBaseOp<REQUEST,RESULT> getOp(long cycle)
      Description copied from interface: OpDispenser
      This method should do all the work of creating an operation that is executable by some other caller. The value produced by the apply method should not require additional processing if a caller wants to execute the operation multiple times, as for retries.
      Parameters:
      cycle - The cycle number which serves as the seed for any generated op fields to be bound into an operation.
      Returns:
      an executable operation
    • getFilterFromOp

      protected LongFunction<io.qdrant.client.grpc.Points.Filter.Builder> getFilterFromOp(ParsedOp op)
      Builds the complete Points.Filter.Builder from the ParsedOp
      Returns:
      LongFunction<Filter.Builder>
      See Also: