Package io.dingodb.common
Interface Common.VectorWithDistanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Common.VectorWithDistance,Common.VectorWithDistance.Builder
- Enclosing class:
- Common
public static interface Common.VectorWithDistanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatfloat distance = 2;.dingodb.pb.common.MetricType metric_type = 3;int.dingodb.pb.common.MetricType metric_type = 3;.dingodb.pb.common.VectorWithId vector_with_id = 1;.dingodb.pb.common.VectorWithId vector_with_id = 1;boolean.dingodb.pb.common.VectorWithId vector_with_id = 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
-
hasVectorWithId
boolean hasVectorWithId().dingodb.pb.common.VectorWithId vector_with_id = 1;- Returns:
- Whether the vectorWithId field is set.
-
getVectorWithId
Common.VectorWithId getVectorWithId().dingodb.pb.common.VectorWithId vector_with_id = 1;- Returns:
- The vectorWithId.
-
getVectorWithIdOrBuilder
Common.VectorWithIdOrBuilder getVectorWithIdOrBuilder().dingodb.pb.common.VectorWithId vector_with_id = 1; -
getDistance
float getDistance()float distance = 2;- Returns:
- The distance.
-
getMetricTypeValue
int getMetricTypeValue().dingodb.pb.common.MetricType metric_type = 3;- Returns:
- The enum numeric value on the wire for metricType.
-
getMetricType
Common.MetricType getMetricType().dingodb.pb.common.MetricType metric_type = 3;- Returns:
- The metricType.
-