public class PathIndexResolver extends Object implements IndexResolver
IndexResolver implementation considering properties annotated with Indexed or paths set up in
IndexConfiguration.| Constructor and Description |
|---|
PathIndexResolver()
Creates new
PathIndexResolver with empty IndexConfiguration. |
PathIndexResolver(RedisMappingContext mappingContext)
Creates new
PathIndexResolver with given IndexConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
protected Set<IndexedData> |
resolveIndex(String keyspace,
String propertyPath,
org.springframework.data.mapping.PersistentProperty<?> property,
Object value) |
Set<IndexedData> |
resolveIndexesFor(String keyspace,
String path,
org.springframework.data.util.TypeInformation<?> typeInformation,
Object value)
Resolves all indexes for given type information / value combination.
|
Set<IndexedData> |
resolveIndexesFor(org.springframework.data.util.TypeInformation<?> typeInformation,
Object value)
Resolves all indexes for given type information / value combination.
|
public PathIndexResolver()
PathIndexResolver with empty IndexConfiguration.public PathIndexResolver(RedisMappingContext mappingContext)
PathIndexResolver with given IndexConfiguration.mappingContext - must not be null.public Set<IndexedData> resolveIndexesFor(org.springframework.data.util.TypeInformation<?> typeInformation, Object value)
IndexResolverresolveIndexesFor in interface IndexResolvertypeInformation - must not be null.value - the actual value. Can be null.public Set<IndexedData> resolveIndexesFor(String keyspace, String path, org.springframework.data.util.TypeInformation<?> typeInformation, Object value)
IndexResolverresolveIndexesFor in interface IndexResolverkeyspace - must not be null.path - must not be null.typeInformation - must not be null.value - the actual value. Can be null.protected Set<IndexedData> resolveIndex(String keyspace, String propertyPath, org.springframework.data.mapping.PersistentProperty<?> property, Object value)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.