Package io.milvus.grpc
Interface HitsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Hits,Hits.Builder
public interface HitsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetIDs(int index) repeated int64 IDs = 1;intrepeated int64 IDs = 1;repeated int64 IDs = 1;com.google.protobuf.ByteStringgetRowData(int index) repeated bytes row_data = 2;intrepeated bytes row_data = 2;List<com.google.protobuf.ByteString> repeated bytes row_data = 2;floatgetScores(int index) repeated float scores = 3;intrepeated float scores = 3;repeated float scores = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getIDsList
repeated int64 IDs = 1;- Returns:
- A list containing the iDs.
-
getIDsCount
int getIDsCount()repeated int64 IDs = 1;- Returns:
- The count of iDs.
-
getIDs
long getIDs(int index) repeated int64 IDs = 1;- Parameters:
index- The index of the element to return.- Returns:
- The iDs at the given index.
-
getRowDataList
List<com.google.protobuf.ByteString> getRowDataList()repeated bytes row_data = 2;- Returns:
- A list containing the rowData.
-
getRowDataCount
int getRowDataCount()repeated bytes row_data = 2;- Returns:
- The count of rowData.
-
getRowData
com.google.protobuf.ByteString getRowData(int index) repeated bytes row_data = 2;- Parameters:
index- The index of the element to return.- Returns:
- The rowData at the given index.
-
getScoresList
repeated float scores = 3;- Returns:
- A list containing the scores.
-
getScoresCount
int getScoresCount()repeated float scores = 3;- Returns:
- The count of scores.
-
getScores
float getScores(int index) repeated float scores = 3;- Parameters:
index- The index of the element to return.- Returns:
- The scores at the given index.
-