| Package | Description |
|---|---|
| org.springframework.data.couchbase.core |
This package contains the specific implementations and core classes for
Spring Data Couchbase internals.
|
| 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.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> |
CouchbaseTemplate.mappingContext |
| 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)
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 | Class and Description |
|---|---|
class |
BasicCouchbasePersistentProperty
Implements annotated property representations of a given
Field instance. |
| Modifier and Type | Method and Description |
|---|---|
protected CouchbasePersistentProperty |
CouchbaseMappingContext.createPersistentProperty(Field field,
PropertyDescriptor descriptor,
BasicCouchbasePersistentEntity<?> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
Creates a concrete property based on the field information and entity.
|
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> |
RepositoryOperationsMapping.getMappingContext()
Get the
MappingContext to use in repositories. |
| 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) |
| Modifier and Type | Field and Description |
|---|---|
static org.springframework.core.convert.converter.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.context.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.context.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–2017 Pivotal Software, Inc.. All rights reserved.