Package | Description |
---|---|
org.springframework.data.mongodb.core |
MongoDB core support.
|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
org.springframework.data.mongodb.core.index |
Support for MongoDB document indexing.
|
org.springframework.data.mongodb.core.mapreduce |
Support for MongoDB map-reduce operations.
|
org.springframework.data.mongodb.core.query |
MongoDB specific query and update support.
|
Modifier and Type | Method and Description |
---|---|
Collation |
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 |
Collation.alternate(String alternate)
Set the Field that determines whether collation should consider whitespace and punctuation as base characters for
purposes of comparison.
|
Collation |
Collation.backwardDiacriticSort()
Sort string with diacritics sort from back of the string.
|
Collation |
Collation.backwards(Boolean backwards)
Set the flag that determines whether strings with diacritics sort from back of the string.
|
Collation |
Collation.caseFirst(Collation.CaseFirst sort)
Set the flag that determines sort order of case differences during tertiary level comparisons.
|
Collation |
Collation.caseFirst(String caseFirst)
Set the flag that determines sort order of case differences during tertiary level comparisons.
|
Collation |
Collation.caseLevel(boolean caseLevel)
Set whether to include
caseLevel comparison. |
Collation |
Collation.forwardDiacriticSort()
Do not sort string with diacritics sort from back of the string.
|
static Collation |
Collation.from(org.bson.Document source)
Create new
Collation from values in Document . |
Collation |
Collation.maxVariable(String maxVariable)
Set the field that determines up to which characters are considered ignorable when alternate is
shifted . |
Collation |
Collation.normalization(Boolean normalization)
Set the flag that determines whether to check if text require normalization and to perform normalization.
|
Collation |
Collation.normalizationDisabled()
Disable text normalization.
|
Collation |
Collation.normalizationEnabled()
Enable text normalization.
|
Collation |
Collation.numericOrdering(boolean flag)
Set the flag that determines whether to compare numeric strings as numbers or as strings.
|
Collation |
Collation.numericOrderingDisabled()
Treat numeric strings as string for comparison.
|
Collation |
Collation.numericOrderingEnabled()
Treat numeric strings as numbers for comparison.
|
static Collation |
Collation.of(Collation.CollationLocale locale)
Create new
Collation with locale set to the given Collation.CollationLocale . |
static Collation |
Collation.of(Locale locale)
|
static Collation |
Collation.of(String language)
Create new
Collation with locale set to the given ICU language. |
static Collation |
Collation.simple()
Create a
Collation using simple binary comparison. |
Collation |
Collation.strength(Collation.ComparisonLevel comparisonLevel)
Set the level of comparison to perform.
|
Collation |
Collation.strength(int strength)
Set the level of comparison to perform.
|
Modifier and Type | Method and Description |
---|---|
Optional<Collation> |
FindAndModifyOptions.getCollation()
Get the
Collation specifying language-specific rules for string comparison. |
Optional<Collation> |
CollectionOptions.getCollation()
Get the
Collation settings. |
Modifier and Type | Method and Description |
---|---|
FindAndModifyOptions |
FindAndModifyOptions.collation(Collation collation)
Define the
Collation specifying language-specific rules for string comparison. |
CollectionOptions |
CollectionOptions.collation(Collation collation)
Create new
CollectionOptions with already given settings and collation set to given value. |
protected <T> reactor.core.publisher.Mono<T> |
ReactiveMongoTemplate.doFindAndRemove(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> T |
MongoTemplate.doFindAndRemove(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.doFindOne(String collectionName,
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 |
CollectionOptions.just(Collation collation)
Create new
CollectionOptions by just providing the Collation to use. |
Modifier and Type | Method and Description |
---|---|
<R> R |
Collation.map(Converter<? super Collation,? extends R> mapper)
|
Modifier and Type | Method and Description |
---|---|
Optional<Collation> |
AggregationOptions.getCollation()
Get collation settings for string comparison.
|
Modifier and Type | Method and Description |
---|---|
AggregationOptions.Builder |
AggregationOptions.Builder.collation(Collation collation)
Define collation settings for string comparison.
|
Constructor and Description |
---|
AggregationOptions(boolean allowDiskUse,
boolean explain,
org.bson.Document cursor,
Collation collation)
Creates a new
AggregationOptions . |
Modifier and Type | Method and Description |
---|---|
Index |
Index.collation(Collation collation)
Set the
Collation to specify language-specific rules for string comparison, such as rules for lettercase
and accent marks. |
GeospatialIndex |
GeospatialIndex.collation(Collation collation)
Set the
Collation to specify language-specific rules for string comparison, such as rules for lettercase
and accent marks. |
Modifier and Type | Method and Description |
---|---|
Optional<Collation> |
MapReduceOptions.getCollation()
Get the Collation specifying language-specific rules for string comparison.
|
Modifier and Type | Method and Description |
---|---|
MapReduceOptions |
MapReduceOptions.collation(Collation collation)
Define the Collation specifying language-specific rules for string comparison.
|
GroupBy |
GroupBy.collation(Collation collation)
Define the Collation specifying language-specific rules for string comparison.
|
Modifier and Type | Method and Description |
---|---|
Optional<Collation> |
Query.getCollation()
Get the
Collation defining language-specific rules for string comparison. |
Modifier and Type | Method and Description |
---|---|
Query |
Query.collation(Collation collation)
Set the
Collation applying language-specific rules for string comparison. |
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.