Uses of Class
org.springframework.data.mongodb.core.query.Collation
Package
Description
MongoDB core support.
Support for the MongoDB aggregation framework.
Support for MongoDB document indexing.
Infrastructure for the MongoDB document-to-object mapping subsystem.
Support for MongoDB map-reduce operations.
MongoDB specific messaging support for listening to eg.
MongoDB specific query and update support.
Query derivation mechanism for MongoDB specific repositories.
Support infrastructure for query derivation of MongoDB specific repositories.
-
Uses of Collation in org.springframework.data.mongodb.core
Modifier and TypeMethodDescriptionChangeStreamOptions.getCollation()
CollectionOptions.getCollation()
Get theCollation
settings.FindAndModifyOptions.getCollation()
Get theCollation
specifying language-specific rules for string comparison.ViewOptions.getCollation()
Get theCollation
to be set.Modifier and TypeMethodDescriptionSet the collation to use.Create newCollectionOptions
with already given settings andcollation
set to given value.Define theCollation
specifying language-specific rules for string comparison.protected <T> T
MongoTemplate.doFindAndRemove
(CollectionPreparer collectionPreparer, String collectionName, org.bson.Document query, org.bson.Document fields, org.bson.Document sort, Collation collation, Class<T> entityClass) Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.protected <T> reactor.core.publisher.Mono<T>
ReactiveMongoTemplate.doFindAndRemove
(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, org.bson.Document sort, Collation collation, Class<T> entityClass) Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.protected <T> reactor.core.publisher.Mono<T>
ReactiveMongoTemplate.doFindOne
(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, Class<T> entityClass, Collation collation) Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.static CollectionOptions
Create newCollectionOptions
by just providing theCollation
to use. -
Uses of Collation in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionAggregationOptions.getCollation()
Get collation settings for string comparison.Modifier and TypeMethodDescriptionDefine collation settings for string comparison.ModifierConstructorDescriptionAggregationOptions
(boolean allowDiskUse, boolean explain, org.bson.Document cursor, Collation collation) Creates a newAggregationOptions
.AggregationOptions
(boolean allowDiskUse, boolean explain, org.bson.Document cursor, Collation collation, String comment) Creates a newAggregationOptions
. -
Uses of Collation in org.springframework.data.mongodb.core.index
Modifier and TypeMethodDescription -
Uses of Collation in org.springframework.data.mongodb.core.mapping
Modifier and TypeMethodDescriptionBasicMongoPersistentEntity.getCollation()
MongoPersistentEntity.getCollation()
Returns the collation of the entity evaluating a potential SpEL expression within the current context. -
Uses of Collation in org.springframework.data.mongodb.core.mapreduce
Modifier and TypeMethodDescriptionMapReduceOptions.getCollation()
Deprecated.Get the Collation specifying language-specific rules for string comparison.Modifier and TypeMethodDescriptionDeprecated.Define the Collation specifying language-specific rules for string comparison. -
Uses of Collation in org.springframework.data.mongodb.core.messaging
Modifier and TypeMethodDescriptionSet the collation to use. -
Uses of Collation in org.springframework.data.mongodb.core.query
Modifier and TypeMethodDescriptionSet the Field that determines whether collation should consider whitespace and punctuation as base characters for purposes of comparison.Collation.alternate
(Collation.Alternate alternate) Set the Field that determines whether collation should consider whitespace and punctuation as base characters for purposes of comparison.Collation.backwardDiacriticSort()
Sort string with diacritics sort from back of the string.Collation.backwards
(boolean backwards) Set the flag that determines whether strings with diacritics sort from back of the string.Set the flag that determines sort order of case differences during tertiary level comparisons.Collation.caseFirst
(Collation.CaseFirst sort) Set the flag that determines sort order of case differences during tertiary level comparisons.Collation.caseLevel
(boolean caseLevel) Set whether to includecaseLevel
comparison.Collation.forwardDiacriticSort()
Do not sort string with diacritics sort from back of the string.static Collation
Collation.from
(org.bson.Document source) Create newCollation
from values inDocument
.NearQuery.getCollation()
Get theCollation
to use along with theNearQuery.query(Query)
.Collation.maxVariable
(String maxVariable) Set the field that determines up to which characters are considered ignorable when alternate isshifted
.Collation.normalization
(boolean normalization) Set the flag that determines whether to check if text require normalization and to perform normalization.Collation.normalizationDisabled()
Disable text normalization.Collation.normalizationEnabled()
Enable text normalization.Collation.numericOrdering
(boolean flag) Set the flag that determines whether to compare numeric strings as numbers or as strings.Collation.numericOrderingDisabled()
Treat numeric strings as string for comparison.Collation.numericOrderingEnabled()
Treat numeric strings as numbers for comparison.static Collation
Create newCollation
with locale set to the given ICU language.static Collation
static Collation
Collation.of
(Collation.CollationLocale locale) Create newCollation
with locale set to the givenCollation.CollationLocale
.static Collation
Parse the givencollation
string into aCollation
.static Collation
Collation.simple()
Create aCollation
using simple binary comparison.Collation.strength
(int strength) Set the level of comparison to perform.Collation.strength
(Collation.ComparisonLevel comparisonLevel) Set the level of comparison to perform.Modifier and TypeMethodDescriptionQuery.getCollation()
Get theCollation
defining language-specific rules for string comparison.Modifier and TypeMethodDescriptionSet theCollation
applying language-specific rules for string comparison. -
Uses of Collation in org.springframework.data.mongodb.repository.query
Modifier and TypeMethodDescriptionConvertingParameterAccessor.getCollation()
MongoEntityInformation.getCollation()
Return the collation for the entity or null ifnot defined
.MongoParameterAccessor.getCollation()
Returns theCollation
to be used for the query.MongoParametersParameterAccessor.getCollation()
-
Uses of Collation in org.springframework.data.mongodb.repository.support