Module spring.data.redis
Interface IndexDefinitionProvider
- All Known Subinterfaces:
ConfigurableIndexDefinitionProvider
- All Known Implementing Classes:
IndexConfiguration
public interface IndexDefinitionProvider
IndexDefinitionProvider give access to IndexDefinitions for creating secondary index structures.- Since:
- 1.7
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptiongetIndexDefinitionsFor(Serializable keyspace) Get the list ofIndexDefinitionfor a givenkeyspace.getIndexDefinitionsFor(Serializable keyspace, String path) booleanhasIndexFor(Serializable keyspace) Checks if an index is defined for a givenkeyspace.booleanhasIndexFor(Serializable keyspace, String path) Checks if an index is defined for a givenkeyspaceand propertypath.
-
Method Details
-
hasIndexFor
Checks if an index is defined for a givenkeyspace.- Parameters:
keyspace- the keyspace to get- Returns:
- never null
-
hasIndexFor
Checks if an index is defined for a givenkeyspaceand propertypath.- Parameters:
keyspace-path-- Returns:
- true if index is defined.
-
getIndexDefinitionsFor
Get the list ofIndexDefinitionfor a givenkeyspace.- Parameters:
keyspace-- Returns:
- never null.
-
getIndexDefinitionsFor
- Parameters:
keyspace-path-- Returns:
- never null.
-