Class MilvusServiceGrpc.MilvusServiceImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Enclosing class:
    MilvusServiceGrpc

    public abstract static class MilvusServiceGrpc.MilvusServiceImplBase
    extends Object
    implements io.grpc.BindableService
    • Constructor Detail

      • MilvusServiceImplBase

        public MilvusServiceImplBase()
    • 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
         
      • bindService

        public final io.grpc.ServerServiceDefinition bindService()
        Specified by:
        bindService in interface io.grpc.BindableService