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 |
---|---|
void |
DefaultIndexOperations.ensureIndex(IndexDefinition indexDefinition) |
void |
IndexOperations.ensureIndex(IndexDefinition indexDefinition)
Ensure that an index for the provided
IndexDefinition exists for the collection indicated by the entity
class. |
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 |
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. |
Modifier and Type | Method and Description |
---|---|
IndexDefinition |
MongoPersistentEntityIndexResolver.IndexDefinitionHolder.getIndexDefinition()
Get the raw
IndexDefinition . |
Constructor and Description |
---|
IndexDefinitionHolder(String path,
IndexDefinition definition,
String collection)
Create
|
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.