Interface SearchRequest.EmbeddingSpec.EmbeddingVectorOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getFieldPath()
      Embedding field path in schema.
      com.google.protobuf.ByteString getFieldPathBytes()
      Embedding field path in schema.
      float getVector​(int index)
      Query embedding vector.
      int getVectorCount()
      Query embedding vector.
      List<Float> getVectorList()
      Query embedding vector.
      • 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 Detail

      • getFieldPath

        String getFieldPath()
         Embedding field path in schema.
         
        string field_path = 1;
        Returns:
        The fieldPath.
      • getFieldPathBytes

        com.google.protobuf.ByteString getFieldPathBytes()
         Embedding field path in schema.
         
        string field_path = 1;
        Returns:
        The bytes for fieldPath.
      • getVectorList

        List<Float> getVectorList()
         Query embedding vector.
         
        repeated float vector = 2;
        Returns:
        A list containing the vector.
      • getVectorCount

        int getVectorCount()
         Query embedding vector.
         
        repeated float vector = 2;
        Returns:
        The count of vector.
      • getVector

        float getVector​(int index)
         Query embedding vector.
         
        repeated float vector = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The vector at the given index.