Interface Common.VectorOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    getBinaryValues(int index)
    repeated bytes binary_values = 4;
    int
    repeated bytes binary_values = 4;
    List<com.google.protobuf.ByteString>
    repeated bytes binary_values = 4;
    int
    int32 dimension = 1;
    float
    getFloatValues(int index)
    repeated float float_values = 3;
    int
    repeated float float_values = 3;
    repeated float float_values = 3;
    .dingodb.pb.common.ValueType value_type = 2;
    int
    .dingodb.pb.common.ValueType value_type = 2;

    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()
      int32 dimension = 1;
      Returns:
      The dimension.
    • getValueTypeValue

      int getValueTypeValue()
      .dingodb.pb.common.ValueType value_type = 2;
      Returns:
      The enum numeric value on the wire for valueType.
    • getValueType

      Common.ValueType getValueType()
      .dingodb.pb.common.ValueType value_type = 2;
      Returns:
      The valueType.
    • getFloatValuesList

      List<Float> getFloatValuesList()
      repeated float float_values = 3;
      Returns:
      A list containing the floatValues.
    • getFloatValuesCount

      int getFloatValuesCount()
      repeated float float_values = 3;
      Returns:
      The count of floatValues.
    • getFloatValues

      float getFloatValues(int index)
      repeated float float_values = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The floatValues at the given index.
    • getBinaryValuesList

      List<com.google.protobuf.ByteString> getBinaryValuesList()
      repeated bytes binary_values = 4;
      Returns:
      A list containing the binaryValues.
    • getBinaryValuesCount

      int getBinaryValuesCount()
      repeated bytes binary_values = 4;
      Returns:
      The count of binaryValues.
    • getBinaryValues

      com.google.protobuf.ByteString getBinaryValues(int index)
      repeated bytes binary_values = 4;
      Parameters:
      index - The index of the element to return.
      Returns:
      The binaryValues at the given index.