Package io.milvus.grpc
Interface TopKQueryResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TopKQueryResult,TopKQueryResult.Builder
public interface TopKQueryResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetDistances(int index)repeated float distances = 4;intgetDistancesCount()repeated float distances = 4;List<Float>getDistancesList()repeated float distances = 4;longgetIds(int index)repeated int64 ids = 3;intgetIdsCount()repeated int64 ids = 3;List<Long>getIdsList()repeated int64 ids = 3;longgetRowNum()int64 row_num = 2;StatusgetStatus().milvus.grpc.Status status = 1;StatusOrBuildergetStatusOrBuilder().milvus.grpc.Status status = 1;booleanhasStatus().milvus.grpc.Status status = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStatus
boolean hasStatus()
.milvus.grpc.Status status = 1;- Returns:
- Whether the status field is set.
-
getStatus
Status getStatus()
.milvus.grpc.Status status = 1;- Returns:
- The status.
-
getStatusOrBuilder
StatusOrBuilder getStatusOrBuilder()
.milvus.grpc.Status status = 1;
-
getRowNum
long getRowNum()
int64 row_num = 2;- Returns:
- The rowNum.
-
getIdsCount
int getIdsCount()
repeated int64 ids = 3;- Returns:
- The count of ids.
-
getIds
long getIds(int index)
repeated int64 ids = 3;- Parameters:
index- The index of the element to return.- Returns:
- The ids at the given index.
-
getDistancesList
List<Float> getDistancesList()
repeated float distances = 4;- Returns:
- A list containing the distances.
-
getDistancesCount
int getDistancesCount()
repeated float distances = 4;- Returns:
- The count of distances.
-
getDistances
float getDistances(int index)
repeated float distances = 4;- Parameters:
index- The index of the element to return.- Returns:
- The distances at the given index.
-
-