| Package | Description |
|---|---|
| org.springframework.data.couchbase.core.convert |
This package contains classes used for entity-to-JSON conversions, type mapping and writing.
|
| org.springframework.data.couchbase.core.index | |
| org.springframework.data.couchbase.core.mapping |
This package contains interfaces and annotations relative to object-json mapping and the notion of a Couchbase
Storable.
|
| org.springframework.data.couchbase.repository.config |
This package contains the support classes to configure repositories in the context of Couchbase.
|
| org.springframework.data.couchbase.repository.query |
This package contains classes related to query derivation and concrete ways of querying couchbase.
|
| org.springframework.data.couchbase.repository.query.support |
This package contains support classes for query derivation and other ways of querying couchbase (helper classes).
|
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.data.mapping.context.MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> |
MappingCouchbaseConverter.mappingContext
The generic mapping context.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.mapping.context.MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> |
MappingCouchbaseConverter.getMappingContext() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
MappingCouchbaseConverter.getValueInternal(CouchbasePersistentProperty property,
CouchbaseDocument source,
Object parent,
org.springframework.data.mapping.PersistentEntity entity)
Loads the property value through the value provider.
|
| Constructor and Description |
|---|
MappingCouchbaseConverter(org.springframework.data.mapping.context.MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> mappingContext)
Create a new
MappingCouchbaseConverter. |
MappingCouchbaseConverter(org.springframework.data.mapping.context.MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> mappingContext,
String typeKey)
Create a new
MappingCouchbaseConverter that will store class name for complex types in the typeKey
attribute. |
| Modifier and Type | Method and Description |
|---|---|
protected List<CouchbasePersistentEntityIndexResolver.IndexDefinitionHolder> |
CouchbasePersistentEntityIndexResolver.createCompositeQueryIndexDefinitions(CouchbasePersistentEntity<?> entity,
CouchbasePersistentProperty property) |
protected CouchbasePersistentEntityIndexResolver.IndexDefinitionHolder |
CouchbasePersistentEntityIndexResolver.createFieldQueryIndexDefinition(CouchbasePersistentEntity<?> entity,
CouchbasePersistentProperty property) |
| Modifier and Type | Method and Description |
|---|---|
static QueryIndexResolver |
QueryIndexResolver.create(org.springframework.data.mapping.context.MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> mappingContext,
CouchbaseOperations operations)
Creates a new
QueryIndexResolver given CouchbaseMappingContext. |
| Constructor and Description |
|---|
CouchbasePersistentEntityIndexResolver(org.springframework.data.mapping.context.MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> mappingContext,
CouchbaseOperations operations) |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicCouchbasePersistentProperty
Implements annotated property representations of a given
Field instance. |
| Modifier and Type | Method and Description |
|---|---|
protected CouchbasePersistentProperty |
CouchbaseMappingContext.createPersistentProperty(org.springframework.data.mapping.model.Property property,
BasicCouchbasePersistentEntity<?> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
Creates a concrete property based on the field information and entity.
|
CouchbasePersistentProperty |
BasicCouchbasePersistentEntity.getTextScoreProperty() |
CouchbasePersistentProperty |
CouchbasePersistentEntity.getTextScoreProperty() |
protected CouchbasePersistentProperty |
BasicCouchbasePersistentEntity.returnPropertyIfBetterIdPropertyCandidateOrNull(CouchbasePersistentProperty property) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.data.mapping.Association<CouchbasePersistentProperty> |
BasicCouchbasePersistentProperty.createAssociation()
Creates a new Association.
|
| Modifier and Type | Method and Description |
|---|---|
protected CouchbasePersistentProperty |
BasicCouchbasePersistentEntity.returnPropertyIfBetterIdPropertyCandidateOrNull(CouchbasePersistentProperty property) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.mapping.context.MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> |
ReactiveRepositoryOperationsMapping.getMappingContext()
Get the
MappingContext to use in repositories. |
org.springframework.data.mapping.context.MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> |
RepositoryOperationsMapping.getMappingContext()
Get the
MappingContext to use in repositories. |
| Modifier and Type | Method and Description |
|---|---|
static N1QLExpression |
N1qlQueryCreator.addMetaIfRequired(String bucketName,
org.springframework.data.mapping.PersistentPropertyPath<CouchbasePersistentProperty> persistentPropertyPath,
CouchbasePersistentProperty property,
org.springframework.data.mapping.PersistentEntity entity)
Translate meta-fields to META(bucketName).id, cas, expiry.
|
| Modifier and Type | Method and Description |
|---|---|
static N1QLExpression |
N1qlQueryCreator.addMetaIfRequired(String bucketName,
org.springframework.data.mapping.PersistentPropertyPath<CouchbasePersistentProperty> persistentPropertyPath,
CouchbasePersistentProperty property,
org.springframework.data.mapping.PersistentEntity entity)
Translate meta-fields to META(bucketName).id, cas, expiry.
|
| Constructor and Description |
|---|
CouchbaseQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.projection.ProjectionFactory factory,
org.springframework.data.mapping.context.MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> mappingContext) |
ReactiveCouchbaseQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.projection.ProjectionFactory projectionFactory,
org.springframework.data.mapping.context.MappingContext<? extends CouchbasePersistentEntity<?>,CouchbasePersistentProperty> mappingContext)
Creates a new
ReactiveCouchbaseQueryMethod from the given Method. |
| Modifier and Type | Field and Description |
|---|---|
static Converter<? super CouchbasePersistentProperty,String> |
N1qlUtils.FIELD_NAME_ESCAPED
A converter that can be used to extract the
fieldName, eg. when
one wants a path from PersistentPropertyPath.toDotPath(Converter) made of escaped field names. |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.data.mapping.PersistentPropertyPath<CouchbasePersistentProperty> |
N1qlUtils.getPathWithAlternativeFieldNames(CouchbaseConverter converter,
org.springframework.data.mapping.PropertyPath property)
Given a common
PropertyPath, returns the corresponding PersistentPropertyPath of
CouchbasePersistentProperty which will allow to discover alternative naming for fields. |
| Modifier and Type | Method and Description |
|---|---|
static String |
N1qlUtils.getDottedPathWithAlternativeFieldNames(org.springframework.data.mapping.PersistentPropertyPath<CouchbasePersistentProperty> path)
Given a
PersistentPropertyPath of CouchbasePersistentProperty (see
N1qlUtils.getPathWithAlternativeFieldNames(CouchbaseConverter, PropertyPath)), obtain a String representation of the
path, separated with dots and using alternative field names. |
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.