Package io.milvus.grpc
Class MilvusServiceGrpc.MilvusServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<MilvusServiceGrpc.MilvusServiceFutureStub>
-
- io.milvus.grpc.MilvusServiceGrpc.MilvusServiceFutureStub
-
- Enclosing class:
- MilvusServiceGrpc
public static final class MilvusServiceGrpc.MilvusServiceFutureStub extends io.grpc.stub.AbstractFutureStub<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 This method is used to give the server status.com.google.common.util.concurrent.ListenableFuture<Status>compact(TableName request)@brief This method is used to compact table @param TableName, target table name.com.google.common.util.concurrent.ListenableFuture<TableRowCount>countTable(TableName request)@brief This method is used to get table schema.com.google.common.util.concurrent.ListenableFuture<Status>createIndex(IndexParam request)@brief This method is used to build index by table in sync mode.com.google.common.util.concurrent.ListenableFuture<Status>createPartition(PartitionParam request)@brief This method is used to create partition @param PartitionParam, partition parameters.com.google.common.util.concurrent.ListenableFuture<Status>createTable(TableSchema request)@brief This method is used to create table @param TableSchema, use to provide table information to be created.com.google.common.util.concurrent.ListenableFuture<Status>deleteByID(DeleteByIDParam request)@brief This method is used to delete vector by id @param DeleteByIDParam, delete parameters.com.google.common.util.concurrent.ListenableFuture<IndexParam>describeIndex(TableName request)@brief This method is used to describe index @param TableName, target table name.com.google.common.util.concurrent.ListenableFuture<TableSchema>describeTable(TableName request)@brief This method is used to get table schema.com.google.common.util.concurrent.ListenableFuture<Status>dropIndex(TableName request)@brief This method is used to drop index @param TableName, target table name.com.google.common.util.concurrent.ListenableFuture<Status>dropPartition(PartitionParam request)@brief This method is used to drop partition @param PartitionParam, target partition.com.google.common.util.concurrent.ListenableFuture<Status>dropTable(TableName request)@brief This method is used to delete table.com.google.common.util.concurrent.ListenableFuture<Status>flush(FlushParam request)@brief This method is used to flush buffer into storage.com.google.common.util.concurrent.ListenableFuture<VectorData>getVectorByID(VectorIdentity request)@brief This method is used to get vector data by id.com.google.common.util.concurrent.ListenableFuture<VectorIds>getVectorIDs(GetVectorIDsParam request)@brief This method is used to get vector ids from a segment @param GetVectorIDsParam, target table and segment @return VectorIdscom.google.common.util.concurrent.ListenableFuture<BoolReply>hasTable(TableName request)@brief This method is used to test table existence.com.google.common.util.concurrent.ListenableFuture<VectorIds>insert(InsertParam request)@brief This method is used to add vector array to table.com.google.common.util.concurrent.ListenableFuture<Status>preloadTable(TableName request)@brief This method is used to preload table @param TableName, target table name.com.google.common.util.concurrent.ListenableFuture<TopKQueryResult>search(SearchParam request)@brief This method is used to query vector in table.com.google.common.util.concurrent.ListenableFuture<TopKQueryResult>searchInFiles(SearchInFilesParam request)@brief This method is used to query vector in specified files.com.google.common.util.concurrent.ListenableFuture<PartitionList>showPartitions(TableName request)@brief This method is used to show partition information @param TableName, target table name.com.google.common.util.concurrent.ListenableFuture<TableInfo>showTableInfo(TableName request)@brief This method is used to get table detail information.com.google.common.util.concurrent.ListenableFuture<TableNameList>showTables(Command request)@brief 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 This method is used to create table @param TableSchema, use to provide table information to be created. @return Status
-
hasTable
public com.google.common.util.concurrent.ListenableFuture<BoolReply> hasTable(TableName request)
@brief This method is used to test table existence. @param TableName, table name is going to be tested. @return BoolReply
-
describeTable
public com.google.common.util.concurrent.ListenableFuture<TableSchema> describeTable(TableName request)
@brief This method is used to get table schema. @param TableName, target table name. @return TableSchema
-
countTable
public com.google.common.util.concurrent.ListenableFuture<TableRowCount> countTable(TableName request)
@brief This method is used to get table schema. @param TableName, target table name. @return TableRowCount
-
showTables
public com.google.common.util.concurrent.ListenableFuture<TableNameList> showTables(Command request)
@brief This method is used to list all tables. @param Command, dummy parameter. @return TableNameList
-
showTableInfo
public com.google.common.util.concurrent.ListenableFuture<TableInfo> showTableInfo(TableName request)
@brief This method is used to get table detail information. @param TableName, target table name. @return TableInfo
-
dropTable
public com.google.common.util.concurrent.ListenableFuture<Status> dropTable(TableName request)
@brief This method is used to delete table. @param TableName, table name is going to be deleted. @return TableNameList
-
createIndex
public com.google.common.util.concurrent.ListenableFuture<Status> createIndex(IndexParam request)
@brief This method is used to build index by table in sync mode. @param IndexParam, index paramters. @return Status
-
describeIndex
public com.google.common.util.concurrent.ListenableFuture<IndexParam> describeIndex(TableName request)
@brief This method is used to describe index @param TableName, target table name. @return IndexParam
-
dropIndex
public com.google.common.util.concurrent.ListenableFuture<Status> dropIndex(TableName request)
@brief This method is used to drop index @param TableName, target table name. @return Status
-
createPartition
public com.google.common.util.concurrent.ListenableFuture<Status> createPartition(PartitionParam request)
@brief This method is used to create partition @param PartitionParam, partition parameters. @return Status
-
showPartitions
public com.google.common.util.concurrent.ListenableFuture<PartitionList> showPartitions(TableName request)
@brief This method is used to show partition information @param TableName, target table name. @return PartitionList
-
dropPartition
public com.google.common.util.concurrent.ListenableFuture<Status> dropPartition(PartitionParam request)
@brief This method is used to drop partition @param PartitionParam, target partition. @return Status
-
insert
public com.google.common.util.concurrent.ListenableFuture<VectorIds> insert(InsertParam request)
@brief This method is used to add vector array to table. @param InsertParam, insert parameters. @return VectorIds
-
getVectorByID
public com.google.common.util.concurrent.ListenableFuture<VectorData> getVectorByID(VectorIdentity request)
@brief This method is used to get vector data by id. @param VectorIdentity, target vector id. @return VectorData
-
getVectorIDs
public com.google.common.util.concurrent.ListenableFuture<VectorIds> getVectorIDs(GetVectorIDsParam request)
@brief This method is used to get vector ids from a segment @param GetVectorIDsParam, target table and segment @return VectorIds
-
search
public com.google.common.util.concurrent.ListenableFuture<TopKQueryResult> search(SearchParam request)
@brief This method is used to query vector in table. @param SearchParam, search parameters. @return TopKQueryResult
-
searchInFiles
public com.google.common.util.concurrent.ListenableFuture<TopKQueryResult> searchInFiles(SearchInFilesParam request)
@brief This method is used to query vector in specified files. @param SearchInFilesParam, search in files paremeters. @return TopKQueryResult
-
cmd
public com.google.common.util.concurrent.ListenableFuture<StringReply> cmd(Command request)
@brief This method is used to give the server status. @param Command, command string @return StringReply
-
deleteByID
public com.google.common.util.concurrent.ListenableFuture<Status> deleteByID(DeleteByIDParam request)
@brief This method is used to delete vector by id @param DeleteByIDParam, delete parameters. @return status
-
preloadTable
public com.google.common.util.concurrent.ListenableFuture<Status> preloadTable(TableName request)
@brief This method is used to preload table @param TableName, target table name. @return Status
-
flush
public com.google.common.util.concurrent.ListenableFuture<Status> flush(FlushParam request)
@brief This method is used to flush buffer into storage. @param FlushParam, flush parameters @return Status
-
-