Uses of Interface
org.springframework.data.couchbase.core.convert.CouchbaseConverter
Package
Description
This package contains the specific implementations and core classes for Spring Data Couchbase internals.
This package contains classes used for entity-to-JSON conversions, type mapping and writing.
This package contains annotations and classes relative to querying with Couchbase (whether through views or N1QL) and
the associated indexes.
This package contains classes related to query derivation and concrete ways of querying couchbase.
This package contains support classes for query derivation and other ways of querying couchbase (helper classes).
This package contains the Couchbase implementations to support the Spring Data repository abstraction.
-
Uses of CouchbaseConverter in org.springframework.data.couchbase.core
Modifier and TypeMethodDescriptionCouchbaseOperations.getConverter()
Returns the converter used for this template/operations.CouchbaseTemplate.getConverter()
ReactiveCouchbaseOperations.getConverter()
Returns the converter used for this template/operations.ReactiveCouchbaseTemplate.getConverter()
ModifierConstructorDescriptionAbstractTemplateSupport
(ReactiveCouchbaseTemplate template, CouchbaseConverter converter, TranslationService translationService) CouchbaseTemplate
(CouchbaseClientFactory clientFactory, CouchbaseConverter converter) CouchbaseTemplate
(CouchbaseClientFactory clientFactory, CouchbaseConverter converter, TranslationService translationService) CouchbaseTemplate
(CouchbaseClientFactory clientFactory, CouchbaseConverter converter, TranslationService translationService, com.couchbase.client.java.query.QueryScanConsistency scanConsistency) ReactiveCouchbaseTemplate
(CouchbaseClientFactory clientFactory, CouchbaseConverter converter) ReactiveCouchbaseTemplate
(CouchbaseClientFactory clientFactory, CouchbaseConverter converter, TranslationService translationService) ReactiveCouchbaseTemplate
(CouchbaseClientFactory clientFactory, CouchbaseConverter converter, TranslationService translationService, com.couchbase.client.java.query.QueryScanConsistency scanConsistency) -
Uses of CouchbaseConverter in org.springframework.data.couchbase.core.convert
Modifier and TypeClassDescriptionclass
An abstractCouchbaseConverter
that provides the basics for theMappingCouchbaseConverter
.class
A mapping converter for Couchbase. -
Uses of CouchbaseConverter in org.springframework.data.couchbase.core.query
Modifier and TypeMethodDescriptionvoid
Query.appendWhere
(StringBuilder sb, int[] paramIndexPtr, CouchbaseConverter converter) 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 statementQueryCriteriaDefinition.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 statementstatic com.couchbase.client.core.msg.kv.DurabilityLevel
OptionsBuilder.getDurabilityLevel
(Class<?> domainType, CouchbaseConverter converter) Query.getN1qlSpelValues
(CouchbaseConverter converter, String bucketName, String scopeName, String collectionName, Class domainClass, Class returnClass, boolean isCount, String[] distinctFields, String[] fields) Query.toN1qlRemoveString
(CouchbaseConverter converter, String bucketName, String scopeName, String collectionName, Class domainClass) StringQuery.toN1qlRemoveString
(CouchbaseConverter converter, String bucketName, String scopeName, String collectionName, Class domainClass) toN1qlRemoveString - use toN1qlSelectStringN1QLQuery.toN1qlSelectString
(CouchbaseConverter template, String bucketName, String scopeName, String collectionName, Class domainClass, Class returnClass, boolean isCount, String[] distinctFields, String[] fields) Query.toN1qlSelectString
(CouchbaseConverter converter, String bucketName, String scopeName, String collectionName, Class domainClass, Class returnClass, boolean isCount, String[] distinctFields, String[] fields) StringQuery.toN1qlSelectString
(CouchbaseConverter converter, String bucketName, String scope, String collection, Class domainClass, Class resultClass, boolean isCount, String[] distinctFields, String[] fields) -
Uses of CouchbaseConverter in org.springframework.data.couchbase.repository.query
ModifierConstructorDescriptionConvertingIterator
(Iterator<Object> delegate, CouchbaseConverter converter) N1qlCountQueryCreator
(PartTree tree, ParameterAccessor parameters, N1QLExpression selectFrom, CouchbaseConverter converter, CouchbaseQueryMethod queryMethod) N1qlMutateQueryCreator
(PartTree tree, ParameterAccessor parameters, N1QLExpression mutateFrom, CouchbaseConverter converter, CouchbaseQueryMethod queryMethod) N1qlQueryCreator
(PartTree tree, ParameterAccessor accessor, QueryMethod queryMethod, CouchbaseConverter converter, String bucketName) OldN1qlQueryCreator
(PartTree tree, ParameterAccessor parameters, N1QLExpression selectFrom, CouchbaseConverter converter, CouchbaseQueryMethod queryMethod) StringBasedN1qlQueryParser
(String bucketName, String scope, String collection, CouchbaseConverter couchbaseConverter, Class<?> domainClass, Class<?> resultClass, String typeField, String typeValue, boolean isCount, String[] distinctFields, String[] fields) This constructor is to allow for generating the n1ql spel expressions from NON-@Queries.StringBasedN1qlQueryParser
(String statement, CouchbaseQueryMethod queryMethod, String bucketName, String scope, String collection, CouchbaseConverter couchbaseConverter, String typeField, String typeValue, ParameterAccessor accessor, SpelExpressionParser spelExpressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider) This constructor is to allow for generating the n1ql spel expressions from @Queries.StringN1qlQueryCreator
(ParameterAccessor accessor, CouchbaseQueryMethod queryMethod, CouchbaseConverter couchbaseConverter, SpelExpressionParser spelExpressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider, NamedQueries namedQueries) -
Uses of CouchbaseConverter in org.springframework.data.couchbase.repository.query.support
Modifier and TypeMethodDescriptionstatic <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 aN1QLExpression
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 anN1QLExpression
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 theEntityMetadata
parameter).N1qlUtils.getPathWithAlternativeFieldNames
(CouchbaseConverter converter, PropertyPath property) Given a commonPropertyPath
, returns the correspondingPersistentPropertyPath
ofCouchbasePersistentProperty
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) -
Uses of CouchbaseConverter in org.springframework.data.couchbase.repository.support
Modifier and TypeMethodDescriptionstatic boolean
Util.hasNonZeroVersionProperty
(Object entity, CouchbaseConverter converter) ModifierConstructorDescriptionSpringDataCouchbaseSerializer
(CouchbaseConverter converter) Creates a newSpringDataCouchbaseSerializer
for the givenCouchbaseConverter
.