Package io.dingodb.common
Interface Common.CreateFlatParamOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Common.CreateFlatParam,Common.CreateFlatParam.Builder
- Enclosing class:
- Common
public static interface Common.CreateFlatParamOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintdimensions requireddistance calculation method (L2 or InnerProduct) requiredintdistance calculation method (L2 or InnerProduct) requiredMethods 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
-
getDimension
int getDimension()dimensions required
uint32 dimension = 1;- Returns:
- The dimension.
-
getMetricTypeValue
int getMetricTypeValue()distance calculation method (L2 or InnerProduct) required
.dingodb.pb.common.MetricType metric_type = 2;- Returns:
- The enum numeric value on the wire for metricType.
-
getMetricType
Common.MetricType getMetricType()distance calculation method (L2 or InnerProduct) required
.dingodb.pb.common.MetricType metric_type = 2;- Returns:
- The metricType.
-