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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetIDs(int index)repeated int64 IDs = 1;intgetIDsCount()repeated int64 IDs = 1;List<Long>getIDsList()repeated int64 IDs = 1;com.google.protobuf.ByteStringgetRowData(int index)repeated bytes row_data = 2;intgetRowDataCount()repeated bytes row_data = 2;List<com.google.protobuf.ByteString>getRowDataList()repeated bytes row_data = 2;floatgetScores(int index)repeated float scores = 3;intgetScoresCount()repeated float scores = 3;List<Float>getScoresList()repeated float scores = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
List<Float> 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.
-
-