|
Spring Data Document | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexOperations
Index operations on a collection.
Method Summary | |
---|---|
void |
dropAllIndexes()
Drops all indices from this collection. |
void |
dropIndex(String name)
Drops an index from this collection. |
void |
ensureIndex(IndexDefinition indexDefinition)
Ensure that an index for the provided IndexDefinition exists for the collection indicated by the entity
class. |
List<IndexInfo> |
getIndexInfo()
Returns the index information on the collection. |
void |
resetIndexCache()
Clears all indices that have not yet been applied to this collection. |
Method Detail |
---|
void ensureIndex(IndexDefinition indexDefinition)
IndexDefinition
exists for the collection indicated by the entity
class. If not it will be created.
indexDefinition
- must not be null.void dropIndex(String name)
name
- name of index to dropvoid dropAllIndexes()
void resetIndexCache()
List<IndexInfo> getIndexInfo()
|
Spring Data Document | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |