Class MilvusServiceGrpc.MilvusServiceBlockingStub

    • Method Detail

      • createTable

        public Status createTable​(TableSchema request)
        
         @brief Create table method
         This method is used to create table
         @param param, use to provide table information to be created.
         
      • hasTable

        public BoolReply hasTable​(TableName request)
        
         @brief Test table existence method
         This method is used to test table existence.
         @param table_name, table name is going to be tested.
         
      • dropTable

        public Status dropTable​(TableName request)
        
         @brief Delete table method
         This method is used to delete table.
         @param table_name, table name is going to be deleted.
         
      • createIndex

        public Status createIndex​(IndexParam request)
        
         @brief Build index by table method
         This method is used to build index by table in sync mode.
         @param table_name, table is going to be built index.
         
      • insert

        public VectorIds insert​(InsertParam request)
        
         @brief Add vector array to table
         This method is used to add vector array to table.
         @param table_name, table_name is inserted.
         @param record_array, vector array is inserted.
         @return vector id array
         
      • search

        public TopKQueryResultList search​(SearchParam request)
        
         @brief Query vector
         This method is used to query vector in table.
         @param table_name, table_name is queried.
         @param query_record_array, all vector are going to be queried.
         @param query_range_array, optional ranges for conditional search. If not specified, search whole table
         @param topk, how many similarity vectors will be searched.
         @return query result array.
         
      • searchInFiles

        public TopKQueryResultList searchInFiles​(SearchInFilesParam request)
        
         @brief Internal use query interface
         This method is used to query vector in specified files.
         @param file_id_array, specified files id array, queried.
         @param query_record_array, all vector are going to be queried.
         @param query_range_array, optional ranges for conditional search. If not specified, search whole table
         @param topk, how many similarity vectors will be searched.
         @return query result array.
         
      • describeTable

        public TableSchema describeTable​(TableName request)
        
         @brief Get table schema
         This method is used to get table schema.
         @param table_name, target table name.
         @return table schema
         
      • countTable

        public TableRowCount countTable​(TableName request)
        
         @brief Get table schema
         This method is used to get table schema.
         @param table_name, target table name.
         @return table schema
         
      • showTables

        public TableNameList showTables​(Command request)
        
         @brief List all tables in database
         This method is used to list all tables.
         @return table names.
         
      • cmd

        public StringReply cmd​(Command request)
        
         @brief Give the server status
         This method is used to give the server status.
         @return Server status.
         
      • deleteByRange

        public Status deleteByRange​(DeleteByRangeParam request)
        
         @brief delete table by range
         This method is used to delete vector by range
         @return rpc status.
         
      • preloadTable

        public Status preloadTable​(TableName request)
        
         @brief preload table
         This method is used to preload table
         @return Status.
         
      • describeIndex

        public IndexParam describeIndex​(TableName request)
        
         @brief describe index
         This method is used to describe index
         @return Status.
         
      • dropIndex

        public Status dropIndex​(TableName request)
        
         @brief drop index
         This method is used to drop index
         @return Status.