Package io.dingodb.index
Interface Index.VectorDistanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Index.VectorDistance,Index.VectorDistance.Builder
- Enclosing class:
- Index
public static interface Index.VectorDistanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatgetInternalDistances(int index) repeated float internal_distances = 1;intrepeated float internal_distances = 1;repeated float internal_distances = 1;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
-
getInternalDistancesList
repeated float internal_distances = 1;- Returns:
- A list containing the internalDistances.
-
getInternalDistancesCount
int getInternalDistancesCount()repeated float internal_distances = 1;- Returns:
- The count of internalDistances.
-
getInternalDistances
float getInternalDistances(int index) repeated float internal_distances = 1;- Parameters:
index- The index of the element to return.- Returns:
- The internalDistances at the given index.
-