Class DropIndexParam.Builder

    • Method Detail

      • withDatabaseName

        public DropIndexParam.Builder withDatabaseName​(String databaseName)
        Sets the database name. database name can be nil.
        Parameters:
        databaseName - database name
        Returns:
        Builder
      • withCollectionName

        public DropIndexParam.Builder withCollectionName​(@NonNull
                                                         @NonNull String collectionName)
        Sets the collection name. Collection name cannot be empty or null.
        Parameters:
        collectionName - collection name
        Returns:
        Builder
      • withIndexName

        public DropIndexParam.Builder withIndexName​(@NonNull
                                                    @NonNull String indexName)
        The name of index which will be dropped. If no index name is specified, the default index name("_default_idx") is used.
        Parameters:
        indexName - index name
        Returns:
        Builder