Interface Common.CreateIvfFlatParamOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Common.CreateIvfFlatParam, Common.CreateIvfFlatParam.Builder
Enclosing class:
Common

public static interface Common.CreateIvfFlatParamOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    dimensions required
    distance calculation method (L2 or InnerProduct) required
    int
    distance calculation method (L2 or InnerProduct) required
    int
    Number of cluster centers (default 2048) required

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.
    • getNcentroids

      int getNcentroids()
       Number of cluster centers (default 2048) required
       
      int32 ncentroids = 3;
      Returns:
      The ncentroids.