Class SimpleIndexDefinition
java.lang.Object
org.springframework.data.redis.core.index.RedisIndexDefinition
org.springframework.data.redis.core.index.SimpleIndexDefinition
- All Implemented Interfaces:
IndexDefinition, PathBasedRedisIndexDefinition
public class SimpleIndexDefinition
extends RedisIndexDefinition
implements PathBasedRedisIndexDefinition
PathBasedRedisIndexDefinition for including property values in a secondary index. Uses Redis SET for storage.
- Since:
- 1.7
- Author:
- Christoph Strobl
-
Nested Class Summary
Nested classes/interfaces inherited from class RedisIndexDefinition
RedisIndexDefinition.CompositeValueTransformer, RedisIndexDefinition.LowercaseIndexValueTransformer, RedisIndexDefinition.NoOpValueTransformer, RedisIndexDefinition.OrCondition<T>, RedisIndexDefinition.PathConditionNested classes/interfaces inherited from interface IndexDefinition
IndexDefinition.Condition<T>, IndexDefinition.IndexingContext -
Constructor Summary
ConstructorsConstructorDescriptionSimpleIndexDefinition(String keyspace, String path) Creates newSimpleIndexDefinition.SimpleIndexDefinition(String keyspace, String path, String name) Creates newSimpleIndexDefinition. -
Method Summary
Methods inherited from class RedisIndexDefinition
addCondition, equals, getConditions, getIndexName, getKeyspace, getPath, hashCode, setValueTransformer, valueTransformerMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IndexDefinition
getConditions, getIndexName, getKeyspace, valueTransformerMethods inherited from interface PathBasedRedisIndexDefinition
getPath
-
Constructor Details
-
SimpleIndexDefinition
Creates newSimpleIndexDefinition.- Parameters:
keyspace- must not be null.path-
-
SimpleIndexDefinition
Creates newSimpleIndexDefinition.- Parameters:
keyspace- must not be null.path-name- must not be null.
-