Class MappingConfiguration
java.lang.Object
org.springframework.data.redis.core.convert.MappingConfiguration
MappingConfiguration
is used for programmatic configuration of secondary indexes, key prefixes, expirations
and the such.- Since:
- 1.7
- Author:
- Christoph Strobl
-
Constructor Summary
ConstructorDescriptionMappingConfiguration
(ConfigurableIndexDefinitionProvider indexConfiguration, KeyspaceConfiguration keyspaceConfiguration) Creates newMappingConfiguration
. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
MappingConfiguration
public MappingConfiguration(ConfigurableIndexDefinitionProvider indexConfiguration, KeyspaceConfiguration keyspaceConfiguration) Creates newMappingConfiguration
.- Parameters:
indexConfiguration
- must not be null.keyspaceConfiguration
- must not be null.
-
-
Method Details
-
getIndexConfiguration
- Returns:
- never null.
-
getKeyspaceConfiguration
- Returns:
- never null.
-