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.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 | Method and Description |
---|---|
CouchbaseConverter |
CouchbaseTemplate.getConverter() |
CouchbaseConverter |
CouchbaseOperations.getConverter()
Returns the underlying
CouchbaseConverter . |
Constructor and Description |
---|
CouchbaseTemplate(com.couchbase.client.java.cluster.ClusterInfo clusterInfo,
com.couchbase.client.java.Bucket client,
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.
|
Constructor and Description |
---|
N1qlCountQueryCreator(PartTree tree,
ParameterAccessor parameters,
com.couchbase.client.java.query.dsl.path.WherePath selectFrom,
CouchbaseConverter converter,
CouchbaseQueryMethod queryMethod) |
N1qlQueryCreator(PartTree tree,
ParameterAccessor parameters,
com.couchbase.client.java.query.dsl.path.WherePath selectFrom,
CouchbaseConverter converter,
CouchbaseQueryMethod queryMethod) |
SpatialViewQueryCreator(int dimensions,
PartTree tree,
ParameterAccessor parameters,
com.couchbase.client.java.view.SpatialViewQuery query,
CouchbaseConverter converter) |
ViewQueryCreator(PartTree tree,
ParameterAccessor parameters,
View viewAnnotation,
com.couchbase.client.java.view.ViewQuery query,
CouchbaseConverter converter) |
Modifier and Type | Method and Description |
---|---|
static <T> com.couchbase.client.java.query.Statement |
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 com.couchbase.client.java.query.dsl.Sort[] |
N1qlUtils.createSort(Sort sort,
CouchbaseConverter converter)
Create a N1QL
Sort out of a Spring Data Sort . |
static com.couchbase.client.java.query.dsl.Expression |
N1qlUtils.createWhereFilterForEntity(com.couchbase.client.java.query.dsl.Expression baseWhereCriteria,
CouchbaseConverter converter,
EntityMetadata<?> entityInformation)
Produces an
Expression 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. |
Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.