Module spring.data.redis
Class RedisIndexDefinition
java.lang.Object
org.springframework.data.redis.core.index.RedisIndexDefinition
- All Implemented Interfaces:
IndexDefinition
- Direct Known Subclasses:
GeoIndexDefinition,SimpleIndexDefinition,SpelIndexDefinition
Base
IndexDefinition implementation.- Since:
- 1.7
- Author:
- Christoph Strobl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enumstatic classstatic classNested classes/interfaces inherited from interface org.springframework.data.redis.core.index.IndexDefinition
IndexDefinition.Condition<T>, IndexDefinition.IndexingContext -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRedisIndexDefinition(String keyspace, String path, String indexName) Creates newRedisIndexDefinition. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCondition(IndexDefinition.Condition<?> condition) booleangetPath()inthashCode()voidsetValueTransformer(IndexValueTransformer valueTransformer)
-
Constructor Details
-
RedisIndexDefinition
Creates newRedisIndexDefinition.- Parameters:
keyspace-path-indexName-
-
-
Method Details
-
getKeyspace
- Specified by:
getKeyspacein interfaceIndexDefinition- Returns:
- never null.
-
getConditions
- Specified by:
getConditionsin interfaceIndexDefinition- Returns:
- never null.
-
valueTransformer
- Specified by:
valueTransformerin interfaceIndexDefinition- Returns:
- never null.
-
getIndexName
- Specified by:
getIndexNamein interfaceIndexDefinition- Returns:
- never null.
-
getPath
-
addCondition
-
setValueTransformer
-
hashCode
public int hashCode() -
equals
-