public class SpelIndexResolver extends Object implements IndexResolver
| Constructor and Description |
|---|
SpelIndexResolver(RedisMappingContext mappingContext)
Creates a new instance using a default
SpelExpressionParser. |
SpelIndexResolver(RedisMappingContext mappingContext,
SpelExpressionParser parser)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
setBeanResolver(BeanResolver beanResolver)
Allows setting the BeanResolver
|
public SpelIndexResolver(RedisMappingContext mappingContext)
SpelExpressionParser.mappingContext - the RedisMappingContext to use. Cannot be null.public SpelIndexResolver(RedisMappingContext mappingContext, SpelExpressionParser parser)
mappingContext - the RedisMappingContext to use. Cannot be null.parser - the SpelExpressionParser to use. Cannot 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.public void setBeanResolver(BeanResolver beanResolver)
beanResolver - can be null.BeanFactoryResolverCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.