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
Modifier and TypeClassDescriptionstatic class
static enum
static enum
static class
static class
Nested classes/interfaces inherited from interface org.springframework.data.redis.core.index.IndexDefinition
IndexDefinition.Condition<T>, IndexDefinition.IndexingContext
-
Constructor Summary
ModifierConstructorDescriptionprotected
RedisIndexDefinition
(String keyspace, String path, String indexName) Creates newRedisIndexDefinition
. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCondition
(IndexDefinition.Condition<?> condition) boolean
getPath()
int
hashCode()
void
setValueTransformer
(IndexValueTransformer valueTransformer)
-
Constructor Details
-
RedisIndexDefinition
Creates newRedisIndexDefinition
.- Parameters:
keyspace
-path
-indexName
-
-
-
Method Details
-
getKeyspace
- Specified by:
getKeyspace
in interfaceIndexDefinition
- Returns:
- never null.
-
getConditions
- Specified by:
getConditions
in interfaceIndexDefinition
- Returns:
- never null.
-
valueTransformer
- Specified by:
valueTransformer
in interfaceIndexDefinition
- Returns:
- never null.
-
getIndexName
- Specified by:
getIndexName
in interfaceIndexDefinition
- Returns:
- never null.
-
getPath
-
addCondition
-
setValueTransformer
-
hashCode
public int hashCode() -
equals
-