All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.milvus.grpc.TopKQueryResultOrBuilder Maven / Gradle / Ivy

Go to download

Java SDK for Milvus, a distributed high-performance vector search engine. update grpc to 1.42.1 update protobuf to 3.19.1 restore the calcDistance interface that is removed in 2.1.0-beta4

There is a newer version: 2.2.2.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: milvus.proto

package io.milvus.grpc;

public interface TopKQueryResultOrBuilder extends
    // @@protoc_insertion_point(interface_extends:milvus.grpc.TopKQueryResult)
    com.google.protobuf.MessageOrBuilder {

  /**
   * .milvus.grpc.Status status = 1;
   * @return Whether the status field is set.
   */
  boolean hasStatus();
  /**
   * .milvus.grpc.Status status = 1;
   * @return The status.
   */
  io.milvus.grpc.Status getStatus();
  /**
   * .milvus.grpc.Status status = 1;
   */
  io.milvus.grpc.StatusOrBuilder getStatusOrBuilder();

  /**
   * int64 row_num = 2;
   * @return The rowNum.
   */
  long getRowNum();

  /**
   * repeated int64 ids = 3;
   * @return A list containing the ids.
   */
  java.util.List getIdsList();
  /**
   * repeated int64 ids = 3;
   * @return The count of ids.
   */
  int getIdsCount();
  /**
   * repeated int64 ids = 3;
   * @param index The index of the element to return.
   * @return The ids at the given index.
   */
  long getIds(int index);

  /**
   * repeated float distances = 4;
   * @return A list containing the distances.
   */
  java.util.List getDistancesList();
  /**
   * repeated float distances = 4;
   * @return The count of distances.
   */
  int getDistancesCount();
  /**
   * repeated float distances = 4;
   * @param index The index of the element to return.
   * @return The distances at the given index.
   */
  float getDistances(int index);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy