Package | Description |
---|---|
org.springframework.data.mongodb.core |
MongoDB core support.
|
org.springframework.data.mongodb.core.index |
Support for MongoDB document indexing.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<String> |
DefaultReactiveIndexOperations.ensureIndex(IndexDefinition indexDefinition) |
String |
DefaultIndexOperations.ensureIndex(IndexDefinition indexDefinition) |
Modifier and Type | Class and Description |
---|---|
class |
CompoundIndexDefinition
Index definition to span multiple keys.
|
class |
GeospatialIndex
Value object to capture data to create a geo index.
|
class |
HashedIndex
IndexDefinition implementation for MongoDB
Hashed Indexes maintaining entries with hashes of
the values of the indexed field. |
class |
Index |
static class |
MongoPersistentEntityIndexResolver.IndexDefinitionHolder
Implementation of
IndexDefinition holding additional (property)path information used for creating the
index. |
class |
TextIndexDefinition
IndexDefinition to span multiple keys for text search. |
class |
WildcardIndex
WildcardIndex is a specific Index that can be used to include all fields into an index based on the
$**" : 1 pattern on a root object (the one typically carrying the
Document annotation). |
Modifier and Type | Method and Description |
---|---|
IndexDefinition |
MongoPersistentEntityIndexResolver.IndexDefinitionHolder.getIndexDefinition()
Get the raw
IndexDefinition . |
Modifier and Type | Method and Description |
---|---|
default Iterable<? extends IndexDefinition> |
IndexResolver.resolveIndexFor(Class<?> entityType)
Find and create
IndexDefinition s for properties of given TypeInformation . |
Iterable<? extends IndexDefinition> |
IndexResolver.resolveIndexFor(TypeInformation<?> typeInformation)
Find and create
IndexDefinition s for properties of given TypeInformation . |
Modifier and Type | Method and Description |
---|---|
String |
IndexOperations.ensureIndex(IndexDefinition indexDefinition)
Ensure that an index for the provided
IndexDefinition exists for the collection indicated by the entity
class. |
reactor.core.publisher.Mono<String> |
ReactiveIndexOperations.ensureIndex(IndexDefinition indexDefinition)
Ensure that an index for the provided
IndexDefinition exists for the collection indicated by the entity
class. |
Constructor and Description |
---|
IndexDefinitionHolder(String path,
IndexDefinition definition,
String collection)
Create
|
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.