public interface ReactiveIndexOperations
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
dropAllIndexes()
Drops all indices from this collection.
|
reactor.core.publisher.Mono<Void> |
dropIndex(String name)
Drops an index from this collection.
|
reactor.core.publisher.Mono<String> |
ensureIndex(IndexDefinition indexDefinition)
Ensure that an index for the provided
IndexDefinition exists for the collection indicated by the entity
class. |
reactor.core.publisher.Flux<IndexInfo> |
getIndexInfo()
Returns the index information on the collection.
|
reactor.core.publisher.Mono<String> ensureIndex(IndexDefinition indexDefinition)
IndexDefinition exists for the collection indicated by the entity
class. If not it will be created.indexDefinition - must not be null.reactor.core.publisher.Mono<Void> dropIndex(String name)
name - name of index to dropreactor.core.publisher.Mono<Void> dropAllIndexes()
reactor.core.publisher.Flux<IndexInfo> getIndexInfo()
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.