Class MilvusServiceGrpc.MilvusServiceStub

    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

        io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected MilvusServiceGrpc.MilvusServiceStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      void cmd​(Command request, io.grpc.stub.StreamObserver<StringReply> responseObserver)
      @brief This method is used to give the server status.
      void compact​(CollectionName request, io.grpc.stub.StreamObserver<Status> responseObserver)
      @brief This method is used to compact collection @param CollectionName, target collection name.
      void countCollection​(CollectionName request, io.grpc.stub.StreamObserver<CollectionRowCount> responseObserver)
      @brief This method is used to get collection schema.
      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.
      void createIndex​(IndexParam request, io.grpc.stub.StreamObserver<Status> responseObserver)
      @brief This method is used to build index by collection in sync mode.
      void createPartition​(PartitionParam request, io.grpc.stub.StreamObserver<Status> responseObserver)
      @brief This method is used to create partition @param PartitionParam, partition parameters.
      void deleteByID​(DeleteByIDParam request, io.grpc.stub.StreamObserver<Status> responseObserver)
      @brief This method is used to delete vector by id @param DeleteByIDParam, delete parameters.
      void describeCollection​(CollectionName request, io.grpc.stub.StreamObserver<CollectionSchema> responseObserver)
      @brief This method is used to get collection schema.
      void describeIndex​(CollectionName request, io.grpc.stub.StreamObserver<IndexParam> responseObserver)
      @brief This method is used to describe index @param CollectionName, target collection name.
      void dropCollection​(CollectionName request, io.grpc.stub.StreamObserver<Status> responseObserver)
      @brief This method is used to delete collection.
      void dropIndex​(CollectionName request, io.grpc.stub.StreamObserver<Status> responseObserver)
      @brief This method is used to drop index @param CollectionName, target collection name.
      void dropPartition​(PartitionParam request, io.grpc.stub.StreamObserver<Status> responseObserver)
      @brief This method is used to drop partition @param PartitionParam, target partition.
      void flush​(FlushParam request, io.grpc.stub.StreamObserver<Status> responseObserver)
      @brief This method is used to flush buffer into storage.
      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
      void getVectorsByID​(VectorsIdentity request, io.grpc.stub.StreamObserver<VectorsData> responseObserver)
      @brief This method is used to get vectors data by id array.
      void hasCollection​(CollectionName request, io.grpc.stub.StreamObserver<BoolReply> responseObserver)
      @brief This method is used to test collection existence.
      void hasPartition​(PartitionParam request, io.grpc.stub.StreamObserver<BoolReply> responseObserver)
      @brief This method is used to test partition existence.
      void insert​(InsertParam request, io.grpc.stub.StreamObserver<VectorIds> responseObserver)
      @brief This method is used to add vector array to collection.
      void preloadCollection​(CollectionName request, io.grpc.stub.StreamObserver<Status> responseObserver)
      @brief This method is used to preload collection @param CollectionName, target collection name.
      void search​(SearchParam request, io.grpc.stub.StreamObserver<TopKQueryResult> responseObserver)
      @brief This method is used to query vector in collection.
      void searchByID​(SearchByIDParam request, io.grpc.stub.StreamObserver<TopKQueryResult> responseObserver)
      @brief This method is used to query vector by id.
      void searchInFiles​(SearchInFilesParam request, io.grpc.stub.StreamObserver<TopKQueryResult> responseObserver)
      @brief This method is used to query vector in specified files.
      void showCollectionInfo​(CollectionName request, io.grpc.stub.StreamObserver<CollectionInfo> responseObserver)
      @brief This method is used to get collection detail information.
      void showCollections​(Command request, io.grpc.stub.StreamObserver<CollectionNameList> responseObserver)
      @brief This method is used to list all collections.
      void showPartitions​(CollectionName request, io.grpc.stub.StreamObserver<PartitionList> responseObserver)
      @brief This method is used to show partition information @param CollectionName, target collection name.
      • Methods inherited from class io.grpc.stub.AbstractAsyncStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
    • Method Detail

      • 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