public interface QueryIndexResolver
QueryIndexResolver finds those IndexDefinitions to be created for a given class.| Modifier and Type | Method and Description |
|---|---|
static QueryIndexResolver |
create(MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> mappingContext,
CouchbaseOperations operations)
Creates a new
QueryIndexResolver given CouchbaseMappingContext. |
default Iterable<? extends IndexDefinition> |
resolveIndexFor(Class<?> entityType)
Find and create
IndexDefinitions for properties of given TypeInformation. |
Iterable<? extends IndexDefinition> |
resolveIndexFor(TypeInformation<?> typeInformation)
Find and create
IndexDefinitions for properties of given TypeInformation. |
static QueryIndexResolver create(MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> mappingContext, CouchbaseOperations operations)
QueryIndexResolver given CouchbaseMappingContext.mappingContext - must not be null.QueryIndexResolver.Iterable<? extends IndexDefinition> resolveIndexFor(TypeInformation<?> typeInformation)
IndexDefinitions for properties of given TypeInformation. IndexDefinitions
are created for properties and types with QueryIndexed.typeInformation - Iterable in case no IndexDefinition could be resolved for type.default Iterable<? extends IndexDefinition> resolveIndexFor(Class<?> entityType)
IndexDefinitions for properties of given TypeInformation. IndexDefinitions
are created for properties and types with QueryIndexed.entityType - Iterable in case no IndexDefinition could be resolved for type.2.2Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.