Interface Common.CreateHnswParamOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    dimensions required
    int
    the range traversed in the graph during the process of finding node neighbors when composing the graph.
    int
    Set the maximum number of elements.
    distance calculation method (L2 or InnerProduct) required
    int
    distance calculation method (L2 or InnerProduct) required
    int
    The number of node neighbors, the larger the value, the better the composition effect, and the more memory it takes.

    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.
    • getEfConstruction

      int getEfConstruction()
       the range traversed in the graph during the process of finding node neighbors when
       composing the graph. The larger the value, the better the composition effect and the
       longer the composition time. Default 40 required
       
      uint32 efConstruction = 3;
      Returns:
      The efConstruction.
    • getMaxElements

      int getMaxElements()
       Set the maximum number of elements. required
       
      uint32 max_elements = 4;
      Returns:
      The maxElements.
    • getNlinks

      int getNlinks()
       The number of node neighbors, the larger the value, the better the composition effect, and the
       more memory it takes. Default 32. required .
       
      int32 nlinks = 5;
      Returns:
      The nlinks.