Class MilvusServiceGrpc.MilvusServiceFutureStub

    • 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 Detail

      • createCollection

        public com.google.common.util.concurrent.ListenableFuture<Status> createCollection​(CollectionSchema request)
        
         @brief This method is used to create collection
         @param CollectionSchema, use to provide collection information to be created.
         @return Status
         
      • hasCollection

        public com.google.common.util.concurrent.ListenableFuture<BoolReply> hasCollection​(CollectionName request)
        
         @brief This method is used to test collection existence.
         @param CollectionName, collection name is going to be tested.
         @return BoolReply
         
      • describeCollection

        public com.google.common.util.concurrent.ListenableFuture<CollectionSchema> describeCollection​(CollectionName request)
        
         @brief This method is used to get collection schema.
         @param CollectionName, target collection name.
         @return CollectionSchema
         
      • countCollection

        public com.google.common.util.concurrent.ListenableFuture<CollectionRowCount> countCollection​(CollectionName request)
        
         @brief This method is used to get collection schema.
         @param CollectionName, target collection name.
         @return CollectionRowCount
         
      • showCollections

        public com.google.common.util.concurrent.ListenableFuture<CollectionNameList> showCollections​(Command request)
        
         @brief This method is used to list all collections.
         @param Command, dummy parameter.
         @return CollectionNameList
         
      • showCollectionInfo

        public com.google.common.util.concurrent.ListenableFuture<CollectionInfo> showCollectionInfo​(CollectionName request)
        
         @brief This method is used to get collection detail information.
         @param CollectionName, target collection name.
         @return CollectionInfo
         
      • dropCollection

        public com.google.common.util.concurrent.ListenableFuture<Status> dropCollection​(CollectionName request)
        
         @brief This method is used to delete collection.
         @param CollectionName, collection name is going to be deleted.
         @return CollectionNameList
         
      • createIndex

        public com.google.common.util.concurrent.ListenableFuture<Status> createIndex​(IndexParam request)
        
         @brief This method is used to build index by collection in sync mode.
         @param IndexParam, index paramters.
         @return Status
         
      • describeIndex

        public com.google.common.util.concurrent.ListenableFuture<IndexParam> describeIndex​(CollectionName request)
        
         @brief This method is used to describe index
         @param CollectionName, target collection name.
         @return IndexParam
         
      • dropIndex

        public com.google.common.util.concurrent.ListenableFuture<Status> dropIndex​(CollectionName request)
        
         @brief This method is used to drop index
         @param CollectionName, target collection 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
         
      • hasPartition

        public com.google.common.util.concurrent.ListenableFuture<BoolReply> hasPartition​(PartitionParam request)
        
         @brief This method is used to test partition existence.
         @param PartitionParam, target partition.
         @return BoolReply
         
      • showPartitions

        public com.google.common.util.concurrent.ListenableFuture<PartitionList> showPartitions​(CollectionName request)
        
         @brief This method is used to show partition information
         @param CollectionName, target collection 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 collection.
         @param InsertParam, insert parameters.
         @return VectorIds
         
      • getVectorsByID

        public com.google.common.util.concurrent.ListenableFuture<VectorsData> getVectorsByID​(VectorsIdentity request)
        
         @brief This method is used to get vectors data by id array.
         @param VectorsIdentity, target vector id array.
         @return VectorsData
         
      • 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 collection 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 collection.
         @param SearchParam, search parameters.
         @return TopKQueryResult
         
      • searchByID

        public com.google.common.util.concurrent.ListenableFuture<TopKQueryResult> searchByID​(SearchByIDParam request)
        
         @brief This method is used to query vector by id.
         @param SearchByIDParam, 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
         
      • preloadCollection

        public com.google.common.util.concurrent.ListenableFuture<Status> preloadCollection​(CollectionName request)
        
         @brief This method is used to preload collection
         @param CollectionName, target collection 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
         
      • compact

        public com.google.common.util.concurrent.ListenableFuture<Status> compact​(CollectionName request)
        
         @brief This method is used to compact collection
         @param CollectionName, target collection name.
         @return Status