public class CouchbasePersistentEntityIndexResolver extends Object implements QueryIndexResolver
| Modifier and Type | Class and Description |
|---|---|
static class |
CouchbasePersistentEntityIndexResolver.IndexDefinitionHolder |
| Constructor and Description |
|---|
CouchbasePersistentEntityIndexResolver(MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> mappingContext,
CouchbaseOperations operations) |
| Modifier and Type | Method and Description |
|---|---|
protected List<CouchbasePersistentEntityIndexResolver.IndexDefinitionHolder> |
createCompositeQueryIndexDefinitions(CouchbasePersistentEntity<?> entity,
CouchbasePersistentProperty property) |
protected CouchbasePersistentEntityIndexResolver.IndexDefinitionHolder |
createFieldQueryIndexDefinition(CouchbasePersistentEntity<?> entity,
CouchbasePersistentProperty property) |
Iterable<? extends CouchbasePersistentEntityIndexResolver.IndexDefinitionHolder> |
resolveIndexFor(TypeInformation<?> typeInformation)
Find and create
IndexDefinitions for properties of given TypeInformation. |
List<CouchbasePersistentEntityIndexResolver.IndexDefinitionHolder> |
resolveIndexForEntity(CouchbasePersistentEntity<?> root) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, resolveIndexForpublic CouchbasePersistentEntityIndexResolver(MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> mappingContext, CouchbaseOperations operations)
public Iterable<? extends CouchbasePersistentEntityIndexResolver.IndexDefinitionHolder> resolveIndexFor(TypeInformation<?> typeInformation)
QueryIndexResolverIndexDefinitions for properties of given TypeInformation. IndexDefinitions
are created for properties and types with QueryIndexed.resolveIndexFor in interface QueryIndexResolverIterable in case no IndexDefinition could be resolved for type.public List<CouchbasePersistentEntityIndexResolver.IndexDefinitionHolder> resolveIndexForEntity(CouchbasePersistentEntity<?> root)
@Nullable protected CouchbasePersistentEntityIndexResolver.IndexDefinitionHolder createFieldQueryIndexDefinition(CouchbasePersistentEntity<?> entity, CouchbasePersistentProperty property)
protected List<CouchbasePersistentEntityIndexResolver.IndexDefinitionHolder> createCompositeQueryIndexDefinitions(CouchbasePersistentEntity<?> entity, CouchbasePersistentProperty property)
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.