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,
PersistentProperty<?> property,
Object value) |
Set<IndexedData> |
resolveIndexesFor(String keyspace,
String path,
TypeInformation<?> typeInformation,
Object value)
Resolves all indexes for given type information / value combination.
|
Set<IndexedData> |
resolveIndexesFor(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(TypeInformation<?> typeInformation, @Nullable 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, 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, @Nullable PersistentProperty<?> property, @Nullable Object value)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.