Package io.milvus.grpc
Class MilvusServiceGrpc.MilvusServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<MilvusServiceGrpc.MilvusServiceFutureStub>
-
- io.milvus.grpc.MilvusServiceGrpc.MilvusServiceFutureStub
-
- Enclosing class:
- MilvusServiceGrpc
public static final class MilvusServiceGrpc.MilvusServiceFutureStub extends io.grpc.stub.AbstractStub<MilvusServiceGrpc.MilvusServiceFutureStub>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MilvusServiceGrpc.MilvusServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<StringReply>cmd(Command request)@brief Give the server status This method is used to give the server status.com.google.common.util.concurrent.ListenableFuture<TableRowCount>countTable(TableName request)@brief Get table schema This method is used to get table schema.com.google.common.util.concurrent.ListenableFuture<Status>createIndex(IndexParam request)@brief Build index by table method This method is used to build index by table in sync mode.com.google.common.util.concurrent.ListenableFuture<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.com.google.common.util.concurrent.ListenableFuture<Status>deleteByRange(DeleteByRangeParam request)@brief delete table by range This method is used to delete vector by range @return rpc status.com.google.common.util.concurrent.ListenableFuture<IndexParam>describeIndex(TableName request)@brief describe index This method is used to describe index @return Status.com.google.common.util.concurrent.ListenableFuture<TableSchema>describeTable(TableName request)@brief Get table schema This method is used to get table schema.com.google.common.util.concurrent.ListenableFuture<Status>dropIndex(TableName request)@brief drop index This method is used to drop index @return Status.com.google.common.util.concurrent.ListenableFuture<Status>dropTable(TableName request)@brief Delete table method This method is used to delete table.com.google.common.util.concurrent.ListenableFuture<BoolReply>hasTable(TableName request)@brief Test table existence method This method is used to test table existence.com.google.common.util.concurrent.ListenableFuture<VectorIds>insert(InsertParam request)@brief Add vector array to table This method is used to add vector array to table.com.google.common.util.concurrent.ListenableFuture<Status>preloadTable(TableName request)@brief preload table This method is used to preload table @return Status.com.google.common.util.concurrent.ListenableFuture<TopKQueryResultList>search(SearchParam request)@brief Query vector This method is used to query vector in table.com.google.common.util.concurrent.ListenableFuture<TopKQueryResultList>searchInFiles(SearchInFilesParam request)@brief Internal use query interface This method is used to query vector in specified files.com.google.common.util.concurrent.ListenableFuture<TableNameList>showTables(Command request)@brief List all tables in database This method is used to list all tables.
-
-
-
Method Detail
-
build
protected MilvusServiceGrpc.MilvusServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<MilvusServiceGrpc.MilvusServiceFutureStub>
-
createTable
public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<TableNameList> showTables(Command request)
@brief List all tables in database This method is used to list all tables. @return table names.
-
cmd
public com.google.common.util.concurrent.ListenableFuture<StringReply> cmd(Command request)
@brief Give the server status This method is used to give the server status. @return Server status.
-
deleteByRange
public com.google.common.util.concurrent.ListenableFuture<Status> deleteByRange(DeleteByRangeParam request)
@brief delete table by range This method is used to delete vector by range @return rpc status.
-
preloadTable
public com.google.common.util.concurrent.ListenableFuture<Status> preloadTable(TableName request)
@brief preload table This method is used to preload table @return Status.
-
describeIndex
public com.google.common.util.concurrent.ListenableFuture<IndexParam> describeIndex(TableName request)
@brief describe index This method is used to describe index @return Status.
-
-