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.query |
This package contains annotations and classes relative to querying with Couchbase (whether through views or N1QL) and
the associated indexes.
|
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).
|
org.springframework.data.couchbase.repository.support |
This package contains the Couchbase implementations to support the Spring Data repository abstraction.
|
Modifier and Type | Method and Description |
---|---|
CouchbaseConverter |
CouchbaseTemplate.getConverter() |
CouchbaseConverter |
ReactiveCouchbaseOperations.getConverter()
Returns the converter used for this template/operations.
|
CouchbaseConverter |
ReactiveCouchbaseTemplate.getConverter() |
CouchbaseConverter |
CouchbaseOperations.getConverter()
Returns the converter used for this template/operations.
|
Constructor and Description |
---|
CouchbaseTemplate(CouchbaseClientFactory clientFactory,
CouchbaseConverter converter) |
CouchbaseTemplate(CouchbaseClientFactory clientFactory,
CouchbaseConverter converter,
TranslationService translationService) |
ReactiveCouchbaseTemplate(CouchbaseClientFactory clientFactory,
CouchbaseConverter converter) |
ReactiveCouchbaseTemplate(CouchbaseClientFactory clientFactory,
CouchbaseConverter converter,
TranslationService translationService) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCouchbaseConverter
An abstract
CouchbaseConverter that provides the basics for the MappingCouchbaseConverter . |
class |
MappingCouchbaseConverter
A mapping converter for Couchbase.
|
Modifier and Type | Method and Description |
---|---|
void |
Query.appendWhere(StringBuilder sb,
int[] paramIndexPtr,
CouchbaseConverter converter) |
String |
QueryCriteria.export(int[] paramIndexPtr,
com.couchbase.client.java.json.JsonValue parameters,
CouchbaseConverter converter)
This exports the query criteria chain into a string to be appended to the beginning of an N1QL statement
|
String |
QueryCriteriaDefinition.export(int[] paramIndexPtr,
com.couchbase.client.java.json.JsonValue parameters,
CouchbaseConverter converter)
This exports the query criteria into a string to be appended to the beginning of an N1QL statement
|
Modifier and Type | Method and Description |
---|---|
static <T> N1QLExpression |
N1qlUtils.createCountQueryForEntity(String bucketName,
CouchbaseConverter converter,
CouchbaseEntityInformation<T,String> entityInformation)
Creates a full N1QL query that counts total number of the given entity in the bucket.
|
static N1QLExpression |
N1qlUtils.createSelectClauseForEntity(String bucketName,
ReturnedType returnedType,
CouchbaseConverter converter)
Produce a
N1QLExpression that corresponds to the SELECT clause for looking for Spring Data entities stored
in Couchbase. |
static N1QLExpression |
N1qlUtils.createWhereFilterForEntity(N1QLExpression baseWhereCriteria,
CouchbaseConverter converter,
EntityMetadata<?> entityInformation)
Produces an
N1QLExpression that can serve as a WHERE clause criteria to only select documents in a bucket
that matches a particular Spring Data entity (as given by the EntityMetadata parameter). |
static PersistentPropertyPath<CouchbasePersistentProperty> |
N1qlUtils.getPathWithAlternativeFieldNames(CouchbaseConverter converter,
PropertyPath property)
Given a common
PropertyPath , returns the corresponding PersistentPropertyPath of
CouchbasePersistentProperty which will allow to discover alternative naming for fields. |
static N1QLExpression |
N1qlQueryCreatorUtils.prepareExpression(CouchbaseConverter converter,
Part part,
Iterator<Object> iterator,
AtomicInteger position,
com.couchbase.client.java.json.JsonArray placeHolderValues) |
Modifier and Type | Method and Description |
---|---|
static boolean |
Util.hasNonZeroVersionProperty(Object entity,
CouchbaseConverter converter) |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.