milvus.grpc_gen package

Submodules

milvus.grpc_gen.milvus_pb2 module

milvus.grpc_gen.milvus_pb2_grpc module

class milvus.grpc_gen.milvus_pb2_grpc.MilvusServiceServicer[source]

Bases: object

Cmd(request, context)[source]

@brief Give the server status

This method is used to give the server status.

@return Server status.

CountTable(request, context)[source]

@brief Get table schema

This method is used to get table schema.

@param table_name, target table name.

@return table schema

CreateIndex(request, context)[source]

@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.

CreateTable(request, context)[source]

@brief Create table method

This method is used to create table

@param param, use to provide table information to be created.

DeleteByRange(request, context)[source]

@brief delete table by range

This method is used to delete vector by range

@return rpc status.

DescribeIndex(request, context)[source]

@brief describe index

This method is used to describe index

@return Status.

DescribeTable(request, context)[source]

@brief Get table schema

This method is used to get table schema.

@param table_name, target table name.

@return table schema

DropIndex(request, context)[source]

@brief drop index

This method is used to drop index

@return Status.

DropTable(request, context)[source]

@brief Delete table method

This method is used to delete table.

@param table_name, table name is going to be deleted.

HasTable(request, context)[source]

@brief Test table existence method

This method is used to test table existence.

@param table_name, table name is going to be tested.

Insert(request, context)[source]

@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

PreloadTable(request, context)[source]

@brief preload table

This method is used to preload table

@return Status.

Search(request, context)[source]

@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(request, context)[source]

@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.

ShowTables(request, context)[source]

@brief List all tables in database

This method is used to list all tables.

@return table names.

class milvus.grpc_gen.milvus_pb2_grpc.MilvusServiceStub(channel)[source]

Bases: object

milvus.grpc_gen.milvus_pb2_grpc.add_MilvusServiceServicer_to_server(servicer, server)[source]

milvus.grpc_gen.status_pb2 module

milvus.grpc_gen.status_pb2_grpc module

Module contents