Interface Common.CreateBinaryFlatParamOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    dimensions required
    only support hamming
    int
    only support hamming
    boolean
    BinaryFlat Default option is EXACT_TOPK , APPROX_TOPK_BUCKETS_B16_D2 allows to trade accuracy vs speed , so increases the speed Default is false

    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()
       only support hamming
       
      .dingodb.pb.common.MetricType metric_type = 2;
      Returns:
      The enum numeric value on the wire for metricType.
    • getMetricType

      Common.MetricType getMetricType()
       only support hamming
       
      .dingodb.pb.common.MetricType metric_type = 2;
      Returns:
      The metricType.
    • getUseApproximateTopK

      boolean getUseApproximateTopK()
       BinaryFlat Default option is EXACT_TOPK , APPROX_TOPK_BUCKETS_B16_D2 allows to trade accuracy vs speed , so
       increases the speed Default is false
       
      bool use_approximate_top_k = 3;
      Returns:
      The useApproximateTopK.