Package io.milvus.grpc
Class MilvusServiceGrpc.MilvusServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<MilvusServiceGrpc.MilvusServiceStub>
-
- io.milvus.grpc.MilvusServiceGrpc.MilvusServiceStub
-
- Enclosing class:
- MilvusServiceGrpc
public static final class MilvusServiceGrpc.MilvusServiceStub extends io.grpc.stub.AbstractAsyncStub<MilvusServiceGrpc.MilvusServiceStub>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MilvusServiceGrpc.MilvusServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcmd(Command request, io.grpc.stub.StreamObserver<StringReply> responseObserver)@brief This method is used to give the server status.voidcompact(CollectionName request, io.grpc.stub.StreamObserver<Status> responseObserver)@brief This method is used to compact collection @param CollectionName, target collection name.voidcountCollection(CollectionName request, io.grpc.stub.StreamObserver<CollectionRowCount> responseObserver)@brief This method is used to get collection schema.voidcreateCollection(CollectionSchema request, io.grpc.stub.StreamObserver<Status> responseObserver)@brief This method is used to create collection @param CollectionSchema, use to provide collection information to be created.voidcreateIndex(IndexParam request, io.grpc.stub.StreamObserver<Status> responseObserver)@brief This method is used to build index by collection in sync mode.voidcreatePartition(PartitionParam request, io.grpc.stub.StreamObserver<Status> responseObserver)@brief This method is used to create partition @param PartitionParam, partition parameters.voiddeleteByID(DeleteByIDParam request, io.grpc.stub.StreamObserver<Status> responseObserver)@brief This method is used to delete vector by id @param DeleteByIDParam, delete parameters.voiddescribeCollection(CollectionName request, io.grpc.stub.StreamObserver<CollectionSchema> responseObserver)@brief This method is used to get collection schema.voiddescribeIndex(CollectionName request, io.grpc.stub.StreamObserver<IndexParam> responseObserver)@brief This method is used to describe index @param CollectionName, target collection name.voiddropCollection(CollectionName request, io.grpc.stub.StreamObserver<Status> responseObserver)@brief This method is used to delete collection.voiddropIndex(CollectionName request, io.grpc.stub.StreamObserver<Status> responseObserver)@brief This method is used to drop index @param CollectionName, target collection name.voiddropPartition(PartitionParam request, io.grpc.stub.StreamObserver<Status> responseObserver)@brief This method is used to drop partition @param PartitionParam, target partition.voidflush(FlushParam request, io.grpc.stub.StreamObserver<Status> responseObserver)@brief This method is used to flush buffer into storage.voidgetVectorIDs(GetVectorIDsParam request, io.grpc.stub.StreamObserver<VectorIds> responseObserver)@brief This method is used to get vector ids from a segment @param GetVectorIDsParam, target collection and segment @return VectorIdsvoidgetVectorsByID(VectorsIdentity request, io.grpc.stub.StreamObserver<VectorsData> responseObserver)@brief This method is used to get vectors data by id array.voidhasCollection(CollectionName request, io.grpc.stub.StreamObserver<BoolReply> responseObserver)@brief This method is used to test collection existence.voidhasPartition(PartitionParam request, io.grpc.stub.StreamObserver<BoolReply> responseObserver)@brief This method is used to test partition existence.voidinsert(InsertParam request, io.grpc.stub.StreamObserver<VectorIds> responseObserver)@brief This method is used to add vector array to collection.voidpreloadCollection(CollectionName request, io.grpc.stub.StreamObserver<Status> responseObserver)@brief This method is used to preload collection @param CollectionName, target collection name.voidsearch(SearchParam request, io.grpc.stub.StreamObserver<TopKQueryResult> responseObserver)@brief This method is used to query vector in collection.voidsearchByID(SearchByIDParam request, io.grpc.stub.StreamObserver<TopKQueryResult> responseObserver)@brief This method is used to query vector by id.voidsearchInFiles(SearchInFilesParam request, io.grpc.stub.StreamObserver<TopKQueryResult> responseObserver)@brief This method is used to query vector in specified files.voidshowCollectionInfo(CollectionName request, io.grpc.stub.StreamObserver<CollectionInfo> responseObserver)@brief This method is used to get collection detail information.voidshowCollections(Command request, io.grpc.stub.StreamObserver<CollectionNameList> responseObserver)@brief This method is used to list all collections.voidshowPartitions(CollectionName request, io.grpc.stub.StreamObserver<PartitionList> responseObserver)@brief This method is used to show partition information @param CollectionName, target collection name.
-
-
-
Method Detail
-
build
protected MilvusServiceGrpc.MilvusServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<MilvusServiceGrpc.MilvusServiceStub>
-
createCollection
public void createCollection(CollectionSchema request, io.grpc.stub.StreamObserver<Status> responseObserver)
@brief This method is used to create collection @param CollectionSchema, use to provide collection information to be created. @return Status
-
hasCollection
public void hasCollection(CollectionName request, io.grpc.stub.StreamObserver<BoolReply> responseObserver)
@brief This method is used to test collection existence. @param CollectionName, collection name is going to be tested. @return BoolReply
-
describeCollection
public void describeCollection(CollectionName request, io.grpc.stub.StreamObserver<CollectionSchema> responseObserver)
@brief This method is used to get collection schema. @param CollectionName, target collection name. @return CollectionSchema
-
countCollection
public void countCollection(CollectionName request, io.grpc.stub.StreamObserver<CollectionRowCount> responseObserver)
@brief This method is used to get collection schema. @param CollectionName, target collection name. @return CollectionRowCount
-
showCollections
public void showCollections(Command request, io.grpc.stub.StreamObserver<CollectionNameList> responseObserver)
@brief This method is used to list all collections. @param Command, dummy parameter. @return CollectionNameList
-
showCollectionInfo
public void showCollectionInfo(CollectionName request, io.grpc.stub.StreamObserver<CollectionInfo> responseObserver)
@brief This method is used to get collection detail information. @param CollectionName, target collection name. @return CollectionInfo
-
dropCollection
public void dropCollection(CollectionName request, io.grpc.stub.StreamObserver<Status> responseObserver)
@brief This method is used to delete collection. @param CollectionName, collection name is going to be deleted. @return CollectionNameList
-
createIndex
public void createIndex(IndexParam request, io.grpc.stub.StreamObserver<Status> responseObserver)
@brief This method is used to build index by collection in sync mode. @param IndexParam, index paramters. @return Status
-
describeIndex
public void describeIndex(CollectionName request, io.grpc.stub.StreamObserver<IndexParam> responseObserver)
@brief This method is used to describe index @param CollectionName, target collection name. @return IndexParam
-
dropIndex
public void dropIndex(CollectionName request, io.grpc.stub.StreamObserver<Status> responseObserver)
@brief This method is used to drop index @param CollectionName, target collection name. @return Status
-
createPartition
public void createPartition(PartitionParam request, io.grpc.stub.StreamObserver<Status> responseObserver)
@brief This method is used to create partition @param PartitionParam, partition parameters. @return Status
-
hasPartition
public void hasPartition(PartitionParam request, io.grpc.stub.StreamObserver<BoolReply> responseObserver)
@brief This method is used to test partition existence. @param PartitionParam, target partition. @return BoolReply
-
showPartitions
public void showPartitions(CollectionName request, io.grpc.stub.StreamObserver<PartitionList> responseObserver)
@brief This method is used to show partition information @param CollectionName, target collection name. @return PartitionList
-
dropPartition
public void dropPartition(PartitionParam request, io.grpc.stub.StreamObserver<Status> responseObserver)
@brief This method is used to drop partition @param PartitionParam, target partition. @return Status
-
insert
public void insert(InsertParam request, io.grpc.stub.StreamObserver<VectorIds> responseObserver)
@brief This method is used to add vector array to collection. @param InsertParam, insert parameters. @return VectorIds
-
getVectorsByID
public void getVectorsByID(VectorsIdentity request, io.grpc.stub.StreamObserver<VectorsData> responseObserver)
@brief This method is used to get vectors data by id array. @param VectorsIdentity, target vector id array. @return VectorsData
-
getVectorIDs
public void getVectorIDs(GetVectorIDsParam request, io.grpc.stub.StreamObserver<VectorIds> responseObserver)
@brief This method is used to get vector ids from a segment @param GetVectorIDsParam, target collection and segment @return VectorIds
-
search
public void search(SearchParam request, io.grpc.stub.StreamObserver<TopKQueryResult> responseObserver)
@brief This method is used to query vector in collection. @param SearchParam, search parameters. @return TopKQueryResult
-
searchByID
public void searchByID(SearchByIDParam request, io.grpc.stub.StreamObserver<TopKQueryResult> responseObserver)
@brief This method is used to query vector by id. @param SearchByIDParam, search parameters. @return TopKQueryResult
-
searchInFiles
public void searchInFiles(SearchInFilesParam request, io.grpc.stub.StreamObserver<TopKQueryResult> responseObserver)
@brief This method is used to query vector in specified files. @param SearchInFilesParam, search in files paremeters. @return TopKQueryResult
-
cmd
public void cmd(Command request, io.grpc.stub.StreamObserver<StringReply> responseObserver)
@brief This method is used to give the server status. @param Command, command string @return StringReply
-
deleteByID
public void deleteByID(DeleteByIDParam request, io.grpc.stub.StreamObserver<Status> responseObserver)
@brief This method is used to delete vector by id @param DeleteByIDParam, delete parameters. @return status
-
preloadCollection
public void preloadCollection(CollectionName request, io.grpc.stub.StreamObserver<Status> responseObserver)
@brief This method is used to preload collection @param CollectionName, target collection name. @return Status
-
flush
public void flush(FlushParam request, io.grpc.stub.StreamObserver<Status> responseObserver)
@brief This method is used to flush buffer into storage. @param FlushParam, flush parameters @return Status
-
compact
public void compact(CollectionName request, io.grpc.stub.StreamObserver<Status> responseObserver)
@brief This method is used to compact collection @param CollectionName, target collection name. @return Status
-
-