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 org.springframework.data.redis.core.index.RedisIndexDefinition
RedisIndexDefinition.CompositeValueTransformer, RedisIndexDefinition.LowercaseIndexValueTransformer, RedisIndexDefinition.NoOpValueTransformer, RedisIndexDefinition.OrCondition<T>, RedisIndexDefinition.PathConditionNested classes/interfaces inherited from interface org.springframework.data.redis.core.index.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 org.springframework.data.redis.core.index.RedisIndexDefinition
addCondition, equals, getConditions, getIndexName, getKeyspace, getPath, hashCode, setValueTransformer, valueTransformerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.core.index.IndexDefinition
getConditions, getIndexName, getKeyspace, valueTransformerMethods inherited from interface org.springframework.data.redis.core.index.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.
-