public interface QueryIndexResolver
QueryIndexResolver
finds those IndexDefinition
s 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
IndexDefinition s for properties of given TypeInformation . |
Iterable<? extends IndexDefinition> |
resolveIndexFor(TypeInformation<?> typeInformation)
Find and create
IndexDefinition s 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)
IndexDefinition
s for properties of given TypeInformation
. IndexDefinition
s
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)
IndexDefinition
s for properties of given TypeInformation
. IndexDefinition
s
are created for properties and types with QueryIndexed
.entityType
- Iterable
in case no IndexDefinition
could be resolved for type.2.2
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.