public class ExampleQueryMapper extends Object
RedisOperationChain for a given Example considering exact matches,
value transformations and ExampleMatcher.MatchMode for indexed simple and nested type
properties. Map and Collection properties are not considered.
Example matching is limited to case-sensitive and exact matches only.| Constructor and Description |
|---|
ExampleQueryMapper(MappingContext<RedisPersistentEntity<?>,RedisPersistentProperty> mappingContext,
IndexResolver indexResolver)
|
| Modifier and Type | Method and Description |
|---|---|
RedisOperationChain |
getMappedExample(Example<?> example)
Retrieve a mapped
RedisOperationChain to query secondary indexes given Example. |
public ExampleQueryMapper(MappingContext<RedisPersistentEntity<?>,RedisPersistentProperty> mappingContext, IndexResolver indexResolver)
mappingContext - must not be null.indexResolver - must not be null.public RedisOperationChain getMappedExample(Example<?> example)
RedisOperationChain to query secondary indexes given Example.example - must not be null.RedisOperationChain.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.