Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abbreviateFieldNames() - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
-
Configures whether to abbreviate field names for domain objects by configuring a
CamelCaseAbbreviatingFieldNamingStrategy
on theMongoMappingContext
instance created. - abortTransaction() - Method in class org.springframework.data.mongodb.MongoTransactionManager.MongoTransactionObject
-
Rollback (abort) the transaction.
- abortTransaction() - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager.ReactiveMongoTransactionObject
-
Rollback (abort) the transaction.
- abs() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that returns the absolute value of the associated number. - absent(String) - Static method in class org.springframework.data.mongodb.gridfs.GridFsResource
-
Obtain an absent
GridFsResource
. - absent(String) - Static method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsResource
-
Obtain an absent
ReactiveGridFsResource
. - absoluteValue() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$abs
expression that takes the number of the previously mentioned field and returns the absolute value of it. - absoluteValueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Abs
-
Creates new
ArithmeticOperators.Abs
. - absoluteValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Abs
-
Creates new
ArithmeticOperators.Abs
. - absoluteValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Abs
-
Creates new
ArithmeticOperators.Abs
. - AbstractDeleteEvent<T> - Class in org.springframework.data.mongodb.core.mapping.event
-
Base class for delete events.
- AbstractDeleteEvent(Document, Class<T>, String) - Constructor for class org.springframework.data.mongodb.core.mapping.event.AbstractDeleteEvent
-
Creates a new
AbstractDeleteEvent
for the givenDocument
and type. - AbstractMongoClientConfiguration - Class in org.springframework.data.mongodb.config
-
Base class for Spring Data MongoDB configuration using JavaConfig with
MongoClient
. - AbstractMongoClientConfiguration() - Constructor for class org.springframework.data.mongodb.config.AbstractMongoClientConfiguration
- AbstractMongoConverter - Class in org.springframework.data.mongodb.core.convert
-
Base class for
MongoConverter
implementations. - AbstractMongoConverter(GenericConversionService) - Constructor for class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
-
Creates a new
AbstractMongoConverter
using the givenGenericConversionService
. - AbstractMongoEventListener<E> - Class in org.springframework.data.mongodb.core.mapping.event
-
Base class to implement domain class specific
ApplicationListener
s. - AbstractMongoEventListener() - Constructor for class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
-
Creates a new
AbstractMongoEventListener
. - AbstractMongoQuery - Class in org.springframework.data.mongodb.repository.query
-
Base class for
RepositoryQuery
implementations for Mongo. - AbstractMongoQuery(MongoQueryMethod, MongoOperations, ExpressionParser, QueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
- AbstractMonitor - Class in org.springframework.data.mongodb.monitor
-
Base class to encapsulate common configuration settings when connecting to a database
- AbstractMonitor(MongoClient) - Constructor for class org.springframework.data.mongodb.monitor.AbstractMonitor
- AbstractReactiveMongoConfiguration - Class in org.springframework.data.mongodb.config
-
Base class for reactive Spring Data MongoDB configuration using JavaConfig.
- AbstractReactiveMongoConfiguration() - Constructor for class org.springframework.data.mongodb.config.AbstractReactiveMongoConfiguration
- AbstractReactiveMongoQuery - Class in org.springframework.data.mongodb.repository.query
-
Base class for reactive
RepositoryQuery
implementations for MongoDB. - AbstractReactiveMongoQuery(ReactiveMongoQueryMethod, ReactiveMongoOperations, ExpressionParser, ReactiveQueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
- accumulate(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator.AccumulatorAccumulateBuilder
-
Set the
accumulate
function that updates the state for each document. - accumulate(ScriptOperators.Accumulator) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$accumulator
-expression. - accumulate(ScriptOperators.Function) - Method in interface org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator.AccumulatorAccumulateBuilder
-
Set the
accumulate
ScriptOperators.Function
that updates the state for each document. - accumulateArgs(Object...) - Method in interface org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator.AccumulatorAccumulateArgsBuilder
-
Define additional
accumulateArgs
for theScriptOperators.Accumulator.AccumulatorAccumulateBuilder.accumulate(String)
function. - accumulateArgs(List<Object>) - Method in interface org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator.AccumulatorAccumulateArgsBuilder
-
Define additional
accumulateArgs
for theScriptOperators.Accumulator.AccumulatorAccumulateBuilder.accumulate(String)
function. - accumulatorBuilder() - Static method in class org.springframework.data.mongodb.core.aggregation.ScriptOperators
-
Create a custom $accumulator operator in Javascript.
- AccumulatorOperatorFactory(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AccumulatorOperators.AccumulatorOperatorFactory
for given fieldReference. - AccumulatorOperatorFactory(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AccumulatorOperators.AccumulatorOperatorFactory
for givenAggregationExpression
. - AccumulatorOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to accumulator aggregation operations.
- AccumulatorOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators
- AccumulatorOperators.AccumulatorOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- AccumulatorOperators.Avg - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$avg
. - AccumulatorOperators.CovariancePop - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$covariancePop
. - AccumulatorOperators.CovarianceSamp - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$covarianceSamp
. - AccumulatorOperators.ExpMovingAvg - Class in org.springframework.data.mongodb.core.aggregation
-
AccumulatorOperators.ExpMovingAvg
calculates the exponential moving average of numeric values. - AccumulatorOperators.ExpMovingAvgBuilder - Interface in org.springframework.data.mongodb.core.aggregation
-
Builder for
AccumulatorOperators.ExpMovingAvg
. - AccumulatorOperators.Max - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$max
. - AccumulatorOperators.Min - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$min
. - AccumulatorOperators.StdDevPop - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$stdDevPop
. - AccumulatorOperators.StdDevSamp - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$stdDevSamp
. - AccumulatorOperators.Sum - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$sum
. - acos() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the inverse cosine of a numeric value. - acosh() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the inverse hyperbolic cosine of a numeric value. - acoshOf(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ACosh
-
Creates a new
AggregationExpression
that calculates the inverse hyperbolic cosine of a value. - acoshOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ACosh
-
Creates a new
AggregationExpression
that calculates the inverse hyperbolic cosine of a value. - acoshOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ACosh
-
Creates a new
AggregationExpression
that calculates the inverse hyperbolic cosine of a value. - acosOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ACos
-
Creates a new
AggregationExpression
that calculates the inverse cosine of a value. - acosOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ACos
-
Creates a new
AggregationExpression
that calculates the inverse cosine of a value. - acosOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ACos
-
Creates a new
AggregationExpression
that calculates the inverse cosine of a value. - actionInline() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.With this option, no collection will be created, and the whole map-reduce operation will happen in RAM.
- actionMerge() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.This option will merge new data into the old output collection.
- actionReduce() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.If documents exists for a given key in the result set and in the old collection, then a reduce operation (using the specified reduce function) will be performed on the two values and the result will be written to the output collection.
- actionReplace() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.The output will be inserted into a collection which will atomically replace any existing collection with the same name.
- add(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Add
-
Add the given value.
- add(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that adds the given value to the associated number. - add(Object, String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that adds the given value (in units). - add(Object, DateOperators.TemporalUnit) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that adds the given value (in units). - add(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Add
-
Add the value stored at the given field.
- add(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that adds the value of fieldReference to the associated number. - add(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Add
-
Add the evaluation result of the given
AggregationExpression
. - add(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that adds the resulting value of the givenAggregationExpression
to the associated number. - add(AggregationOperation) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationPipeline
-
Append the given
stage
to the pipeline. - Add(List<?>) - Constructor for class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Add
- addAllToMap(Bson, Map<String, ?>) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Add all entries from the given source
Map
to the target. - addCriteria(CriteriaDefinition) - Method in class org.springframework.data.mongodb.core.query.BasicQuery
- addCriteria(CriteriaDefinition) - Method in class org.springframework.data.mongodb.core.query.Query
-
Adds the given
CriteriaDefinition
to the currentQuery
. - addCustomTypeKeyIfNecessary(TypeInformation<?>, Object, Bson) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Adds custom type information to the given
Document
if necessary. - addField(Object, Object) - Method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation
-
Append the value for a specific field to the operation.
- addField(String) - Static method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation
-
Concatenate another field to add.
- addField(String) - Method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation.AddFieldsOperationBuilder
-
Define the field to add.
- addFields() - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Obtain an
builder
instance to create a newAddFieldsOperation
. - AddFieldsOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Adds new fields to documents.
- AddFieldsOperation(Object, Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation
-
Create new instance of
AddFieldsOperation
- AddFieldsOperation.AddFieldsOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
- AddFieldsOperation.AddFieldsOperationBuilder.ValueAppender - Interface in org.springframework.data.mongodb.core.aggregation
- addFieldSpec(TextIndexDefinition.TextIndexedFieldSpec) - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition
- addFieldSpecs(Collection<TextIndexDefinition.TextIndexedFieldSpec>) - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition
- addFieldWithValue(String, Object) - Method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation.AddFieldsOperationBuilder
- addFieldWithValueOf(String, Object) - Method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation.AddFieldsOperationBuilder
- addFlag(Meta.CursorOption) - Method in class org.springframework.data.mongodb.core.query.Meta
-
Add
Meta.CursorOption
influencing behavior of theFindIterable
. - additionalField() - Element in annotation interface org.springframework.data.mongodb.core.index.GeoSpatialIndexed
-
The name of the additional field to use for
GeoSpatialIndexType.GEO_HAYSTACK
indexes - additionalItems(boolean) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- additionalItems(boolean) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
-
If set to false, no additional items besides
TypedJsonSchemaObject.ArrayJsonSchemaObject.items(Collection)
are allowed. - additionalProperties(boolean) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- additionalProperties(boolean) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- additionalProperties(boolean) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
-
If set to false, additional fields besides
TypedJsonSchemaObject.ObjectJsonSchemaObject.properties(JsonSchemaProperty...)
/TypedJsonSchemaObject.ObjectJsonSchemaObject.patternProperties(JsonSchemaProperty...)
are not allowed. - additionalProperties(TypedJsonSchemaObject.ObjectJsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- additionalProperties(TypedJsonSchemaObject.ObjectJsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- additionalProperties(TypedJsonSchemaObject.ObjectJsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
-
If specified, additional fields must validate against the given schema.
- addMetaAttributes(Document, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Adds missing
$meta
representation if required. - addModifier(Update.Modifier) - Method in class org.springframework.data.mongodb.core.query.Update.Modifiers
- addMultiFieldOperation(String, String, Object) - Method in class org.springframework.data.mongodb.core.query.Update
- addToMap(Bson, String, Object) - Static method in class org.springframework.data.mongodb.util.BsonUtils
- addToPreviousOperation(Object) - Method in class org.springframework.data.mongodb.core.spel.ExpressionTransformationContextSupport
-
Adds the given value to the previous operation and returns it.
- addToPreviousOrReturn(Object) - Method in class org.springframework.data.mongodb.core.spel.ExpressionTransformationContextSupport
-
Adds the given value to the previous operation if one is present or returns the value to add as is.
- addToSet() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Generates a builder for an
$addToSet
-expression for the current value. - addToSet(Object) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$add_to_set
-expression for the given value. - addToSet(String) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$add_to_set
-expression for the given field-reference. - addToSet(String) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update using
$addToSet
modifier. - addToSet(String, Object) - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
- addToSet(String, Object) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update using the $addToSet update modifier
- AddToSetBuilder(String) - Constructor for class org.springframework.data.mongodb.core.query.Update.AddToSetBuilder
- addValue(Object, String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateAdd
-
Add the number of units to a
start date
. - addValueOf(String, String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateAdd
-
Add the number of units from a field to a
start date
. - addValueOf(String, String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that adds the value stored at the given field (in units). - addValueOf(String, DateOperators.TemporalUnit) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that adds the value stored at the given field (in units). - addValueOf(AggregationExpression, String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateAdd
-
Add the number of units of the result of the given
expression
to astart date
. - addValueOf(AggregationExpression, String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that adds the value of the givenexpression
(in units). - addValueOf(AggregationExpression, DateOperators.TemporalUnit) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that adds the value of the givenexpression
(in units). - aead_aes_256_cbc_hmac_sha_512_deterministic() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
-
Use AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic algorithm.
- AEAD_AES_256_CBC_HMAC_SHA_512_Deterministic - Static variable in class org.springframework.data.mongodb.core.EncryptionAlgorithms
- aead_aes_256_cbc_hmac_sha_512_random() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
-
Use AEAD_AES_256_CBC_HMAC_SHA_512-Random algorithm.
- AEAD_AES_256_CBC_HMAC_SHA_512_Random - Static variable in class org.springframework.data.mongodb.core.EncryptionAlgorithms
- AfterConvertCallback<T> - Interface in org.springframework.data.mongodb.core.mapping.event
-
Callback being invoked after a domain object is materialized from a
Document
when reading results. - AfterConvertEvent<E> - Class in org.springframework.data.mongodb.core.mapping.event
-
MongoMappingEvent
thrown after convert of a document. - AfterConvertEvent(Document, E, String) - Constructor for class org.springframework.data.mongodb.core.mapping.event.AfterConvertEvent
-
Creates new
AfterConvertEvent
. - AfterDeleteEvent<T> - Class in org.springframework.data.mongodb.core.mapping.event
-
Event being thrown after a single or a set of documents has/have been deleted.
- AfterDeleteEvent(Document, Class<T>, String) - Constructor for class org.springframework.data.mongodb.core.mapping.event.AfterDeleteEvent
-
Creates a new
AfterDeleteEvent
for the givenDocument
, type and collectionName. - AfterLoadEvent<T> - Class in org.springframework.data.mongodb.core.mapping.event
-
Event to be triggered after loading
Document
s to be mapped onto a given type. - AfterLoadEvent(Document, Class<T>, String) - Constructor for class org.springframework.data.mongodb.core.mapping.event.AfterLoadEvent
-
Creates a new
AfterLoadEvent
for the givenDocument
, type and collectionName. - afterPropertiesSet() - Method in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
- afterPropertiesSet() - Method in class org.springframework.data.mongodb.MongoTransactionManager
- afterPropertiesSet() - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
- afterPropertiesSet() - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
- afterPropertiesSet() - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactoryBean
- AfterSaveCallback<T> - Interface in org.springframework.data.mongodb.core.mapping.event
-
Entity callback triggered after save of a
Document
. - AfterSaveEvent<E> - Class in org.springframework.data.mongodb.core.mapping.event
-
MongoMappingEvent
triggered after save of a document. - AfterSaveEvent(E, Document, String) - Constructor for class org.springframework.data.mongodb.core.mapping.event.AfterSaveEvent
-
Creates new
AfterSaveEvent
. - aggregate(Aggregation, Class<?>, Class<O>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Execute an aggregation operation.
- aggregate(Aggregation, Class<?>, Class<O>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- aggregate(Aggregation, Class<?>, Class<O>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Execute an aggregation operation.
- aggregate(Aggregation, Class<?>, Class<O>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- aggregate(Aggregation, String, Class<O>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Execute an aggregation operation.
- aggregate(Aggregation, String, Class<O>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- aggregate(Aggregation, String, Class<O>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Execute an aggregation operation.
- aggregate(Aggregation, String, Class<O>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- aggregate(Aggregation, String, Class<O>, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- aggregate(TypedAggregation<?>, Class<O>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Execute an aggregation operation.
- aggregate(TypedAggregation<?>, Class<O>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- aggregate(TypedAggregation<?>, Class<O>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Execute an aggregation operation.
- aggregate(TypedAggregation<?>, Class<O>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- aggregate(TypedAggregation<?>, String, Class<O>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Execute an aggregation operation.
- aggregate(TypedAggregation<?>, String, Class<O>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- aggregate(TypedAggregation<?>, String, Class<O>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Execute an aggregation operation.
- aggregate(TypedAggregation<?>, String, Class<O>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- aggregateAndReturn(Class<T>) - Method in interface org.springframework.data.mongodb.core.ExecutableAggregationOperation
-
Start creating an aggregation operation that returns results mapped to the given domain type.
- aggregateAndReturn(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- aggregateAndReturn(Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveAggregationOperation
-
Start creating an aggregation operation that returns results mapped to the given domain type.
- aggregateAndReturn(Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- aggregateStream(Aggregation, Class<?>, Class<O>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Execute an aggregation operation backed by a Mongo DB
AggregateIterable
. - aggregateStream(Aggregation, Class<?>, Class<O>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- aggregateStream(Aggregation, String, Class<O>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Execute an aggregation operation backed by a Mongo DB
AggregateIterable
. - aggregateStream(Aggregation, String, Class<O>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- aggregateStream(Aggregation, String, Class<O>, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- aggregateStream(TypedAggregation<?>, Class<O>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Execute an aggregation operation backed by a Mongo DB
AggregateIterable
. - aggregateStream(TypedAggregation<?>, Class<O>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- aggregateStream(TypedAggregation<?>, String, Class<O>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Execute an aggregation operation backed by a Mongo DB
AggregateIterable
. - aggregateStream(TypedAggregation<?>, String, Class<O>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- Aggregation - Class in org.springframework.data.mongodb.core.aggregation
-
An
Aggregation
is a representation of a list of aggregation steps to be performed by the MongoDB Aggregation Framework. - Aggregation - Annotation Interface in org.springframework.data.mongodb.repository
-
The
Aggregation
annotation can be used to annotate aRepository
query method so that it runs theAggregation.pipeline()
on invocation. - Aggregation(List<AggregationOperation>) - Constructor for class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
Aggregation
from the givenAggregationOperation
s. - Aggregation(List<AggregationOperation>, AggregationOptions) - Constructor for class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
Aggregation
from the givenAggregationOperation
s. - Aggregation(AggregationOperation...) - Constructor for class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
Aggregation
from the givenAggregationOperation
s. - AggregationExpression - Interface in org.springframework.data.mongodb.core.aggregation
-
An
AggregationExpression
can be used with field expressions in aggregation pipeline stages likeproject
andgroup
. - AggregationOperation - Interface in org.springframework.data.mongodb.core.aggregation
-
Represents one single operation in an aggregation pipeline.
- AggregationOperationContext - Interface in org.springframework.data.mongodb.core.aggregation
-
The context for an
AggregationOperation
. - AggregationOptions - Class in org.springframework.data.mongodb.core.aggregation
-
Holds a set of configurable aggregation options that can be used within an aggregation pipeline.
- AggregationOptions(boolean, boolean, int) - Constructor for class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Creates a new
AggregationOptions
. - AggregationOptions(boolean, boolean, Document) - Constructor for class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Creates a new
AggregationOptions
. - AggregationOptions(boolean, boolean, Document, Collation) - Constructor for class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Creates a new
AggregationOptions
. - AggregationOptions(boolean, boolean, Document, Collation, String) - Constructor for class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Creates a new
AggregationOptions
. - AggregationOptions.Builder - Class in org.springframework.data.mongodb.core.aggregation
-
A Builder for
AggregationOptions
. - AggregationOptions.DomainTypeMapping - Enum Class in org.springframework.data.mongodb.core.aggregation
-
Aggregation pipeline Domain type mappings supported by the mapping layer.
- AggregationPipeline - Class in org.springframework.data.mongodb.core.aggregation
-
The
AggregationPipeline
holds the collection ofaggregation stages
. - AggregationPipeline() - Constructor for class org.springframework.data.mongodb.core.aggregation.AggregationPipeline
-
Create an empty pipeline
- AggregationPipeline(List<AggregationOperation>) - Constructor for class org.springframework.data.mongodb.core.aggregation.AggregationPipeline
-
Create a new pipeline with given
stages
. - AggregationResults<T> - Class in org.springframework.data.mongodb.core.aggregation
-
Collects the results of executing an aggregation operation.
- AggregationResults(List<T>, Document) - Constructor for class org.springframework.data.mongodb.core.aggregation.AggregationResults
-
Creates a new
AggregationResults
instance from the given mapped and raw results. - AggregationSpELExpression - Class in org.springframework.data.mongodb.core.aggregation
-
An
AggregationExpression
that renders a MongoDB Aggregation Framework expression from the AST of a SpEL expression. - AggregationUpdate - Class in org.springframework.data.mongodb.core.aggregation
-
Abstraction for
db.collection.update()
using an aggregation pipeline. - AggregationUpdate() - Constructor for class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
-
Create new
AggregationUpdate
. - AggregationUpdate(List<AggregationOperation>) - Constructor for class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
-
Create new
AggregationUpdate
with the given aggregation pipeline to apply. - AggregationUpdate.SetValueAppender - Interface in org.springframework.data.mongodb.core.aggregation
-
Fluent API AggregationUpdate builder.
- algorithm() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Encrypted
-
Set the algorithm to use.
- algorithm(String) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
-
Use the given algorithm identified via its name.
- alike(Example<?>) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the given object as a pattern.
- all() - Method in interface org.springframework.data.mongodb.core.ExecutableAggregationOperation.TerminatingAggregation
-
Apply pipeline operations as specified and get all matching elements.
- all() - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.TerminatingDistinct
-
Get all matching distinct field values.
- all() - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.TerminatingFind
-
Get all matching elements.
- all() - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.TerminatingFindNear
-
Find all matching elements and return them as
GeoResult
. - all() - Method in interface org.springframework.data.mongodb.core.ExecutableMapReduceOperation.TerminatingMapReduce
-
Get the mapReduce results.
- all() - Method in interface org.springframework.data.mongodb.core.ExecutableRemoveOperation.TerminatingRemove
-
Remove all documents matching.
- all() - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.TerminatingUpdate
-
Update all matching documents in the collection.
- all() - Method in interface org.springframework.data.mongodb.core.ReactiveAggregationOperation.TerminatingAggregationOperation
-
Apply pipeline operations as specified and stream all matching elements.
- all() - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.TerminatingDistinct
-
Get all matching distinct field values.
- all() - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.TerminatingFind
-
Get all matching elements.
- all() - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.TerminatingFindNear
-
Find all matching elements and return them as
GeoResult
. - all() - Method in interface org.springframework.data.mongodb.core.ReactiveMapReduceOperation.TerminatingMapReduce
-
Get the
Flux
emitting mapReduce results. - all() - Method in interface org.springframework.data.mongodb.core.ReactiveRemoveOperation.TerminatingRemove
-
Remove all documents matching.
- all() - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.TerminatingUpdate
-
Update all matching documents in the collection.
- all(Object...) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $all operator.
- all(Collection<?>) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $all operator.
- all(Collection<? extends T>) - Method in interface org.springframework.data.mongodb.core.ExecutableInsertOperation.TerminatingInsert
-
Insert a collection of objects.
- all(Collection<? extends T>) - Method in interface org.springframework.data.mongodb.core.ReactiveInsertOperation.TerminatingInsert
-
Insert a collection of objects.
- allClear(int) - Method in interface org.springframework.data.mongodb.core.query.Criteria.BitwiseCriteriaOperators
-
Creates a criterion using $bitsAllClear matching documents where all given bit positions are clear (i.e. 0).
- allClear(String) - Method in interface org.springframework.data.mongodb.core.query.Criteria.BitwiseCriteriaOperators
-
Creates a criterion using $bitsAllClear matching documents where all given bit positions are clear (i.e. 0).
- allClear(List<Integer>) - Method in interface org.springframework.data.mongodb.core.query.Criteria.BitwiseCriteriaOperators
-
Creates a criterion using $bitsAllClear matching documents where all given bit positions are clear (i.e. 0).
- allElementsInArrayTrue() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$allElementsTrue
expression that takes array of the previously mentioned field and returns true if no elements is false. - allElementsTrue() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.AllElementsTrue
- allElementsTrue() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetOperatorFactory
-
Creates new
AggregationExpression
that tkes array of the previously mentioned field and returns true if no elements is false. - allOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- allOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- allOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- allOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- allOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
- allOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject
-
The field value must match all specified schemas.
- allOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
- allOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.BooleanJsonSchemaObject
- allOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
- allOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
- allOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
- allOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
-
The field value must match all specified schemas.
- allOf(Set<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- allOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- allOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- allOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- allOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- allOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
- allowDiskUse() - Element in annotation interface org.springframework.data.mongodb.repository.Meta
-
When set to true, aggregation stages can write data to disk.
- allowDiskUse(boolean) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Defines whether to off-load intensive sort-operations to disk.
- allowDiskUse(boolean) - Method in class org.springframework.data.mongodb.core.query.Query
-
Enables writing to temporary files for aggregation stages and queries.
- allowSecondaryReads() - Method in class org.springframework.data.mongodb.core.query.Query
-
Allows querying of a replica.
- allSet(int) - Method in interface org.springframework.data.mongodb.core.query.Criteria.BitwiseCriteriaOperators
-
Creates a criterion using $bitsAllSet matching documents where all given bit positions are set (i.e. 1).
- allSet(String) - Method in interface org.springframework.data.mongodb.core.query.Criteria.BitwiseCriteriaOperators
-
Creates a criterion using $bitsAllSet matching documents where all given bit positions are set (i.e. 1).
- allSet(List<Integer>) - Method in interface org.springframework.data.mongodb.core.query.Criteria.BitwiseCriteriaOperators
-
Creates a criterion using $bitsAllSet matching documents where all given bit positions are set (i.e. 1).
- alpha(double) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.ExpMovingAvg
-
Define the exponential decay value.
- alpha(double) - Method in interface org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.ExpMovingAvgBuilder
-
Define the exponential decay value.
- alternate(String) - Method in class org.springframework.data.mongodb.core.query.Collation
-
Set the Field that determines whether collation should consider whitespace and punctuation as base characters for purposes of comparison.
- alternate(Collation.Alternate) - Method in class org.springframework.data.mongodb.core.query.Collation
-
Set the Field that determines whether collation should consider whitespace and punctuation as base characters for purposes of comparison.
- ALWAYS - Enum constant in enum class org.springframework.data.mongodb.core.mapping.Field.Write
-
Value that indicates that property is to be always included, independent of value of the property.
- ALWAYS - Enum constant in enum class org.springframework.data.mongodb.SessionSynchronization
-
Synchronize with any transaction even with empty transactions and initiate a MongoDB transaction when doing so by registering a MongoDB specific
ResourceHolderSynchronization
. - and() - Method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation
-
Concatenate additional fields to add.
- and() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperation
-
Concatenate additional fields to set.
- and(long) - Method in class org.springframework.data.mongodb.core.query.Update.BitwiseOperatorBuilder
-
Updates to the result of a bitwise and operation between the current value and the given one.
- and(Number) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Sum
-
Creates new
AccumulatorOperators.Sum
with all previously added arguments appending the given one. - and(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ArrayProjectionOperationBuilder
-
Creates a new
ProjectionOperation.ArrayProjectionOperationBuilder
with the currentProjectionOperation.Projection
s and the given one. - and(Object...) - Static method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.And
-
Creates new
BooleanOperators.And
that evaluates one or more expressions and returns true if all of the expressions are true. - and(String) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Avg
-
Creates new
AccumulatorOperators.Avg
with all previously added arguments appending the given one. - and(String) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.CovariancePop
-
Creates new
AccumulatorOperators.CovariancePop
with all previously added arguments appending the given one. - and(String) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.CovarianceSamp
-
Creates new
AccumulatorOperators.CovarianceSamp
with all previously added arguments appending the given one. - and(String) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Max
-
Creates new
AccumulatorOperators.Max
with all previously added arguments appending the given one. - and(String) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Min
-
Creates new
AccumulatorOperators.Min
with all previously added arguments appending the given one. - and(String) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.StdDevPop
-
Creates new
AccumulatorOperators.StdDevPop
with all previously added arguments appending the given one. - and(String) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.StdDevSamp
-
Creates new
AccumulatorOperators.StdDevSamp
with all previously added arguments appending the given one. - and(String) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Sum
-
Creates new
AccumulatorOperators.Sum
with all previously added arguments appending the given one. - and(String) - Method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.BooleanOperatorFactory
-
Creates new
AggregationExpression
that evaluates one or more expressions and returns true if all of the expressions are true. - and(String) - Method in class org.springframework.data.mongodb.core.aggregation.Fields
- and(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
-
Creates a new
ProjectionOperation.ProjectionOperationBuilder
to define a projection for the field with the given name. - and(String) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Static factory method to create a Criteria using the provided key
- and(String...) - Method in class org.springframework.data.mongodb.core.aggregation.UnsetOperation
-
Also unset the given fields.
- and(String, String) - Method in class org.springframework.data.mongodb.core.aggregation.Fields
- and(String, AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Adds a computed field to the
GroupOperation
. - and(Sort) - Method in class org.springframework.data.mongodb.core.aggregation.SortOperation
- and(Sort.Direction, String...) - Method in class org.springframework.data.mongodb.core.aggregation.SortOperation
- and(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Avg
-
Creates new
AccumulatorOperators.Avg
with all previously added arguments appending the given one. - and(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.CovariancePop
-
Creates new
AccumulatorOperators.CovariancePop
with all previously added arguments appending the given one. - and(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.CovarianceSamp
-
Creates new
AccumulatorOperators.CovarianceSamp
with all previously added arguments appending the given one. - and(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Max
-
Creates new
AccumulatorOperators.Max
with all previously added arguments appending the given one. - and(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Min
-
Creates new
AccumulatorOperators.Min
with all previously added arguments appending the given one. - and(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.StdDevPop
-
Creates new
AccumulatorOperators.StdDevSamp
with all previously added arguments appending the given one. - and(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.StdDevSamp
-
Creates new
AccumulatorOperators.StdDevSamp
with all previously added arguments appending the given one. - and(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Sum
-
Creates new
AccumulatorOperators.Sum
with all previously added arguments appending the given one. - and(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.BooleanOperatorFactory
-
Creates new
AggregationExpression
that evaluates one or more expressions and returns true if all of the expressions are true. - and(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
- and(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ArrayProjectionOperationBuilder
-
Creates a new
ProjectionOperation.ArrayProjectionOperationBuilder
with the currentProjectionOperation.Projection
s and the given one. - and(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootDocumentOperation
-
Creates a new
ReplaceRootOperation.ReplaceRootDocumentOperationBuilder
to define a field for theAggregationExpression
. - and(AggregationOperation...) - Method in class org.springframework.data.mongodb.core.aggregation.FacetOperation
-
Creates a new
FacetOperation.FacetOperationBuilder
to append a new facet using operations. - and(BucketOperationSupport.Output) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.Outputs
-
Create a new
BucketOperationSupport.Outputs
that contains the newBucketOperationSupport.Output
. - and(ExposedFields.ExposedField) - Method in class org.springframework.data.mongodb.core.aggregation.ExposedFields
-
Creates a new
ExposedFields
adding the givenExposedFields.ExposedField
. - and(Field) - Method in class org.springframework.data.mongodb.core.aggregation.Fields
- and(Field) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ArrayProjectionOperationBuilder
-
Creates a new
ProjectionOperation.ArrayProjectionOperationBuilder
with the currentProjectionOperation.Projection
s and the given one. - and(Field...) - Method in class org.springframework.data.mongodb.core.aggregation.UnsetOperation
-
Also unset the given fields.
- and(Fields) - Method in class org.springframework.data.mongodb.core.aggregation.Fields
- and(GroupOperation.Operation) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Creates a new
GroupOperation
from the current one adding the givenGroupOperation.Operation
. - andApply(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.VariableOperators.Let.LetBuilder
-
Define the
AggregationExpression
to evaluate. - andApply(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.VariableOperators.Map.FunctionBuilder
-
Creates new
VariableOperators.Map
that applies the givenAggregationExpression
to each item of the referenced array and returns an array with the applied results. - andArrayOf(Object...) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
-
Includes the given values (
field references
,expression
, plain values) as an array. - andDocumentStructureMatches(MongoJsonSchema) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion (
$jsonSchema
) matching documents against a given structure defined by theMongoJsonSchema
. - andExclude(String...) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
-
Excludes the given fields from the projection.
- andExpression(String, Object...) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
- andExpression(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.And
-
Creates new
BooleanOperators.And
with all previously added arguments appending the given one. - andField(String) - Method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.And
-
Creates new
BooleanOperators.And
with all previously added arguments appending the given one. - andInclude(String...) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
-
Includes the given fields into the projection.
- andInclude(Fields) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
-
Includes the given fields into the projection.
- andOperator(Collection<Criteria>) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criteria using the
$and
operator for all of the provided criteria. - andOperator(Criteria...) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criteria using the
$and
operator for all of the provided criteria. - andOutput(String) - Method in class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation
- andOutput(String) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperation
- andOutput(String) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport
-
Creates a new
BucketOperationSupport
given fieldName to add an output field to the resulting bucket documents. - andOutput(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation
- andOutput(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperation
- andOutput(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport
-
Creates a new
BucketOperationSupport
given anAggregationExpression
to add an output field to the resulting bucket documents. - andOutput(BucketOperationSupport.Output) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport
- andOutputCount() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport
-
Creates a new
BucketOperationSupport
given to add a count field to the resulting bucket documents. - andOutputExpression(String, Object...) - Method in class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation
- andOutputExpression(String, Object...) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperation
- andOutputExpression(String, Object...) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport
-
Creates a new
BucketOperationSupport.ExpressionBucketOperationBuilderSupport
given a SpEL expression and optional params to add an output field to the resulting bucket documents. - andValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.And
-
Creates new
BooleanOperators.And
with all previously added arguments appending the given one. - andValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootDocumentOperation
-
Creates a new
ReplaceRootOperation.ReplaceRootDocumentOperationBuilder
to define a field for the value. - andValuesOf(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootDocumentOperation
-
Creates a new
ReplaceRootOperation.ReplaceRootDocumentOperation
that merges all existing replacement values with values from value. - anyClear(int) - Method in interface org.springframework.data.mongodb.core.query.Criteria.BitwiseCriteriaOperators
-
Creates a criterion using $bitsAllClear matching documents where any given bit positions are clear (i.e. 0).
- anyClear(String) - Method in interface org.springframework.data.mongodb.core.query.Criteria.BitwiseCriteriaOperators
-
Creates a criterion using $bitsAllClear matching documents where any given bit positions are clear (i.e. 0).
- anyClear(List<Integer>) - Method in interface org.springframework.data.mongodb.core.query.Criteria.BitwiseCriteriaOperators
-
Creates a criterion using $bitsAllClear matching documents where any given bit positions are clear (i.e. 0).
- anyElementInArrayTrue() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$anyElementTrue
expression that Takes array of the previously mentioned field and returns true if any of the elements are true and false otherwise. - anyElementTrue() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.AnyElementTrue
- anyElementTrue() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetOperatorFactory
-
Creates new
AggregationExpression
that takes array of the previously mentioned field and returns true if any of the elements are true and false otherwise. - anyOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- anyOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- anyOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- anyOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- anyOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
- anyOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject
-
The field value must match at least one of the specified schemas.
- anyOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
- anyOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.BooleanJsonSchemaObject
- anyOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
- anyOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
- anyOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
- anyOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
-
The field value must match at least one of the specified schemas.
- anyOf(Set<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- anyOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- anyOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- anyOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- anyOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- anyOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
- anySet(int) - Method in interface org.springframework.data.mongodb.core.query.Criteria.BitwiseCriteriaOperators
-
Creates a criterion using $bitsAllSet matching documents where any given bit positions are set (i.e. 1).
- anySet(String) - Method in interface org.springframework.data.mongodb.core.query.Criteria.BitwiseCriteriaOperators
-
Creates a criterion using $bitsAnySet matching documents where any given bit positions are set (i.e. 1).
- anySet(List<Integer>) - Method in interface org.springframework.data.mongodb.core.query.Criteria.BitwiseCriteriaOperators
-
Creates a criterion using $bitsAnySet matching documents where any given bit positions are set (i.e. 1).
- AotMongoRepositoryPostProcessor - Class in org.springframework.data.mongodb.repository.aot
- AotMongoRepositoryPostProcessor() - Constructor for class org.springframework.data.mongodb.repository.aot.AotMongoRepositoryPostProcessor
- append(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
- append(Object, AbstractAggregationExpression.Expand) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
- append(String) - Method in class org.springframework.data.mongodb.util.DotPath
-
Append a segment to the dotpath.
- append(String, Object) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
- append(String, Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToString
- append(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowOutput
-
Append the given
AggregationExpression
as afield
in a fluent way. - append(SetWindowFieldsOperation.ComputedField) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowOutput
-
Append the given
field
to the outptut. - appendAt(int, String, Object) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
-
Append the given key at the position in the underlying
LinkedHashMap
. - appendTimezone(Object, DateOperators.Timezone) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.TimezonedDateAggregationExpression
-
Append the
timezone
to a given source. - appendTo(String, Object) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
- applicationContext - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- apply(MongoCollection<Document>) - Method in interface org.springframework.data.mongodb.core.convert.ReferenceLoader.DocumentReferenceQuery
- apply(String, Object...) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Apply an operator to the current value.
- apply(BucketOperationSupport.OperationOutput) - Method in class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.BucketAutoOperationOutputBuilder
- apply(BucketOperationSupport.OperationOutput) - Method in class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.ExpressionBucketAutoOperationBuilder
- apply(BucketOperationSupport.OperationOutput) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperation.BucketOperationOutputBuilder
- apply(BucketOperationSupport.OperationOutput) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperation.ExpressionBucketOperationBuilder
- apply(BucketOperationSupport.OperationOutput) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Apply an
BucketOperationSupport.OperationOutput
to this output. - apply(UpdateDefinition) - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.UpdateWithUpdate
-
Set the
UpdateDefinition
to be applied. - apply(UpdateDefinition) - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.UpdateWithUpdate
-
Set the
UpdateDefinition
to be applied. - applyCondition(ConditionalOperators.Cond) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
- applyCondition(ConditionalOperators.IfNull) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
- args(Object...) - Method in class org.springframework.data.mongodb.core.aggregation.ScriptOperators.Function
-
Set the arguments passed to the function body.
- args(List<Object>) - Method in class org.springframework.data.mongodb.core.aggregation.ScriptOperators.Function
-
Set the arguments passed to the function body.
- argumentMap() - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
-
Get the argument map.
- ArithmeticOperatorFactory(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
ArithmeticOperators.ArithmeticOperatorFactory
for given fieldReference. - ArithmeticOperatorFactory(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
ArithmeticOperators.ArithmeticOperatorFactory
for givenAggregationExpression
. - ArithmeticOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to Arithmetic aggregation operations that perform math operations on numbers.
- ArithmeticOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators
- ArithmeticOperators.Abs - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$abs
. - ArithmeticOperators.ACos - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the inverse cosine of a value. - ArithmeticOperators.ACosh - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the inverse hyperbolic cosine of a value. - ArithmeticOperators.Add - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$add
. - ArithmeticOperators.AngularUnit - Enum Class in org.springframework.data.mongodb.core.aggregation
-
The unit of measure for computations that operate upon angles.
- ArithmeticOperators.ArithmeticOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- ArithmeticOperators.ASin - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the inverse sine of a value. - ArithmeticOperators.ASinh - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the inverse hyperbolic sine of a value - ArithmeticOperators.ATan - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the inverse tangent of a value. - ArithmeticOperators.ATan2 - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the inverse tangent of y / x, where y and x are the first and second values passed to the expression respectively. - ArithmeticOperators.ATanh - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the inverse hyperbolic tangent of a value - ArithmeticOperators.Ceil - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$ceil
. - ArithmeticOperators.Cos - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the cosine of a value that is measured in radians. - ArithmeticOperators.Cosh - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the hyperbolic cosine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - ArithmeticOperators.Derivative - Class in org.springframework.data.mongodb.core.aggregation
-
Value object to represent an
expression
that calculates the average rate of change within the specified window. - ArithmeticOperators.Divide - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$divide
. - ArithmeticOperators.Exp - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$exp
. - ArithmeticOperators.Floor - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$floor
. - ArithmeticOperators.Integral - Class in org.springframework.data.mongodb.core.aggregation
-
Value object to represent an
expression
that calculates the approximation for the mathematical integral value. - ArithmeticOperators.Ln - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$ln
. - ArithmeticOperators.Log - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$log
. - ArithmeticOperators.Log10 - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$log10
. - ArithmeticOperators.Mod - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$mod
. - ArithmeticOperators.Multiply - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$multiply
. - ArithmeticOperators.Pow - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$pow
. - ArithmeticOperators.Rand - Class in org.springframework.data.mongodb.core.aggregation
-
ArithmeticOperators.Rand
returns a floating value between 0 and 1. - ArithmeticOperators.Round - Class in org.springframework.data.mongodb.core.aggregation
-
ArithmeticOperators.Round
rounds a number to a whole integer or to a specified decimal place. - ArithmeticOperators.Sin - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the sine of a value that is measured in radians. - ArithmeticOperators.Sinh - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the hyperbolic sine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - ArithmeticOperators.Sqrt - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$sqrt
. - ArithmeticOperators.Subtract - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$subtract
. - ArithmeticOperators.Tan - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the tangent of a value that is measured in radians. - ArithmeticOperators.Tanh - Class in org.springframework.data.mongodb.core.aggregation
-
An
expression
that calculates the hyperbolic tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - ArithmeticOperators.Trunc - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$trunc
. - array() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Create a new
JsonSchemaObject
oftype : 'array'
. - array(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
with given identifier oftype : 'array'
. - ARRAY - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- ARRAY - Enum constant in enum class org.springframework.data.mongodb.core.spel.MethodReferenceNode.AggregationMethodReference.ArgumentType
- ARRAY - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- arrayAsSet(String) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.AllElementsTrue
-
Creates new
SetOperators.AllElementsTrue
. - arrayAsSet(String) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.AnyElementTrue
-
Creates new
SetOperators.AnyElementTrue
. - arrayAsSet(String) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators
-
Take the array referenced by given fieldReference.
- arrayAsSet(String) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetDifference
-
Creates new
SetOperators.SetDifference
. - arrayAsSet(String) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetEquals
-
Create new
SetOperators.SetEquals
. - arrayAsSet(String) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetIntersection
-
Creates new
SetOperators.SetIntersection
- arrayAsSet(String) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetIsSubset
-
Creates new
SetOperators.SetIsSubset
. - arrayAsSet(String) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetUnion
-
Creates new
SetOperators.SetUnion
. - arrayAsSet(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.AllElementsTrue
-
Creates new
SetOperators.AllElementsTrue
. - arrayAsSet(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.AnyElementTrue
-
Creates new
SetOperators.AnyElementTrue
. - arrayAsSet(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators
-
Take the array resulting from the given
AggregationExpression
. - arrayAsSet(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetDifference
-
Creates new
SetOperators.SetDifference
. - arrayAsSet(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetEquals
-
Create new
SetOperators.SetEquals
. - arrayAsSet(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetIntersection
-
Creates new
SetOperators.SetIntersection
. - arrayAsSet(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetIsSubset
-
Creates new
SetOperators.SetIsSubset
. - arrayAsSet(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetUnion
-
Creates new
SetOperators.SetUnion
. - arrayElementAt(int) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$arrayElemAt
expression that takes the string representation of the previously mentioned field and returns the element at the specified array position. - arrayIndex(String) - Method in interface org.springframework.data.mongodb.core.aggregation.UnwindOperation.IndexBuilder
-
Exposes the array index as
field
. - arrayIndex(String) - Method in class org.springframework.data.mongodb.core.aggregation.UnwindOperation.UnwindOperationBuilder
- ArrayJsonSchemaProperty(String, TypedJsonSchemaObject.ArrayJsonSchemaObject) - Constructor for class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- arrayOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayElemAt
-
Creates new
ArrayOperators.ArrayElemAt
. - arrayOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators
-
Take the array referenced by given fieldReference.
- arrayOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ConcatArrays
-
Creates new
ArrayOperators.ConcatArrays
. - arrayOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.In
-
Start creating
ArrayOperators.In
. - arrayOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.IndexOfArray
-
Start creating new
ArrayOperators.IndexOfArray
. - arrayOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce
-
Start creating new
ArrayOperators.Reduce
. - arrayOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Zip
-
Start creating new
ArrayOperators.Zip
. - arrayOf(Collection<?>) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayElemAt
-
Creates new
ArrayOperators.ArrayElemAt
. - arrayOf(Collection<?>) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators
-
Take the given
values
AggregationExpression
. - arrayOf(Collection<?>) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ConcatArrays
-
Creates new
ArrayOperators.ConcatArrays
. - arrayOf(Collection<?>) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.In
-
Support for Aggregation In Search an Element in List of Objects to Filter Start creating
ArrayOperators.In
. - arrayOf(Collection<?>) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.IndexOfArray
-
Start creating new
ArrayOperators.IndexOfArray
. - arrayOf(Collection<?>) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Zip
-
Start creating new
ArrayOperators.Zip
. - arrayOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayElemAt
-
Creates new
ArrayOperators.ArrayElemAt
. - arrayOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators
-
Take the array referenced resulting from the given
AggregationExpression
. - arrayOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ConcatArrays
-
Creates new
ArrayOperators.ConcatArrays
. - arrayOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.In
-
Start creating
ArrayOperators.In
. - arrayOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.IndexOfArray
-
Start creating new
ArrayOperators.IndexOfArray
. - arrayOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce
-
Start creating new
ArrayOperators.Reduce
. - arrayOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Zip
-
Start creating new
ArrayOperators.Zip
. - ArrayOperatorFactory(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
ArrayOperators.ArrayOperatorFactory
for given fieldReference. - ArrayOperatorFactory(Collection<?>) - Constructor for class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
ArrayOperators.ArrayOperatorFactory
for given values. - ArrayOperatorFactory(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
ArrayOperators.ArrayOperatorFactory
for givenAggregationExpression
. - ArrayOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to array aggregation operations.
- ArrayOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.ArrayOperators
- ArrayOperators.ArrayElemAt - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$arrayElementAt
. - ArrayOperators.ArrayOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.ArrayOperatorFactory.ReduceInitialValueBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.ArrayToObject - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$arrayToObject
that transforms an array into a single document. - ArrayOperators.ConcatArrays - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$concatArrays
. - ArrayOperators.Filter - Class in org.springframework.data.mongodb.core.aggregation
-
$filter
AggregationExpression
allows to select a subset of the array to return based on the specified condition. - ArrayOperators.Filter.AsBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.Filter.ConditionBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.Filter.InputBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.First - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$first
that returns the first element in an array. - ArrayOperators.In - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$in
. - ArrayOperators.In.InBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.IndexOfArray - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$indexOfArray
. - ArrayOperators.IndexOfArray.IndexOfArrayBuilder - Class in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.IsArray - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$isArray
. - ArrayOperators.Last - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$last
that returns the last element in an array. - ArrayOperators.RangeOperator - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$range
. - ArrayOperators.RangeOperator.RangeOperatorBuilder - Class in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.Reduce - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$reduce
. - ArrayOperators.Reduce.InitialValueBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.Reduce.PropertyExpression - Class in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.Reduce.PropertyExpression.AsBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.Reduce.ReduceBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.Reduce.Variable - Enum Class in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.ReverseArray - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$reverseArray
. - ArrayOperators.Size - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$size
. - ArrayOperators.Slice - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$slice
. - ArrayOperators.Slice.SliceElementsBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ArrayOperators.SortArray - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$sortArray
that sorts elements in an array. - ArrayOperators.Zip - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$zip
. - ArrayOperators.Zip.ZipBuilder - Class in org.springframework.data.mongodb.core.aggregation
- ArrayProjectionOperationBuilder(ProjectionOperation) - Constructor for class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ArrayProjectionOperationBuilder
- arrayToObject(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayToObject
-
Converts the given array (e.g. an array of two-element arrays, a field reference to an array,...) to an object.
- arrayType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- arrayValueOfToObject(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayToObject
-
Converts the array pointed to by the given
field reference
to an object. - arrayValueOfToObject(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayToObject
-
Converts the result array of the given
expression
to an object. - as(Class<R>) - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.DistinctWithProjection
-
Define the target type the result should be mapped to.
- as(Class<R>) - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.FindWithProjection
-
Define the target type fields should be mapped to.
- as(Class<R>) - Method in interface org.springframework.data.mongodb.core.ExecutableMapReduceOperation.MapReduceWithProjection
-
Define the target type fields should be mapped to.
- as(Class<R>) - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.FindAndReplaceWithProjection
-
Define the target type fields should be mapped to.
- as(Class<R>) - Method in interface org.springframework.data.mongodb.core.ReactiveChangeStreamOperation.ChangeStreamWithFilterAndProjection
-
Define the target type fields should be mapped to.
- as(Class<R>) - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.DistinctWithProjection
-
Define the target type the result should be mapped to.
- as(Class<R>) - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.FindWithProjection
-
Define the target type fields should be mapped to.
- as(Class<R>) - Method in interface org.springframework.data.mongodb.core.ReactiveMapReduceOperation.MapReduceWithProjection
-
Define the target type fields should be mapped to.
- as(Class<R>) - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.FindAndReplaceWithProjection
-
Define the target type fields should be mapped to.
- as(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.Filter.AsBuilder
-
Set the variableName for the elements in the input array.
- as(String) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Returns the finally to be applied
BucketOperation
with the given alias. - as(String) - Method in class org.springframework.data.mongodb.core.aggregation.CountOperation.CountOperationBuilder
-
Returns the finally to be applied
CountOperation
with the given alias. - as(String) - Method in class org.springframework.data.mongodb.core.aggregation.FacetOperation.FacetOperationBuilder
-
Creates a new
FacetOperation
that contains the configured pipeline ofAggregationOperation
exposed as fieldName in the resulting facet document. - as(String) - Method in class org.springframework.data.mongodb.core.aggregation.GraphLookupOperation.GraphLookupOperationBuilder
-
Set the name of the array field added to each output document and return the final
GraphLookupOperation
. - as(String) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation.GroupOperationBuilder
-
Allows to specify an alias for the new-operation operation.
- as(String) - Method in interface org.springframework.data.mongodb.core.aggregation.LookupOperation.AsBuilder
- as(String) - Method in class org.springframework.data.mongodb.core.aggregation.LookupOperation.LookupOperationBuilder
- as(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ArrayProjectionOperationBuilder
-
Create the
ProjectionOperation
for the array property with given name. - as(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ExpressionProjectionOperationBuilder
- as(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Allows to specify an alias for the previous projection operation.
- as(String) - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootDocumentOperationBuilder
- as(String) - Method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.As
-
Define the target name field name to hold the computation result.
- as(String) - Method in interface org.springframework.data.mongodb.core.aggregation.VariableOperators.Map.AsBuilder
-
Define the variableName for addressing items within the array.
- as(String) - Method in interface org.springframework.data.mongodb.core.query.Field.FieldProjectionExpression
-
Set the name to be used in the result and return a
Field
. - asAggregationList(AggregationOperation...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
- asArray(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
-
Includes the current
ProjectionOperation
as an array with given name. - asBson(Object) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Returns the given source object as
Bson
, i.e. - ASCENDING - Enum constant in enum class org.springframework.data.mongodb.core.index.IndexDirection
- asCollection(Object) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Returns given object as
Collection
. - asDocument() - Method in interface org.springframework.data.mongodb.core.query.UpdateDefinition.ArrayFilter
-
Get the
Document
representation of the filter to apply. - asDocument() - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
-
Get the where definition as a Document instance
- asDocument(Bson) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Return the
Bson
object asDocument
. - asDocument(Bson, CodecRegistry) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Return the
Bson
object asDocument
. - asExposedFields() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.Outputs
- asFields(String...) - Static method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
- asin() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the inverse sine of a numeric value. - asinh() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the inverse hyperbolic sine of a numeric value. - asinhOf(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ASinh
-
Creates a new
AggregationExpression
that calculates the inverse hyperbolic sine of a value. - asinhOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ASinh
-
Creates a new
AggregationExpression
that calculates the inverse hyperbolic sine of a value. - asinhOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ASinh
-
Creates a new
AggregationExpression
that calculates the inverse hyperbolic sine of a value. - asinOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ASin
-
Creates a new
AggregationExpression
that calculates the inverse sine of a value. - asinOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ASin
-
Creates a new
AggregationExpression
that calculates the inverse sine of a value. - asinOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ASin
-
Creates a new
AggregationExpression
that calculates the inverse sine of a value. - asList() - Method in class org.springframework.data.mongodb.core.aggregation.Fields
- asList() - Method in class org.springframework.data.mongodb.core.geo.Sphere
- asLiteral() - Method in class org.springframework.data.mongodb.core.aggregation.LiteralOperators.LiteralOperatorFactory
-
Creates new
LiteralOperators.Literal
that returns the associated value without parsing. - asLiteral() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$literal
expression that Takes the value previously and uses it as literal. - asLiteral(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.LiteralOperators.Literal
-
Creates new
LiteralOperators.Literal
. - asMap(Bson) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Return the
Bson
object asMap
. - asMap(Bson, CodecRegistry) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Return the
Bson
object asMap
. - asMutableDocument(Bson) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Return the
Bson
object as mutableDocument
containing all entries fromBson
. - AssertMetrics - Class in org.springframework.data.mongodb.monitor
-
JMX Metrics for assertions
- AssertMetrics(MongoClient) - Constructor for class org.springframework.data.mongodb.monitor.AssertMetrics
- AssociationConverter(String, Association<MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.core.convert.QueryMapper.AssociationConverter
-
Creates a new
QueryMapper.AssociationConverter
for the givenAssociation
. - asString() - Method in class org.springframework.data.mongodb.core.query.Collation.CollationLocale
-
Get the string representation.
- atan() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the inverse tangent of a numeric value. - atan2(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the inverse tangent of the the numeric value divided by the given numeric value in the argument. - atan2(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the inverse tangent of the the numeric value divided by the given field reference in the argument. - atan2(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the inverse tangent of the the numeric value divided by the givenAggregationExpression
in the argument. - atan2of(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ATan2
-
Creates a new
AggregationExpression
that calculates the inverse tangent of of y / x, where y and x are the first and second values passed to the expression respectively. - atan2of(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ATan2
-
Creates a new
AggregationExpression
that calculates the inverse tangent of of y / x, where y and x are the first and second values passed to the expression respectively. - atan2of(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ATan2
-
Creates a new
AggregationExpression
that calculates the hyperbolic tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - atanh() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the inverse hyperbolic tangent of a numeric value. - atanhOf(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ATanh
-
Creates a new
AggregationExpression
that calculates the inverse hyperbolic tangent of a value. - atanhOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ATanh
-
Creates a new
AggregationExpression
that calculates the inverse hyperbolic tangent of a value. - atanhOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ATanh
-
Creates a new
AggregationExpression
that calculates the inverse hyperbolic tangent of a value. - atanOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ATan
-
Creates a new
AggregationExpression
that calculates the inverse tangent of a value. - atanOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ATan
-
Creates a new
AggregationExpression
that calculates the inverse tangent of a value. - atanOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ATan
-
Creates a new
AggregationExpression
that calculates the inverse tangent of a value. - atPosition(int) - Method in class org.springframework.data.mongodb.core.query.Update.PushOperatorBuilder
-
Forces values to be added at the given position.
- atPosition(Update.Position) - Method in class org.springframework.data.mongodb.core.query.Update.PushOperatorBuilder
-
Forces values to be added at given position.
- AuditingEntityCallback - Class in org.springframework.data.mongodb.core.mapping.event
-
EntityCallback
to populate auditing related fields on an entity about to be saved. - AuditingEntityCallback(ObjectFactory<IsNewAwareAuditingHandler>) - Constructor for class org.springframework.data.mongodb.core.mapping.event.AuditingEntityCallback
-
Creates a new
AuditingEntityCallback
using the givenMappingContext
andAuditingHandler
provided by the givenObjectFactory
. - auditorAwareRef() - Element in annotation interface org.springframework.data.mongodb.config.EnableMongoAuditing
-
Configures the
AuditorAware
bean to be used to lookup the current principal. - auditorAwareRef() - Element in annotation interface org.springframework.data.mongodb.config.EnableReactiveMongoAuditing
-
Configures the
ReactiveAuditorAware
bean to be used to lookup the current principal. - AUTOGENERATED_ID_TYPES - Static variable in class org.springframework.data.mongodb.core.mapping.MongoSimpleTypes
- autoIndexCreation() - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
-
Configure whether to automatically create indices for domain types by deriving the
IndexDefinition
from the entity or not. - avg() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AggregationExpression
that takes the associated numeric value expression and returns the average value. - avg() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that returns the average value of the numeric values. - avg() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Generates a builder for an
$avg
-expression for the current value. - avg(String) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$avg
-expression for the given field-reference. - avg(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$avg
-expression for the givenAggregationExpression
. - avgOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Avg
-
Creates new
AccumulatorOperators.Avg
. - avgOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Avg
-
Creates new
AccumulatorOperators.Avg
. - await(Duration) - Method in interface org.springframework.data.mongodb.core.messaging.Subscription
- awaitStart(Duration) - Method in interface org.springframework.data.mongodb.core.messaging.Task
-
Synchronous, blocking call that awaits until this
Task
becomes active.
B
- background() - Element in annotation interface org.springframework.data.mongodb.core.index.CompoundIndex
-
If true the index will be created in the background.
- background() - Method in class org.springframework.data.mongodb.core.index.Index
-
Build the index in background (non blocking).
- background() - Element in annotation interface org.springframework.data.mongodb.core.index.Indexed
-
If true the index will be created in the background.
- BackgroundFlushingMetrics - Class in org.springframework.data.mongodb.monitor
-
JMX Metrics for Background Flushing
- BackgroundFlushingMetrics(MongoClient) - Constructor for class org.springframework.data.mongodb.monitor.BackgroundFlushingMetrics
- backwardDiacriticSort() - Method in class org.springframework.data.mongodb.core.query.Collation
-
Sort string with diacritics sort from back of the string.
- backwards(boolean) - Method in class org.springframework.data.mongodb.core.query.Collation
-
Set the flag that determines whether strings with diacritics sort from back of the string.
- basePackageClasses() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Type-safe alternative to
EnableMongoRepositories.basePackages()
for specifying the packages to scan for annotated components. - basePackageClasses() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Type-safe alternative to
EnableReactiveMongoRepositories.basePackages()
for specifying the packages to scan for annotated components. - basePackages() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Base packages to scan for annotated components.
- basePackages() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Base packages to scan for annotated components.
- BasicMongoPersistentEntity<T> - Class in org.springframework.data.mongodb.core.mapping
-
MongoDB specific
MongoPersistentEntity
implementation that adds Mongo specific meta-data such as the collection name and the like. - BasicMongoPersistentEntity(TypeInformation<T>) - Constructor for class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
-
Creates a new
BasicMongoPersistentEntity
with the givenTypeInformation
. - BasicMongoPersistentProperty - Class in org.springframework.data.mongodb.core.mapping
-
MongoDB specific
PersistentProperty
implementation. - BasicMongoPersistentProperty(Property, MongoPersistentEntity<?>, SimpleTypeHolder, FieldNamingStrategy) - Constructor for class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
-
Creates a new
BasicMongoPersistentProperty
. - BasicQuery - Class in org.springframework.data.mongodb.core.query
-
Custom
Query
implementation to setup a basic query from some arbitrary JSON query string. - BasicQuery(String) - Constructor for class org.springframework.data.mongodb.core.query.BasicQuery
-
Create a new
BasicQuery
given a JSONquery
. - BasicQuery(String, String) - Constructor for class org.springframework.data.mongodb.core.query.BasicQuery
- BasicQuery(Document) - Constructor for class org.springframework.data.mongodb.core.query.BasicQuery
-
Create a new
BasicQuery
given a queryDocument
. - BasicQuery(Document, Document) - Constructor for class org.springframework.data.mongodb.core.query.BasicQuery
- BasicUpdate - Class in org.springframework.data.mongodb.core.query
- BasicUpdate(String) - Constructor for class org.springframework.data.mongodb.core.query.BasicUpdate
- BasicUpdate(Document) - Constructor for class org.springframework.data.mongodb.core.query.BasicUpdate
- BeanNames - Class in org.springframework.data.mongodb.config
-
Constants to declare bean names used by the namespace configuration.
- BeanNames() - Constructor for class org.springframework.data.mongodb.config.BeanNames
- BeforeConvertCallback<T> - Interface in org.springframework.data.mongodb.core.mapping.event
-
Callback being invoked before a domain object is converted to be persisted.
- BeforeConvertEvent<T> - Class in org.springframework.data.mongodb.core.mapping.event
-
Event being thrown before a domain object is converted to be persisted.
- BeforeConvertEvent(T, String) - Constructor for class org.springframework.data.mongodb.core.mapping.event.BeforeConvertEvent
-
Creates new
BeforeConvertEvent
. - BeforeDeleteEvent<T> - Class in org.springframework.data.mongodb.core.mapping.event
-
Event being thrown before a document is deleted.
- BeforeDeleteEvent(Document, Class<T>, String) - Constructor for class org.springframework.data.mongodb.core.mapping.event.BeforeDeleteEvent
-
Creates a new
BeforeDeleteEvent
for the givenDocument
, type and collectionName. - BeforeSaveCallback<T> - Interface in org.springframework.data.mongodb.core.mapping.event
-
Entity callback triggered before save of a document.
- BeforeSaveEvent<E> - Class in org.springframework.data.mongodb.core.mapping.event
-
MongoMappingEvent
triggered before save of a document. - BeforeSaveEvent(E, Document, String) - Constructor for class org.springframework.data.mongodb.core.mapping.event.BeforeSaveEvent
-
Creates new
BeforeSaveEvent
. - bigDecimalType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- BINARY - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- BINARY_DATA - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- binaryType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- bind(Object...) - Method in class org.springframework.data.mongodb.BindableMongoExpression
-
Provide the arguments to bind to the placeholders via their index.
- bind(String, String) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
Fields
instance from the given field name and target reference. - BindableMongoExpression - Class in org.springframework.data.mongodb
-
A
MongoExpression
using theParameterBindingDocumentCodec
for parsing a raw (json) expression. - BindableMongoExpression(String, Object[]) - Constructor for class org.springframework.data.mongodb.BindableMongoExpression
-
Create a new instance of
BindableMongoExpression
. - BindableMongoExpression(String, CodecRegistryProvider, Object[]) - Constructor for class org.springframework.data.mongodb.BindableMongoExpression
-
Create a new instance of
BindableMongoExpression
. - bindableValueForIndex(int) - Method in class org.springframework.data.mongodb.util.json.ParameterBindingContext
- binSize(int) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateTrunc
-
Define the numeric time value.
- binSize(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateTrunc
-
Define the numeric time value.
- binSize(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateTrunc
-
Define the numeric time value via an
AggregationExpression
. - bits() - Element in annotation interface org.springframework.data.mongodb.core.index.GeoSpatialIndexed
-
Bits of precision for boundary calculations.
- bits() - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Use
Criteria.BitwiseCriteriaOperators
as gateway to create a criterion using one of the bitwise operators like$bitsAllClear
. - bitwise(String) - Method in class org.springframework.data.mongodb.core.query.Update
-
The operator supports bitwise
and
, bitwiseor
, and bitwisexor
operations. - BitwiseOperatorBuilder(Update, String) - Constructor for class org.springframework.data.mongodb.core.query.Update.BitwiseOperatorBuilder
-
Creates a new
Update.BitwiseOperatorBuilder
. - blocking(ReactiveIndexOperations) - Static method in interface org.springframework.data.mongodb.core.index.IndexOperationsAdapter
-
Obtain a blocking variant of
IndexOperations
wrappingReactiveIndexOperations
. - bool() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Create a new
JsonSchemaObject
oftype : 'boolean'
. - bool(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty
with given identifier oftype : 'boolean'
. - BOOLEAN - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- BOOLEAN - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- BooleanOperatorFactory(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.BooleanOperators.BooleanOperatorFactory
-
Creates new
BooleanOperators.BooleanOperatorFactory
for given fieldReference. - BooleanOperatorFactory(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.BooleanOperators.BooleanOperatorFactory
-
Creates new
BooleanOperators.BooleanOperatorFactory
for givenAggregationExpression
. - BooleanOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to boolean expressions that evaluate their argument expressions as booleans and return a boolean as the result.
- BooleanOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.BooleanOperators
- BooleanOperators.And - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$and
. - BooleanOperators.BooleanOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- BooleanOperators.Not - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$not
. - BooleanOperators.Or - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$or
. - booleanType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- bottom() - Static method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Bottom
- bottom(int) - Static method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Bottom
- bounded(Object, Object) - Static method in interface org.springframework.data.mongodb.core.aggregation.DensifyOperation.Range
-
Add documents spanning the range of values within the given lower (inclusive) and upper (exclusive) bound.
- BoundedRange(Object, Object, DensifyOperation.DensifyUnit) - Constructor for class org.springframework.data.mongodb.core.aggregation.DensifyOperation.BoundedRange
- BSON - Static variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- BSON_TYPES - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- bsonTypeOf(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- bsonTypes() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- BsonUtils - Class in org.springframework.data.mongodb.util
-
Internal API for operations on
Bson
elements that can be eitherDocument
orDBObject
. - BsonUtils() - Constructor for class org.springframework.data.mongodb.util.BsonUtils
- BtreeIndexCounters - Class in org.springframework.data.mongodb.monitor
-
JMX Metrics for B-tree index counters
- BtreeIndexCounters(MongoClient) - Constructor for class org.springframework.data.mongodb.monitor.BtreeIndexCounters
- bucket(String) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
BucketOperation
given groupByField. - bucket(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
BucketOperation
givengroup-by expression
. - bucketAuto(String, int) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
BucketAutoOperation
given groupByField. - bucketAuto(AggregationExpression, int) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
BucketAutoOperation
givengroup-by expression
. - BucketAutoOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$bucketAuto
-operation. - BucketAutoOperation(AggregationExpression, int) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation
-
Creates a new
BucketAutoOperation
given agroup-by expression
. - BucketAutoOperation(Field, int) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation
-
Creates a new
BucketAutoOperation
given agroup-by field
. - BucketAutoOperation.BucketAutoOperationOutputBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
BucketOperationSupport.OutputBuilder
implementation forBucketAutoOperation
. - BucketAutoOperation.ExpressionBucketAutoOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
BucketOperationSupport.ExpressionBucketOperationBuilderSupport
implementation forBucketAutoOperation
using SpEL expression basedBucketOperationSupport.Output
. - BucketAutoOperation.Granularities - Enum Class in org.springframework.data.mongodb.core.aggregation
-
Supported MongoDB granularities.
- BucketAutoOperation.Granularity - Interface in org.springframework.data.mongodb.core.aggregation
- BucketAutoOperationOutputBuilder(Object, BucketAutoOperation) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.BucketAutoOperationOutputBuilder
-
Creates a new
BucketAutoOperation.BucketAutoOperationOutputBuilder
fot the given value andBucketAutoOperation
. - BucketOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$bucket
-operation. - BucketOperation(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketOperation
-
Creates a new
BucketOperation
given agroup-by expression
. - BucketOperation(Field) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketOperation
-
Creates a new
BucketOperation
given agroup-by field
. - BucketOperation.BucketOperationOutputBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
BucketOperationSupport.OutputBuilder
implementation forBucketOperation
. - BucketOperation.ExpressionBucketOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
BucketOperationSupport.ExpressionBucketOperationBuilderSupport
implementation forBucketOperation
using SpEL expression basedBucketOperationSupport.Output
. - BucketOperationOutputBuilder(Object, BucketOperation) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketOperation.BucketOperationOutputBuilder
-
Creates a new
BucketOperation.BucketOperationOutputBuilder
fot the given value andBucketOperation
. - BucketOperationSupport<T extends BucketOperationSupport<T,
B>, B extends BucketOperationSupport.OutputBuilder<B, T>> - Class in org.springframework.data.mongodb.core.aggregation -
Base class for bucket operations that support output expressions the aggregation framework.
- BucketOperationSupport(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport
-
Creates a new
BucketOperationSupport
given agroup-by expression
. - BucketOperationSupport(BucketOperationSupport<?, ?>) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport
-
Creates a copy of
BucketOperationSupport
. - BucketOperationSupport(BucketOperationSupport<?, ?>, BucketOperationSupport.Outputs) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport
-
Creates a copy of
BucketOperationSupport
and applies the newBucketOperationSupport.Outputs
. - BucketOperationSupport(Field) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport
-
Creates a new
BucketOperationSupport
given agroup-by field
. - BucketOperationSupport.ExpressionBucketOperationBuilderSupport<B extends BucketOperationSupport.OutputBuilder<B,
T>, T extends BucketOperationSupport<T, B>> - Class in org.springframework.data.mongodb.core.aggregation -
Builder for SpEL expression-based
BucketOperationSupport.Output
. - BucketOperationSupport.OperationOutput - Class in org.springframework.data.mongodb.core.aggregation
-
Output field that uses a Mongo operation (expression object) to generate an output field value.
- BucketOperationSupport.Output - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates an output field in a bucket aggregation stage.
- BucketOperationSupport.OutputBuilder<B extends BucketOperationSupport.OutputBuilder<B,
T>, T extends BucketOperationSupport<T, B>> - Class in org.springframework.data.mongodb.core.aggregation -
Base class for
BucketOperationSupport.Output
builders that result in aBucketOperationSupport
providing the builtBucketOperationSupport.Output
. - BucketOperationSupport.Outputs - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates
BucketOperationSupport.Output
s. - bucketSize() - Element in annotation interface org.springframework.data.mongodb.core.index.GeoSpatialIndexed
-
Deprecated.since MongoDB server version 4.4
- build() - Method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation.AddFieldsOperationBuilder
- build() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Returns a new
AggregationOptions
instance with the given configuration. - build() - Method in class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyOperationBuilder
- build() - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
- build() - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation.RedactOperationBuilder
- build() - Method in interface org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator.AccumulatorFinalizeBuilder
-
Build the
ScriptOperators.Accumulator
object without specifying afinalize function
. - build() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.DocumentWindowBuilder
- build() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindowBuilder
-
Build the
SetWindowFieldsOperation.RangeWindow
. - build() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder
-
Obtain a new instance of
SetWindowFieldsOperation
with previously set arguments. - build() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
- build() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
- build() - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
- build() - Method in class org.springframework.data.mongodb.core.messaging.Message.MessageProperties.MessagePropertiesBuilder
- build() - Method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest.TailableCursorRequestBuilder
- build() - Method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest.TailableCursorRequestOptions.TailableCursorRequestOptionsBuilder
- build() - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
-
Obtain the
MongoJsonSchema
. - build() - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload.GridFsUploadBuilder
- build() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder
- builder() - Static method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation
-
Define the
AddFieldsOperation
viaAddFieldsOperation.AddFieldsOperationBuilder
. - builder() - Static method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Obtain a new
AggregationOptions.Builder
for constructingAggregationOptions
. - builder() - Static method in class org.springframework.data.mongodb.core.aggregation.DensifyOperation
-
Obtain a builder to create the
DensifyOperation
. - builder() - Static method in class org.springframework.data.mongodb.core.aggregation.GraphLookupOperation
-
Creates a new
GraphLookupOperation.FromBuilder
to buildGraphLookupOperation
. - builder() - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation
-
Access the
builder API
to create a new instance ofMergeOperation
. - builder() - Static method in class org.springframework.data.mongodb.core.aggregation.RedactOperation
-
Obtain a new instance of
RedactOperation.RedactOperationBuilder
to specify condition and outcome of the $redact operation. - builder() - Static method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation
-
Creates a new
ReplaceRootOperation.ReplaceRootDocumentOperationBuilder
. - builder() - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperation
-
Define the
SetOperation
viaSetOperation.FieldAppender
. - builder() - Static method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation
-
Obtain a
builder
to create aSetWindowFieldsOperation
. - builder() - Static method in class org.springframework.data.mongodb.core.ChangeStreamOptions
-
Obtain a shiny new
ChangeStreamOptions.ChangeStreamOptionsBuilder
and start defining options in this fancy fluent way. - builder() - Static method in class org.springframework.data.mongodb.core.index.TextIndexDefinition
- builder() - Static method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest
-
Obtain a shiny new
ChangeStreamRequest.ChangeStreamRequestBuilder
and start defining yourChangeStreamRequest
in this fancy fluent way. - builder() - Static method in class org.springframework.data.mongodb.core.messaging.Message.MessageProperties
-
Obtain a shiny new
Message.MessageProperties.MessagePropertiesBuilder
and start defining options in this fancy fluent way. - builder() - Static method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest
-
Obtain a shiny new
TailableCursorRequest.TailableCursorRequestBuilder
and start defining options in this fancy fluent way. - builder() - Static method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest.TailableCursorRequestOptions
-
Obtain a shiny new
TailableCursorRequest.TailableCursorRequestOptions.TailableCursorRequestOptionsBuilder
and start defining options in this fancy fluent way. - builder() - Static method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema
-
Obtain a new
MongoJsonSchema.MongoJsonSchemaBuilder
to fluently define the schema. - builder(MessageListener<ChangeStreamDocument<Document>, ? super T>) - Static method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest
-
Obtain a shiny new
ChangeStreamRequest.ChangeStreamRequestBuilder
and start defining yourChangeStreamRequest
in this fancy fluent way. - builder(MessageListener<Document, ? super T>) - Static method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest
-
Obtain a shiny new
TailableCursorRequest.TailableCursorRequestBuilder
and start defining options in this fancy fluent way. - Builder() - Constructor for class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
- bulk(Collection<? extends T>) - Method in interface org.springframework.data.mongodb.core.ExecutableInsertOperation.TerminatingBulkInsert
-
Bulk write collection of objects.
- BULK - Enum constant in enum class org.springframework.data.mongodb.core.MongoActionOperation
- bulkFetch(List<DBRef>) - Method in interface org.springframework.data.mongodb.core.convert.DbRefResolver
-
Loads a given
List
ofDBRef
s from the datasource in one batch. - bulkFetch(List<DBRef>) - Method in class org.springframework.data.mongodb.core.convert.DefaultDbRefResolver
- bulkFetch(List<DBRef>) - Method in enum class org.springframework.data.mongodb.core.convert.NoOpDbRefResolver
- BulkOperationException - Exception in org.springframework.data.mongodb
-
Is thrown when errors occur during bulk operations.
- BulkOperationException(String, MongoBulkWriteException) - Constructor for exception org.springframework.data.mongodb.BulkOperationException
-
Creates a new
BulkOperationException
with the given message and sourceMongoBulkWriteException
. - BulkOperations - Interface in org.springframework.data.mongodb.core
-
Bulk operations for insert/update/remove actions on a collection.
- BulkOperations.BulkMode - Enum Class in org.springframework.data.mongodb.core
-
Mode for bulk operation.
- bulkOps(BulkOperations.BulkMode, Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns a new
BulkOperations
for the given entity type. - bulkOps(BulkOperations.BulkMode, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- bulkOps(BulkOperations.BulkMode, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns a new
BulkOperations
for the given entity type and collection name. - bulkOps(BulkOperations.BulkMode, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- bulkOps(BulkOperations.BulkMode, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns a new
BulkOperations
for the given collection. - bulkOps(BulkOperations.BulkMode, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- by(int) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
-
Shift the document position relative to the current.
- by(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.Filter.ConditionBuilder
-
Set the expression that determines whether to include the element in the resulting array.
- by(Document) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.Filter.ConditionBuilder
-
Set the expression that determines whether to include the element in the resulting array.
- by(Sort) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.SortArray
-
Set the order to put elements in.
- by(Aggregation) - Method in interface org.springframework.data.mongodb.core.ExecutableAggregationOperation.AggregationWithAggregation
-
Set the aggregation to be used.
- by(Aggregation) - Method in interface org.springframework.data.mongodb.core.ReactiveAggregationOperation.AggregationOperationWithAggregation
-
Set the aggregation to be used.
- by(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.Filter.ConditionBuilder
-
Set the
AggregationExpression
that determines whether to include the element in the resulting array. - byExample(Object) - Static method in class org.springframework.data.mongodb.core.query.Criteria
-
Static factory method to create a
Criteria
matching an example object. - byExample(Example<?>) - Static method in class org.springframework.data.mongodb.core.query.Criteria
-
Static factory method to create a
Criteria
matching an example object.
C
- CachingMongoPersistentProperty - Class in org.springframework.data.mongodb.core.mapping
- CachingMongoPersistentProperty(Property, MongoPersistentEntity<?>, SimpleTypeHolder, FieldNamingStrategy) - Constructor for class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
-
Creates a new
CachingMongoPersistentProperty
. - call(String, Object...) - Method in interface org.springframework.data.mongodb.core.ScriptOperations
-
Deprecated.Call the JavaScript by its name.
- cancel() - Method in interface org.springframework.data.mongodb.core.messaging.Cancelable
-
Abort and free resources.
- Cancelable - Interface in org.springframework.data.mongodb.core.messaging
-
Cancelable allows stopping long running tasks and freeing underlying resources.
- CANCELLED - Enum constant in enum class org.springframework.data.mongodb.core.messaging.Task.State
- capped() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings and capped set to true. - captureExpressionDependencies(String, ValueProvider, ExpressionParser) - Method in class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
-
Determine
ExpressionDependencies
from Expressions that are nested in thejson
content. - caseFirst(String) - Method in class org.springframework.data.mongodb.core.query.Collation
-
Set the flag that determines sort order of case differences during tertiary level comparisons.
- caseFirst(Collation.CaseFirst) - Method in class org.springframework.data.mongodb.core.query.Collation
-
Set the flag that determines sort order of case differences during tertiary level comparisons.
- caseFirst(Collation.CaseFirst) - Method in class org.springframework.data.mongodb.core.query.Collation.TertiaryICUComparisonLevel
-
Set the flag that determines sort order of case differences.
- caseLevel(boolean) - Method in class org.springframework.data.mongodb.core.query.Collation
-
Set whether to include
caseLevel
comparison. - caseSensitive(boolean) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
-
Optionally enable or disable case sensitive search.
- ceil() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that returns the smallest integer greater than or equal to the assoicated number. - ceil() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$ceil
expression that takes the number of the previously mentioned field and returns the smallest integer greater than or equal to the specified number. - ceilValueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Ceil
-
Creates new
ArithmeticOperators.Ceil
. - ceilValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Ceil
-
Creates new
ArithmeticOperators.Ceil
. - ceilValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Ceil
-
Creates new
ArithmeticOperators.Ceil
. - changeStream(Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveChangeStreamOperation
-
Start creating a change stream operation for the given domainType watching all collections within the database.
- changeStream(Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- changeStream(String, String, ChangeStreamOptions, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Subscribe to a MongoDB Change Stream via the reactive infrastructure.
- changeStream(String, String, ChangeStreamOptions, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- changeStream(String, ChangeStreamOptions, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Subscribe to a MongoDB Change Stream for all events in the given collection via the reactive infrastructure.
- changeStream(ChangeStreamOptions, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Subscribe to a MongoDB Change Stream for all events in the configured default database via the reactive infrastructure.
- changeStream(CollectionOptions.CollectionChangeStreamOptions) - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with the givenCollectionOptions.TimeSeriesOptions
. - ChangeStreamEvent<T> - Class in org.springframework.data.mongodb.core
-
Message
implementation specific to MongoDB Change Streams. - ChangeStreamEvent(ChangeStreamDocument<Document>, Class<T>, MongoConverter) - Constructor for class org.springframework.data.mongodb.core.ChangeStreamEvent
- ChangeStreamOptions - Class in org.springframework.data.mongodb.core
-
Options applicable to MongoDB Change Streams.
- ChangeStreamOptions() - Constructor for class org.springframework.data.mongodb.core.ChangeStreamOptions
- ChangeStreamOptions.ChangeStreamOptionsBuilder - Class in org.springframework.data.mongodb.core
-
Builder for creating
ChangeStreamOptions
. - ChangeStreamRequest<T> - Class in org.springframework.data.mongodb.core.messaging
-
SubscriptionRequest
implementation to be used for listening to Change Streams via aMessageListenerContainer
using the synchronous MongoDB Java driver. - ChangeStreamRequest(MessageListener<ChangeStreamDocument<Document>, ? super T>, SubscriptionRequest.RequestOptions) - Constructor for class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest
- ChangeStreamRequest.ChangeStreamRequestBuilder<T> - Class in org.springframework.data.mongodb.core.messaging
-
Builder for creating
ChangeStreamRequest
. - ChangeStreamRequest.ChangeStreamRequestOptions - Class in org.springframework.data.mongodb.core.messaging
-
SubscriptionRequest.RequestOptions
implementation specific to aChangeStreamRequest
. - ChangeStreamRequestOptions(String, String, Duration, ChangeStreamOptions) - Constructor for class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestOptions
-
Create new
ChangeStreamRequest.ChangeStreamRequestOptions
. - ChangeStreamRequestOptions(String, String, ChangeStreamOptions) - Constructor for class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestOptions
-
Create new
ChangeStreamRequest.ChangeStreamRequestOptions
. - chars(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.LTrim
-
Optional specify the character(s) to trim from the beginning.
- chars(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RTrim
-
Optional specify the character(s) to trim from the end.
- chars(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Trim
-
Optional specify the character(s) to trim from the beginning.
- charsOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.LTrim
-
Optional specify the reference to the
field
holding the character values to trim from the beginning. - charsOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RTrim
-
Optional specify the reference to the
field
holding the character values to trim from the end. - charsOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Trim
-
Optional specify the reference to the
field
holding the character values to trim from the beginning. - charsOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.LTrim
-
Optional specify the
AggregationExpression
evaluating to the character sequence to trim from the beginning. - charsOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RTrim
-
Optional specify the
AggregationExpression
evaluating to the character sequence to trim from the end. - charsOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Trim
-
Optional specify the
AggregationExpression
evaluating to the character sequence to trim from the beginning. - checkForIndexes(MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.index.ReactiveMongoPersistentEntityIndexCreator
-
Inspect entities for index creation.
- chunkSize(int) - Method in class org.springframework.data.mongodb.gridfs.GridFsObject.Options
- chunkSize(int) - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload.GridFsUploadBuilder
-
Set the upload chunk size in bytes.
- chunkSize(int) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder
-
Set the upload chunk size in bytes.
- ClientSessionException - Exception in org.springframework.data.mongodb
-
NonTransientDataAccessException
specific to MongoDBClientSession
related data access failures such as reading data using an already closed session. - ClientSessionException(String) - Constructor for exception org.springframework.data.mongodb.ClientSessionException
-
Constructor for
ClientSessionException
. - ClientSessionException(String, Throwable) - Constructor for exception org.springframework.data.mongodb.ClientSessionException
-
Constructor for
ClientSessionException
. - closeClient() - Method in class org.springframework.data.mongodb.core.MongoDatabaseFactorySupport
-
Close the client instance.
- closeClient() - Method in class org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory
- CLUSTER_TIME - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
-
Variable for the current timestamp.
- cmp(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$cmp
expression (compare to) that compares the value of the field to a given value or field. - codecRegistryProvider - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- CodecRegistryProvider - Interface in org.springframework.data.mongodb
-
Provider interface to obtain
CodecRegistry
from the underlying MongoDB Java driver. - collation() - Element in annotation interface org.springframework.data.mongodb.core.index.CompoundIndex
-
The actual collation definition in JSON format or a
template expression
resolving to either a JSON String or aDocument
. - collation() - Element in annotation interface org.springframework.data.mongodb.core.index.Indexed
-
The actual collation definition in JSON format or a
template expression
resolving to either a JSON String or aDocument
. - collation() - Element in annotation interface org.springframework.data.mongodb.core.index.WildcardIndexed
-
Defines the collation to apply.
- collation() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Document
-
Defines the collation to apply when executing a query or creating indexes.
- collation() - Element in annotation interface org.springframework.data.mongodb.core.mapping.TimeSeries
-
Defines the collation to apply when executing a query or creating indexes.
- collation() - Element in annotation interface org.springframework.data.mongodb.repository.Aggregation
-
Defines the collation to apply when executing the aggregation.
- collation() - Element in annotation interface org.springframework.data.mongodb.repository.Query
-
Defines the collation to apply when executing the query.
- collation(Collation) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Define collation settings for string comparison.
- collation(Collation) - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
-
Set the collation to use.
- collation(Collation) - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings andcollation
set to given value. - collation(Collation) - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
-
Define the
Collation
specifying language-specific rules for string comparison. - collation(Collation) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
- collation(Collation) - Method in class org.springframework.data.mongodb.core.index.Index
- collation(Collation) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.Define the Collation specifying language-specific rules for string comparison.
- collation(Collation) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the collation to use.
- collation(Collation) - Method in class org.springframework.data.mongodb.core.query.Query
-
Set the
Collation
applying language-specific rules for string comparison. - collation(Collation) - Method in class org.springframework.data.mongodb.core.ViewOptions
- Collation - Class in org.springframework.data.mongodb.core.query
-
Central abstraction for MongoDB collation support.
- Collation - Annotation Interface in org.springframework.data.mongodb.core.annotation
-
Collation
allows to define the rules used for language-specific string comparison. - Collation.Alternate - Class in org.springframework.data.mongodb.core.query
- Collation.AlternateWithMaxVariable - Class in org.springframework.data.mongodb.core.query
- Collation.CaseFirst - Class in org.springframework.data.mongodb.core.query
- Collation.CollationLocale - Class in org.springframework.data.mongodb.core.query
-
ICU locale abstraction for usage with MongoDB
Collation
. - Collation.ComparisonLevel - Interface in org.springframework.data.mongodb.core.query
-
Abstraction for the ICU Comparison Levels.
- Collation.PrimaryICUComparisonLevel - Class in org.springframework.data.mongodb.core.query
-
Primary-strength
Collation.ICUComparisonLevel
. - Collation.SecondaryICUComparisonLevel - Class in org.springframework.data.mongodb.core.query
-
Secondary-strength
Collation.ICUComparisonLevel
. - Collation.TertiaryICUComparisonLevel - Class in org.springframework.data.mongodb.core.query
-
Tertiary-strength
Collation.ICUComparisonLevel
. - collection() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Document
-
The collection the document representing the entity is supposed to be stored in.
- collection() - Element in annotation interface org.springframework.data.mongodb.core.mapping.DocumentReference
-
The collection the referenced entity resides in.
- collection() - Element in annotation interface org.springframework.data.mongodb.core.mapping.TimeSeries
-
The collection the document representing the entity is supposed to be stored in.
- collection(String) - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationTarget
- collection(String) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the name of the
MongoCollection
to listen to. - collection(String) - Method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest.TailableCursorRequestBuilder
-
Set the name of the
MongoCollection
to listen to. - collection(String) - Method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest.TailableCursorRequestOptions.TailableCursorRequestOptionsBuilder
-
Set the collection name to tail.
- CollectionCallback<T> - Interface in org.springframework.data.mongodb.core
-
Callback interface for executing actions against a
MongoCollection
. - collectionExists(Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Check to see if a collection with a name indicated by the entity class exists.
- collectionExists(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- collectionExists(Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Check to see if a collection with a name indicated by the entity class exists.
- collectionExists(Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- collectionExists(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Check to see if a collection with a given name exists.
- collectionExists(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- collectionExists(String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Check to see if a collection with a given name exists.
- collectionExists(String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- collectionName(String) - Method in class org.springframework.data.mongodb.core.messaging.Message.MessageProperties.MessagePropertiesBuilder
- CollectionOptions - Class in org.springframework.data.mongodb.core
-
Provides a simple wrapper to encapsulate the variety of settings you can use when creating a collection.
- CollectionOptions.CollectionChangeStreamOptions - Class in org.springframework.data.mongodb.core
-
Encapsulation of options applied to define collections change stream behaviour.
- CollectionOptions.TimeSeriesOptions - Class in org.springframework.data.mongodb.core
-
Options applicable to Time Series collections.
- CollectionOptions.ValidationOptions - Class in org.springframework.data.mongodb.core
-
Encapsulation of ValidationOptions options.
- COMMAND - Static variable in class org.springframework.data.mongodb.core.geo.Sphere
- commandFailed(CommandFailedEvent) - Method in class org.springframework.data.mongodb.observability.MongoObservationCommandListener
- commandStarted(CommandStartedEvent) - Method in class org.springframework.data.mongodb.observability.MongoObservationCommandListener
- commandSucceeded(CommandSucceededEvent) - Method in class org.springframework.data.mongodb.observability.MongoObservationCommandListener
- comment() - Element in annotation interface org.springframework.data.mongodb.repository.Meta
-
Add a comment to the query.
- comment(String) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Define a comment to describe the execution.
- comment(String) - Method in class org.springframework.data.mongodb.core.query.Query
-
Add a comment to the query that is propagated to the profile log.
- commitTransaction() - Method in class org.springframework.data.mongodb.MongoTransactionManager.MongoTransactionObject
-
Commit the transaction.
- commitTransaction() - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager.ReactiveMongoTransactionObject
-
Commit the transaction.
- compareTo(String) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Cmp
-
Creates new
ComparisonOperators.Cmp
with all previously added arguments appending the given one. - compareTo(String) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.ComparisonOperatorFactory
-
Creates new
AggregationExpression
that compares two values. - compareTo(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Cmp
-
Creates new
ComparisonOperators.Cmp
with all previously added arguments appending the given one. - compareTo(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.ComparisonOperatorFactory
-
Creates new
AggregationExpression
that compares two values. - compareToValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Cmp
-
Creates new
ComparisonOperators.Cmp
with all previously added arguments appending the given one. - compareToValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.ComparisonOperatorFactory
-
Creates new
AggregationExpression
that compares two values. - ComparisonOperatorFactory(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.ComparisonOperatorFactory
-
Creates new
ComparisonOperators.ComparisonOperatorFactory
for given fieldReference. - ComparisonOperatorFactory(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.ComparisonOperatorFactory
-
Creates new
ComparisonOperators.ComparisonOperatorFactory
for givenAggregationExpression
. - ComparisonOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to comparison expressions.
- ComparisonOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.ComparisonOperators
- ComparisonOperators.Cmp - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$cmp
. - ComparisonOperators.ComparisonOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- ComparisonOperators.Eq - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$eq
. - ComparisonOperators.Gt - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$gt
. - ComparisonOperators.Gte - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$gte
. - ComparisonOperators.Lt - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$lt
. - ComparisonOperators.Lte - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$lte
. - ComparisonOperators.Ne - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$ne
. - CompoundIndex - Annotation Interface in org.springframework.data.mongodb.core.index
-
Mark a class to use compound indexes.
- CompoundIndexDefinition - Class in org.springframework.data.mongodb.core.index
-
Index definition to span multiple keys.
- CompoundIndexDefinition(Document) - Constructor for class org.springframework.data.mongodb.core.index.CompoundIndexDefinition
-
Creates a new
CompoundIndexDefinition
for the given keys. - CompoundIndexes - Annotation Interface in org.springframework.data.mongodb.core.index
-
Container annotation that allows to collect multiple
CompoundIndex
annotations. - computeClientSetting() - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
-
Create
MongoClientSettings
based on configuration and priority (lower is better). - ComputedField(String, AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.ComputedField
-
Create a new
SetWindowFieldsOperation.ComputedField
. - ComputedField(String, AggregationExpression, SetWindowFieldsOperation.Window) - Constructor for class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.ComputedField
-
Create a new
SetWindowFieldsOperation.ComputedField
. - computeUploadOptionsFor(String, Document) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
-
Compute the
GridFSUploadOptions
to be used from the given contentType and metadataDocument
. - concat(Object...) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$concat
expression that takes the string representation of the previously mentioned field and concats given values to it. - concat(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that takes the associated array and concats the given arrayFieldReference to it. - concat(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ConcatArrays
-
Concat with the array stored at the given field.
- concat(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Concat
-
Concat the given value.
- concat(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and concats given value to it. - concat(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that takes the associated array and concats the array resulting form the given expression to it. - concat(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ConcatArrays
-
Concat with the array resulting from the given
AggregationExpression
. - concatArrays(String...) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$concatArrays
expression that takes the string representation of the previously mentioned field and concats it with the arrays from the referenced fields. - concatValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Concat
-
Concat the value of the given field.
- concatValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and concats the value of the referenced field to it. - concatValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Concat
-
Concat the value resulting from the given
AggregationExpression
. - concatValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and concats the result of the givenAggregationExpression
to it. - ConditionalOperatorFactory(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.ConditionalOperatorFactory
-
Creates new
ConditionalOperators.ConditionalOperatorFactory
for given fieldReference. - ConditionalOperatorFactory(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.ConditionalOperatorFactory
-
Creates new
ConditionalOperators.ConditionalOperatorFactory
for givenAggregationExpression
. - ConditionalOperatorFactory(CriteriaDefinition) - Constructor for class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.ConditionalOperatorFactory
-
Creates new
ConditionalOperators.ConditionalOperatorFactory
for givenCriteriaDefinition
. - ConditionalOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to conditional expressions that evaluate their argument expressions as booleans to a value.
- ConditionalOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.ConditionalOperators
- ConditionalOperators.Cond - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$cond
operator. - ConditionalOperators.Cond.OtherwiseBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ConditionalOperators.Cond.ThenBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ConditionalOperators.Cond.WhenBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ConditionalOperators.ConditionalOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- ConditionalOperators.IfNull - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$ifNull
operator. - ConditionalOperators.IfNull.IfNullBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ConditionalOperators.IfNull.OrBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ConditionalOperators.IfNull.ThenBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ConditionalOperators.Switch - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$switch
. - ConditionalOperators.Switch.CaseOperator - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework case document inside a
$switch
-operation. - ConditionalOperators.Switch.CaseOperator.ThenBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- configureClientSettings(MongoClientSettings.Builder) - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
-
Configure
MongoClientSettings
via itsMongoClientSettings.Builder
API. - configureConverters(MongoCustomConversions.MongoConverterConfigurationAdapter) - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
-
Configuration hook for
MongoCustomConversions
creation. - configurePropertyConversions(Consumer<PropertyValueConverterRegistrar<MongoPersistentProperty>>) - Method in class org.springframework.data.mongodb.core.convert.MongoCustomConversions.MongoConverterConfigurationAdapter
-
Gateway to register property specific converters.
- connectFrom(String) - Method in interface org.springframework.data.mongodb.core.aggregation.GraphLookupOperation.ConnectFromBuilder
-
Set the connectFrom fieldName to apply the
$graphLookup
to. - ConnectionMetrics - Class in org.springframework.data.mongodb.monitor
-
JMX Metrics for Connections
- ConnectionMetrics(MongoClient) - Constructor for class org.springframework.data.mongodb.monitor.ConnectionMetrics
- ConnectionStringPropertyEditor - Class in org.springframework.data.mongodb.config
-
Parse a
String
to aConnectionString
. - ConnectionStringPropertyEditor() - Constructor for class org.springframework.data.mongodb.config.ConnectionStringPropertyEditor
- connectTo(String) - Method in interface org.springframework.data.mongodb.core.aggregation.GraphLookupOperation.ConnectToBuilder
-
Set the connectTo fieldName to apply the
$graphLookup
to. - considerNestedRepositories() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Configures whether nested repository-interfaces (e.g. defined as inner classes) should be discovered by the repositories infrastructure.
- considerNestedRepositories() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Configures whether nested repository-interfaces (e.g. defined as inner classes) should be discovered by the repositories infrastructure.
- CONTAINING - Enum constant in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator.MatchMode
-
Matches string containing pattern
- contains(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
-
Check if the given key is available.
- contains(Bson, String, Object) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Check if a given entry (key/value pair) is present in the given
Bson
. - containsAssociation() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
-
Returns whether the field references an association in case it refers to a nested field.
- containsUnionWith() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationPipeline
-
Return whether this aggregation pipeline defines a
$unionWith
stage that may contribute documents from other collections. - containsValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that returns a boolean indicating whether a specified value is in the associated array. - containsValue(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.In.InBuilder
-
Set the value to check for existence in the array.
- content(InputStream) - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload.GridFsUploadBuilder
-
Define the content of the file to upload.
- content(Supplier<InputStream>) - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload.GridFsUploadBuilder
-
Define the content of the file to upload.
- content(Publisher<DataBuffer>) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder
-
Define the content of the file to upload.
- contentLength() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
- contentType(String) - Method in class org.springframework.data.mongodb.gridfs.GridFsObject.Options
-
Set the associated content type.
- contentType(String) - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload.GridFsUploadBuilder
-
Set the content type.
- contentType(String) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder
-
Set the content type.
- Context(AbstractBsonReader.Context, BsonContextType) - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader.Context
- contextFor(Class<?>) - Static method in class org.springframework.data.mongodb.util.aggregation.TestAggregationContext
- contextFor(Class<?>, MongoConverter) - Static method in class org.springframework.data.mongodb.util.aggregation.TestAggregationContext
- ContextProviderFactory - Class in org.springframework.data.mongodb.observability
-
Factory to create a
ContextProvider
to propagate the request context across tasks. - ContextProviderFactory() - Constructor for class org.springframework.data.mongodb.observability.ContextProviderFactory
- continueOnMissingFieldReference() - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperationContext
-
This toggle allows the
context
to use any given field name without checking for its existence. - continueOnMissingFieldReference() - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
- continueOnMissingFieldReference(Class<?>) - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
-
This toggle allows the
context
to use any given field name without checking for its existence. - contribute(AotRepositoryContext, GenerationContext) - Method in class org.springframework.data.mongodb.repository.aot.AotMongoRepositoryPostProcessor
- contributeType(Class<?>, GenerationContext) - Method in class org.springframework.data.mongodb.repository.aot.AotMongoRepositoryPostProcessor
- conversions - Variable in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
- conversionService - Variable in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
- convert(Object, TypeInformation<? extends S>) - Method in interface org.springframework.data.mongodb.core.convert.MappingMongoConverter.ConversionContext
-
Converts a source object into
target
. - convert(Object, TypeInformation<? extends S>, MappingMongoConverter.ConversionContext) - Method in interface org.springframework.data.mongodb.core.convert.MappingMongoConverter.ConversionContext
-
Converts a source object into
target
. - convert(Object, TypeInformation<? extends S>, MappingMongoConverter.ConversionContext) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter.DefaultConversionContext
- convert(String) - Method in class org.springframework.data.mongodb.config.StringToWriteConcernConverter
- convert(MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.AssociationConverter
- convert(MongoPersistentProperty) - Method in enum class org.springframework.data.mongodb.core.mapping.MongoPersistentProperty.PropertyToFieldNameConverter
- convertAssociation(Object, QueryMapper.Field) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
- convertAssociation(Object, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Converts the given source assuming it's actually an association to another object.
- convertDegreesToRadians() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
AggregationExpression
for$degreesToRadians
that converts an input value measured in degrees to radians. - convertId(Object) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Converts the given raw id value into either
ObjectId
orString
. - convertId(Object, Class<?>) - Method in interface org.springframework.data.mongodb.core.convert.MongoConverter
-
Converts the given raw id value into either
ObjectId
orString
. - convertId(Object, Class<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Converts the given raw id value into either
ObjectId
ortargetType
. - ConvertingParameterAccessor - Class in org.springframework.data.mongodb.repository.query
-
Custom
ParameterAccessor
that uses aMongoWriter
to serialize parameters into Mongo format. - ConvertingParameterAccessor(MongoWriter<?>, MongoParameterAccessor) - Constructor for class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
-
Creates a new
ConvertingParameterAccessor
with the givenMongoWriter
and delegate. - ConvertingParameterAccessor.PotentiallyConvertingIterator - Interface in org.springframework.data.mongodb.repository.query
-
Custom
Iterator
that adds a method to access elements in a converted manner. - ConvertOperatorFactory(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
ConvertOperators.ConvertOperatorFactory
for given fieldReference. - ConvertOperatorFactory(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
ConvertOperators.ConvertOperatorFactory
for givenAggregationExpression
. - ConvertOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to convert aggregation operations.
- ConvertOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.ConvertOperators
- ConvertOperators.Convert - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$convert
that converts a value to a specified type. - ConvertOperators.ConvertOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- ConvertOperators.DegreesToRadians - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$degreesToRadians
that converts an input value measured in degrees to radians. - ConvertOperators.ToBool - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$toBool
that converts a value to boolean. - ConvertOperators.ToDate - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$toDate
that converts a value to date. - ConvertOperators.ToDecimal - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$toDecimal
that converts a value to decimal. - ConvertOperators.ToDouble - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$toDouble
that converts a value to double. - ConvertOperators.ToInt - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$toInt
that converts a value to integer. - ConvertOperators.ToLong - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$toLong
that converts a value to long. - ConvertOperators.ToObjectId - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$toObjectId
that converts a value to objectId. - ConvertOperators.ToString - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$toString
that converts a value to string. - convertSimpleOrDocument(Object, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Retriggers mapping if the given source is a
Document
or simply invokes the - convertTo(int) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and converts it into the type specified by the givennumericTypeIdentifier
. - convertTo(String) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and converts it into the type specified by the givenstringTypeIdentifier
. - convertTo(JsonSchemaObject.Type) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and converts it into the type specified by the givenJsonSchemaObject.Type
. - convertToBoolean() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
for$toBool
that converts a value to boolean. - convertToCreateCollectionOptions(CollectionOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- convertToCreateCollectionOptions(CollectionOptions, Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- convertToDate() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
for$toDate
that converts a value to a date. - convertToDecimal() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
for$toDecimal
that converts a value to a decimal. - convertToDocument(CollectionOptions, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Convert given
CollectionOptions
to a document and take the domain type information into account when creating a mapped schema for validation. - convertToDouble() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
for$toDouble
that converts a value to a decimal. - convertToInt() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
for$toInt
that converts a value to an int. - convertToLong() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
for$toLong
that converts a value to a long. - convertToMongoType(Object) - Method in interface org.springframework.data.mongodb.core.convert.MongoWriter
-
Converts the given object into one Mongo will be able to store natively.
- convertToMongoType(Object, MongoPersistentEntity) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- convertToMongoType(Object, MongoPersistentEntity<?>) - Method in interface org.springframework.data.mongodb.core.convert.MongoWriter
- convertToMongoType(Object, TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- convertToMongoType(Object, TypeInformation<?>) - Method in interface org.springframework.data.mongodb.core.convert.MongoWriter
-
Converts the given object into one Mongo will be able to store natively but retains the type information in case the given
TypeInformation
differs from the given object type. - convertToObjectId() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
for$toObjectId
that converts a value to a objectId. - convertToString() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
for$toString
that converts a value to a string. - convertToTypeOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and converts it into the type specified by the value of the givenfield reference
. - convertToTypeOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ConvertOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and converts it into the type specified by the givenexpression
. - convertValue(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Creates new
ConvertOperators.Convert
using the given value for the input attribute. - convertValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Creates new
ConvertOperators.Convert
using the value of the providedfieldReference
as input value. - convertValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Creates new
ConvertOperators.Convert
using the result of the providedexpression
as input value. - cos() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the cosine of a numeric value given inradians
. - cos(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cos
-
Creates a new
AggregationExpression
that calculates the cosine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - cos(Object, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cos
-
Creates a new
AggregationExpression
that calculates the cosine of a value that is measured in the givenunit
. - cos(ArithmeticOperators.AngularUnit) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the cosine of a numeric value in the givenunit
. - cosh() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the hyperbolic cosine of a numeric value given inradians
. - cosh(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cosh
-
Creates a new
AggregationExpression
that calculates the hyperbolic cosine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - cosh(Object, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cosh
-
Creates a new
AggregationExpression
that calculates the hyperbolic cosine of a value that is measured in the givenunit
. - cosh(ArithmeticOperators.AngularUnit) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the hyperbolic cosine of a numeric value. - coshOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cosh
-
Creates a new
AggregationExpression
that calculates the hyperbolic cosine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - coshOf(String, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cosh
-
Creates a new
AggregationExpression
that calculates the hyperbolic cosine of a value that is measured in the givenunit
. - coshOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cosh
-
Creates a new
AggregationExpression
that calculates the hyperbolic cosine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - coshOf(AggregationExpression, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cosh
-
Creates a new
AggregationExpression
that calculates the hyperbolic cosine of a value that is measured in the givenunit
. - cosOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cos
-
Creates a new
AggregationExpression
that calculates the cosine of a value that is measured inradians
. - cosOf(String, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cos
-
Creates a new
AggregationExpression
that calculates the cosine of a value that is measured in the givenunit
. - cosOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cos
-
Creates a new
AggregationExpression
that calculates the cosine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - cosOf(AggregationExpression, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cos
-
Creates a new
AggregationExpression
that calculates the cosine of a value that is measured in the givenunit
. - count() - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
CountOperation.CountOperationBuilder
. - count() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Generates a builder for a
$sum
-expression. - count() - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for a$sum
-expression. - count() - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.TerminatingFind
-
Get the number of matching elements.
- count() - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.TerminatingFind
-
Get the number of matching elements.
- count() - Element in annotation interface org.springframework.data.mongodb.repository.Query
-
Returns whether the query defined should be executed as count projection.
- count() - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- count() - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- count(Predicate) - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
- count(Predicate) - Method in class org.springframework.data.mongodb.repository.support.ReactiveQuerydslMongoPredicateExecutor
- count(Example<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- count(Example<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- count(Query, Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns the number of documents for the given
Query
by querying the collection of the given entity class. - count(Query, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- count(Query, Class<?>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Returns the number of documents for the given
Query
by querying the collection of the given entity class. - count(Query, Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- count(Query, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
- count(Query, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- count(Query, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
- count(Query, Class<?>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- count(Query, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns the number of documents for the given
Query
querying the given collection. - count(Query, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- count(Query, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Returns the number of documents for the given
Query
querying the given collection. - count(Query, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- countCanBeEstimated(Document, CountOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- countCanBeEstimated(Document, CountOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- CountOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$count
-operation. - CountOperation(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.CountOperation
-
Creates a new
CountOperation
given the fieldName field name. - CountOperation.CountOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder for
CountOperation
. - CountOperationBuilder() - Constructor for class org.springframework.data.mongodb.core.aggregation.CountOperation.CountOperationBuilder
- CountQuery - Annotation Interface in org.springframework.data.mongodb.repository
-
Annotation to declare finder count queries directly on repository methods.
- covariancePop(String) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AggregationExpression
that uses the previous input (field/expression) and the value of the given field to calculate the population covariance of the two. - covariancePop(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that uses the previous input (field/expression) and the value of the given field to calculate the population covariance of the two. - covariancePop(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AggregationExpression
that uses the previous input (field/expression) and the result of the givenexpression
to calculate the population covariance of the two. - covariancePop(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that uses the previous input (field/expression) and the result of the givenexpression
to calculate the population covariance of the two. - covariancePopOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.CovariancePop
-
Creates new
AccumulatorOperators.CovariancePop
. - covariancePopOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.CovariancePop
-
Creates new
AccumulatorOperators.CovariancePop
. - covarianceSamp(String) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AggregationExpression
that uses the previous input (field/expression) and the value of the given field to calculate the sample covariance of the two. - covarianceSamp(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that uses the previous input (field/expression) and the value of the given field to calculate the sample covariance of the two. - covarianceSamp(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AggregationExpression
that uses the previous input (field/expression) and the result of the givenexpression
to calculate the sample covariance of the two. - covarianceSamp(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that uses the previous input (field/expression) and the result of the givenexpression
to calculate the sample covariance of the two. - covarianceSampOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.CovarianceSamp
-
Creates new
AccumulatorOperators.CovarianceSamp
. - covarianceSampOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.CovarianceSamp
-
Creates new
AccumulatorOperators.CovarianceSamp
. - create() - Static method in interface org.springframework.data.mongodb.core.MongoJsonSchemaCreator
-
Creates a new
MongoJsonSchemaCreator
that does not consider potential extensions - suitable for testing. - create(ObservationRegistry) - Static method in class org.springframework.data.mongodb.observability.ContextProviderFactory
-
Create a
ContextProvider
givenObservationRegistry
. - create(CreationalContext<T>, Class<T>) - Method in class org.springframework.data.mongodb.repository.cdi.MongoRepositoryBean
- create(String) - Static method in interface org.springframework.data.mongodb.MongoExpression
-
Create a new
MongoExpression
from plainString
(eg. - create(String, Object...) - Static method in interface org.springframework.data.mongodb.MongoExpression
-
Create a new
MongoExpression
from plainString
containing placeholders (eg. - create(String, Sort.Direction) - Static method in class org.springframework.data.mongodb.core.index.IndexField
- create(Consumer<MongoCustomConversions.MongoConverterConfigurationAdapter>) - Static method in class org.springframework.data.mongodb.core.convert.MongoCustomConversions
-
Functional style
CustomConversions
creation giving users a convenient way of configuring store specific capabilities by providing deferred hooks to what will be configured when creating theinstance
. - create(MappingContext) - Static method in interface org.springframework.data.mongodb.core.MongoJsonSchemaCreator
-
Creates a new
MongoJsonSchemaCreator
that is aware of type mappings and potentialextensions
. - create(MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Static method in interface org.springframework.data.mongodb.core.index.IndexResolver
-
Creates a new
IndexResolver
givenMongoMappingContext
. - create(MongoConverter) - Static method in interface org.springframework.data.mongodb.core.MongoJsonSchemaCreator
-
Creates a new
MongoJsonSchemaCreator
that is aware of conversions applied by the givenMongoConverter
. - create(MongoPersistentEntity<?>) - Static method in class org.springframework.data.mongodb.core.mapping.PersistentPropertyTranslator
-
Create a new
PersistentPropertyTranslator
. - create(MongoPersistentEntity<?>, Predicate<MongoPersistentProperty>) - Static method in class org.springframework.data.mongodb.core.mapping.PersistentPropertyTranslator
-
Create a new
PersistentPropertyTranslator
accepting afilter predicate
whether the translation should happen at all. - create(MongoTemplate) - Static method in interface org.springframework.data.mongodb.core.messaging.MessageListenerContainer
-
Create a new
MessageListenerContainer
givenMongoTemplate
. - createAssociation() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- createBeanDefEntry(Class<?>, CompositeComponentDefinition, String, Object, ParserContext) - Method in class org.springframework.data.mongodb.config.MongoJmxParser
- createCollection(Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Create an uncapped collection with a name based on the provided entity class.
- createCollection(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- createCollection(Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Create an uncapped collection with a name based on the provided entity class.
- createCollection(Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- createCollection(Class<T>, CollectionOptions) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Create a collection with a name based on the provided entity class using the options.
- createCollection(Class<T>, CollectionOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- createCollection(Class<T>, CollectionOptions) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Create a collection with a name based on the provided entity class using the options.
- createCollection(Class<T>, CollectionOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- createCollection(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Create an uncapped collection with the provided name.
- createCollection(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- createCollection(String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Create an uncapped collection with the provided name.
- createCollection(String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- createCollection(String, CollectionOptions) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Create a collection with the provided name and options.
- createCollection(String, CollectionOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- createCollection(String, CollectionOptions) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Create a collection with the provided name and options.
- createCollection(String, CollectionOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- createCollection(Collection<?>, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Writes the given
Collection
using the givenMongoPersistentProperty
information. - createCompoundIndexDefinition(String, String, CompoundIndex, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver
- createCompoundIndexDefinitions(String, String, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver
-
Create
IndexDefinition
wrapped inMongoPersistentEntityIndexResolver.IndexDefinitionHolder
forCompoundIndexes
of a given type. - createConfiguration(RoundEnvironment) - Method in class org.springframework.data.mongodb.repository.support.MongoAnnotationProcessor
- createCountQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
-
Creates a
Query
instance using the givenConvertingParameterAccessor
. - createCountQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
Creates a
Query
instance using the givenConvertingParameterAccessor
. - createCountQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
- createCountQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.ReactivePartTreeMongoQuery
- CREATED - Enum constant in enum class org.springframework.data.mongodb.core.messaging.Task.State
- createDatabase(String) - Method in class org.springframework.data.mongodb.core.MongoAdmin
- createDatabase(String) - Method in interface org.springframework.data.mongodb.core.MongoAdminOperations
- createDbRef(DBRef, MongoPersistentEntity<?>, Object) - Method in interface org.springframework.data.mongodb.core.convert.DbRefResolver
- createDBRef(Object, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- createDefaultQueryMethodEvaluationContextProvider(ListableBeanFactory) - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactoryBean
- createFlux(String, ReactiveCollectionCallback<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- createFlux(ReactiveDatabaseCallback<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Create a reusable Flux for a
ReactiveDatabaseCallback
. - createFlux(ReactiveGridFsTemplate.ReactiveBucketCallback<T>) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
-
Create a reusable Flux for a
ReactiveGridFsTemplate.ReactiveBucketCallback
. - createFrom(List<MongoParameters.MongoParameter>) - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
- createGeoSpatialIndexDefinition(String, String, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver
-
Creates
IndexDefinition
wrapped inMongoPersistentEntityIndexResolver.IndexDefinitionHolder
out ofGeoSpatialIndexed
forMongoPersistentProperty
. - createHashedIndexDefinition(String, String, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver
-
Creates
HashedIndex
wrapped inMongoPersistentEntityIndexResolver.IndexDefinitionHolder
out ofHashIndexed
for a givenMongoPersistentProperty
. - createIndexDefinition(String, String, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver
-
Creates
IndexDefinition
wrapped inMongoPersistentEntityIndexResolver.IndexDefinitionHolder
out ofIndexed
for a givenMongoPersistentProperty
. - createIndexesForQueryMethods() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Whether to automatically create indexes for query methods defined in the repository interface.
- createIndexesForQueryMethods() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Whether to automatically create indexes for query methods defined in the repository interface.
- createInstance() - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
- createInstance() - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- createInstance() - Method in class org.springframework.data.mongodb.core.ReactiveMongoClientFactoryBean
- createLazyLoadingProxy(MongoPersistentProperty, DbRefResolverCallback, Object) - Method in class org.springframework.data.mongodb.core.convert.LazyLoadingProxyFactory
- createMap(Map<Object, Object>, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Writes the given
Map
using the givenMongoPersistentProperty
information. - createMapEntry(QueryMapper.Field, Object) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Creates a new
Map.Entry
for the givenQueryMapper.Field
with the given value. - createMongoClient(MongoClientSettings) - Method in class org.springframework.data.mongodb.config.AbstractMongoClientConfiguration
-
Create the Reactive Streams
MongoClient
instance with givenMongoClientSettings
. - createMono(String, ReactiveCollectionCallback<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- createMono(ReactiveDatabaseCallback<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Create a reusable Mono for a
ReactiveDatabaseCallback
. - createMono(ReactiveGridFsTemplate.ReactiveBucketCallback<T>) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
-
Create a reusable Mono for a
ReactiveGridFsTemplate.ReactiveBucketCallback
. - createOutObject() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.
- createParameter(MethodParameter) - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
- createParameters(Method) - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
- createParameters(Method) - Method in class org.springframework.data.mongodb.repository.query.ReactiveMongoQueryMethod
- createPersistentEntity(TypeInformation<T>) - Method in class org.springframework.data.mongodb.core.mapping.MongoMappingContext
- createPersistentProperty(Property, MongoPersistentEntity<?>, SimpleTypeHolder) - Method in class org.springframework.data.mongodb.core.mapping.MongoMappingContext
- createPropertyField(MongoPersistentEntity<?>, String, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
- createPropertyField(MongoPersistentEntity<?>, String, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Method in class org.springframework.data.mongodb.core.convert.UpdateMapper
- createQuery() - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
- createQuery(Predicate, Expression<?>, QueryModifiers, List<OrderSpecifier<?>>) - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
- createQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
-
Creates a
Query
instance using the givenParameterAccessor
- createQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
Creates a
Query
instance using the givenParameterAccessor
- createQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
- createQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.ReactivePartTreeMongoQuery
- createQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.ReactiveStringBasedAggregation
- createQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.ReactiveStringBasedMongoQuery
- createQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.StringBasedAggregation
- createQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
- createReactiveMongoClient(MongoClientSettings) - Method in class org.springframework.data.mongodb.config.AbstractReactiveMongoConfiguration
-
Create the Reactive Streams
MongoClient
instance with givenMongoClientSettings
. - createRepositoryFactory() - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
- createRepositoryFactory() - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactoryBean
- createSchemaFor(Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoJsonSchemaCreator
-
Create the
MongoJsonSchema
for the giventype
. - createSort(List<OrderSpecifier<?>>) - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
-
Compute the sort
Document
from the given list oforder specifiers
. - createUpdate(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
- createUpdate(MongoParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
- createView(String, Class<?>, AggregationOperation...) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Create a view with the provided name.
- createView(String, Class<?>, AggregationOperation...) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Create a view with the provided name.
- createView(String, Class<?>, AggregationPipeline) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Create a view with the provided name.
- createView(String, Class<?>, AggregationPipeline) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Create a view with the provided name.
- createView(String, Class<?>, AggregationPipeline, ViewOptions) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Create a view with the provided name.
- createView(String, Class<?>, AggregationPipeline, ViewOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- createView(String, Class<?>, AggregationPipeline, ViewOptions) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Create a view with the provided name.
- createView(String, Class<?>, AggregationPipeline, ViewOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- createView(String, String, AggregationPipeline, ViewOptions) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Create a view with the provided name.
- createView(String, String, AggregationPipeline, ViewOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- createView(String, String, AggregationPipeline, ViewOptions) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Create a view with the provided name.
- createView(String, String, AggregationPipeline, ViewOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- createWildcardIndexDefinition(String, String, WildcardIndexed, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver
- criteria(CriteriaDefinition) - Static method in interface org.springframework.data.mongodb.core.validation.Validator
-
Creates a new
Validator
checking documents against a given query structure expressed byCriteriaDefinition
. - Criteria - Class in org.springframework.data.mongodb.core.query
-
Central class for creating queries.
- Criteria() - Constructor for class org.springframework.data.mongodb.core.query.Criteria
- Criteria(String) - Constructor for class org.springframework.data.mongodb.core.query.Criteria
- Criteria(List<Criteria>, String) - Constructor for class org.springframework.data.mongodb.core.query.Criteria
- Criteria.BitwiseCriteriaOperators - Interface in org.springframework.data.mongodb.core.query
-
MongoDB specific bitwise query operators like
$bitsAllClear, $bitsAllSet,...
for usage withCriteria.bits()
andQuery
. - CriteriaDefinition - Interface in org.springframework.data.mongodb.core.query
- CURRENT - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
-
Variable that references the start of the field path being processed.
- CURRENT - Static variable in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
References the start of the field path being processed in the aggregation pipeline stage.
- currentDate(String) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update given key to current date using $currentDate modifier.
- currentElement() - Method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema.ConflictResolutionFunction.Path
- currentTimestamp(String) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update given key to current date using $currentDate : { $type : "timestamp" } modifier.
- cursor(Document) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Additional options to the aggregation.
- cursorBatchSize() - Element in annotation interface org.springframework.data.mongodb.repository.Meta
-
Sets the number of documents to return per batch.
- cursorBatchSize(int) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Define the initial cursor batch size.
- cursorBatchSize(int) - Method in class org.springframework.data.mongodb.core.query.Query
-
Set the number of documents to return in each response batch.
- CursorPreparer - Interface in org.springframework.data.mongodb.core
-
Simple callback interface to allow customization of a
FindIterable
. - customConversions() - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
-
Register custom
Converter
s in aCustomConversions
object if required. - CyclicPropertyReferenceException(String, Class<?>, String) - Constructor for exception org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver.CyclicPropertyReferenceException
D
- database(String) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the name of the
MongoDatabase
to listen to. - databaseName(String) - Method in class org.springframework.data.mongodb.core.messaging.Message.MessageProperties.MessagePropertiesBuilder
- DataTypeOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to data type expressions.
- DataTypeOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.DataTypeOperators
- DataTypeOperators.Type - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$type
. - date() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Create a new
JsonSchemaObject
oftype : 'date'
. - date(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.DateJsonSchemaProperty
with given identifier oftype : 'date'
. - DATE - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- DATE_TIME - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- dateAsFormattedString() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$dateToString
expression that takes the date representation of the previously mentioned field using the server default format. - dateAsFormattedString(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$dateToString
expression that takes the date representation of the previously mentioned field and applies given format to it. - dateFromParts() - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators
-
Construct a Date object by providing the date’s constituent properties.
NOTE: Requires MongoDB 3.6 or later. - dateFromParts() - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
-
Creates new
DateOperators.DateFromParts.DateFromPartsWithYear
. - dateFromParts() - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
- dateFromString(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators
-
Construct a Date object from the given date
String
.
To use afield reference
orAggregationExpression
as source of the date string considerDateOperators.DateOperatorFactory.fromString()
orDateOperators.DateFromString.fromStringOf(AggregationExpression)
.
NOTE: Requires MongoDB 3.6 or later. - dateOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators
-
Take the date referenced by given fieldReference.
- dateOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToString
-
Creates new
DateOperators.DateToString.FormatBuilder
allowing to define the date format to apply. - dateOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators
-
Take the date resulting from the given
AggregationExpression
. - dateOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToString
-
Creates new
DateOperators.DateToString.FormatBuilder
allowing to define the date format to apply. - DateOperatorFactory(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
DateOperators.DateOperatorFactory
for givenvalue
that resolves to a Date. - DateOperatorFactory(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
DateOperators.DateOperatorFactory
for given fieldReference. - DateOperatorFactory(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
DateOperators.DateOperatorFactory
for givenAggregationExpression
. - DateOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to Date aggregation operations.
- DateOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.DateOperators
- DateOperators.DateAdd - Class in org.springframework.data.mongodb.core.aggregation
- DateOperators.DateDiff - Class in org.springframework.data.mongodb.core.aggregation
- DateOperators.DateFromParts - Class in org.springframework.data.mongodb.core.aggregation
- DateOperators.DateFromParts.DateFromPartsWithYear - Interface in org.springframework.data.mongodb.core.aggregation
- DateOperators.DateFromPartsOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- DateOperators.DateFromString - Class in org.springframework.data.mongodb.core.aggregation
- DateOperators.DateOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- DateOperators.DateParts<T extends DateOperators.DateParts<T>> - Interface in org.springframework.data.mongodb.core.aggregation
- DateOperators.DateSubtract - Class in org.springframework.data.mongodb.core.aggregation
- DateOperators.DateToParts - Class in org.springframework.data.mongodb.core.aggregation
- DateOperators.DateToString - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$dateToString
. - DateOperators.DateToString.FormatBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- DateOperators.DateTrunc - Class in org.springframework.data.mongodb.core.aggregation
- DateOperators.DayOfMonth - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$dayOfMonth
. - DateOperators.DayOfWeek - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$dayOfWeek
. - DateOperators.DayOfYear - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$dayOfYear
. - DateOperators.Hour - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$hour
. - DateOperators.IsoDateFromParts - Class in org.springframework.data.mongodb.core.aggregation
- DateOperators.IsoDateFromParts.IsoDateFromPartsWithYear - Interface in org.springframework.data.mongodb.core.aggregation
- DateOperators.IsoDayOfWeek - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$isoDayOfWeek
. - DateOperators.IsoWeek - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$isoWeek
. - DateOperators.IsoWeekYear - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$isoWeekYear
. - DateOperators.Millisecond - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$millisecond
. - DateOperators.Minute - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$minute
. - DateOperators.Month - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$month
. - DateOperators.Second - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$second
. - DateOperators.TemporalUnit - Interface in org.springframework.data.mongodb.core.aggregation
-
Interface defining a temporal unit for date operators.
- DateOperators.Timezone - Class in org.springframework.data.mongodb.core.aggregation
-
Timezone represents a MongoDB timezone abstraction which can be represented with a timezone ID or offset as a
String
. - DateOperators.TimezonedDateAggregationExpression - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
capable of setting a givenDateOperators.Timezone
. - DateOperators.TsIncrement - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$tsIncrement
. - DateOperators.TsSecond - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$tsSecond
. - DateOperators.Week - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$week
. - DateOperators.Year - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$year
. - datePartsOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToParts
-
Creates new
DateOperators.DateToParts
. - datePartsOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToParts
-
Creates new
DateOperators.DateToParts
. - dateTimeProviderRef() - Element in annotation interface org.springframework.data.mongodb.config.EnableMongoAuditing
-
Configures a
DateTimeProvider
bean name that allows customizing the timestamp to be used for setting creation and modification dates. - dateTimeProviderRef() - Element in annotation interface org.springframework.data.mongodb.config.EnableReactiveMongoAuditing
-
Configures a
DateTimeProvider
bean name that allows customizing the timestamp to be used for setting creation and modification dates. - dateToParts(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToParts
-
Creates new
DateOperators.DateToParts
. - dateToString(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToString
-
Creates new
DateOperators.DateToString.FormatBuilder
. - dateType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- dateValue(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators
-
Take the given value as date.
- day(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
-
Set the day to the given value which must resolve to a calendar day in range
1 - 31
. - DAY - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnits
- DAY - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnits
- dayOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
-
Set the day to the value resolved by following the given
field reference
. - dayOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
-
Set the day to the result of the given
expression
. - dayOfMonth() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the day of the month for a date as a number between 1 and 31. - dayOfMonth(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfMonth
-
Creates new
DateOperators.DayOfMonth
. - dayOfMonth(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfMonth
-
Creates new
DateOperators.DayOfMonth
. - dayOfMonth(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfMonth
-
Creates new
DateOperators.DayOfMonth
. - dayOfWeek() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the day of the week for a date as a number between 1 (Sunday) and 7 (Saturday). - dayOfWeek(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfWeek
-
Creates new
DateOperators.DayOfWeek
. - dayOfWeek(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfWeek
-
Creates new
DateOperators.DayOfWeek
. - dayOfWeek(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfWeek
-
Creates new
DateOperators.DayOfWeek
. - dayOfYear() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the day of the year for a date as a number between 1 and 366. - dayOfYear(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfYear
-
Creates new
DateOperators.DayOfYear
. - dayOfYear(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfYear
-
Creates new
DateOperators.DayOfYear
. - dayOfYear(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfYear
-
Creates new
DateOperators.DayOfYear
. - db() - Element in annotation interface org.springframework.data.mongodb.core.mapping.DBRef
-
The database the referred entity resides in.
- db() - Element in annotation interface org.springframework.data.mongodb.core.mapping.DocumentReference
-
The database the referenced entity resides in.
- DbCallback<T> - Interface in org.springframework.data.mongodb.core
-
Callback interface for executing actions against a
MongoDatabase
. - dbList(Object...) - Static method in class org.springframework.data.mongodb.util.DBObjectUtils
- DBObjectUtils - Class in org.springframework.data.mongodb.util
- DBObjectUtils() - Constructor for class org.springframework.data.mongodb.util.DBObjectUtils
- DBRef - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
An annotation that indicates the annotated field is to be stored using a
DBRef
. - dbRefProxyHandler - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- DbRefProxyHandler - Interface in org.springframework.data.mongodb.core.convert
- dbRefResolver - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- DbRefResolver - Interface in org.springframework.data.mongodb.core.convert
-
Used to resolve associations annotated with
DBRef
. - DbRefResolverCallback - Interface in org.springframework.data.mongodb.core.convert
-
Callback interface to be used in conjunction with
DbRefResolver
. - DECIMAL_128 - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- decimal128(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
with given identifier ofbsonType : 'decimal128'
. - DECIMAL128 - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- decode(String, Object[]) - Method in class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
- decode(String, ParameterBindingContext) - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
- decode(String, ParameterBindingContext) - Method in class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
- decode(BsonReader, DecoderContext) - Method in class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
- decorate(Object) - Method in class org.springframework.data.mongodb.SessionAwareMethodInterceptor
- def() - Element in annotation interface org.springframework.data.mongodb.core.index.CompoundIndex
-
The actual index definition in JSON format or a
template expression
resolving to either a JSON String or aDocument
. - DEFAULT - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnits
- DEFAULT - Enum constant in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator.MatchMode
-
Store specific default.
- DEFAULT - Enum constant in enum class org.springframework.data.mongodb.core.timeseries.Granularity
-
Server default value to indicate no explicit value should be sent.
- DEFAULT_CONTEXT - Static variable in class org.springframework.data.mongodb.core.aggregation.Aggregation
- DEFAULT_OPTIONS - Static variable in class org.springframework.data.mongodb.core.aggregation.Aggregation
- DEFAULT_TYPE_KEY - Static variable in class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
- DefaultDbRefResolver - Class in org.springframework.data.mongodb.core.convert
-
A
DbRefResolver
that resolvesDBRef
s by delegating to aDbRefResolverCallback
than is able to generate lazy loading proxies. - DefaultDbRefResolver(MongoDatabaseFactory) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultDbRefResolver
-
Creates a new
DefaultDbRefResolver
with the givenMongoDatabaseFactory
. - defaultFormat() - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateToString.FormatBuilder
-
Creates new
DateOperators.DateToString
using the server default string format (%Y-%m-%dT%H:%M:%S.%LZ
) for dates. - DefaultIndexOperations - Class in org.springframework.data.mongodb.core
-
Default implementation of
IndexOperations
. - DefaultIndexOperations(MongoOperations, String, Class<?>) - Constructor for class org.springframework.data.mongodb.core.DefaultIndexOperations
-
Creates a new
DefaultIndexOperations
. - DefaultIndexOperations(MongoDatabaseFactory, String, QueryMapper) - Constructor for class org.springframework.data.mongodb.core.DefaultIndexOperations
-
Deprecated.since 2.1. Please use
DefaultIndexOperations(MongoOperations, String, Class)
. - DefaultIndexOperations(MongoDatabaseFactory, String, QueryMapper, Class<?>) - Constructor for class org.springframework.data.mongodb.core.DefaultIndexOperations
-
Deprecated.since 2.1. Please use
DefaultIndexOperations(MongoOperations, String, Class)
. - DefaultMessageListenerContainer - Class in org.springframework.data.mongodb.core.messaging
-
Simple
Executor
basedMessageListenerContainer
implementation for runningtasks
like listening to MongoDB Change Streams and tailable cursors. - DefaultMessageListenerContainer(MongoTemplate) - Constructor for class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
-
Create a new
DefaultMessageListenerContainer
. - DefaultMessageListenerContainer(MongoTemplate, Executor) - Constructor for class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
-
Create a new
DefaultMessageListenerContainer
runningtasks
via the given taskExecutor. - DefaultMessageListenerContainer(MongoTemplate, Executor, ErrorHandler) - Constructor for class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
-
Create a new
DefaultMessageListenerContainer
runningtasks
via the given taskExecutor delegatingerrors
to the givenErrorHandler
. - DefaultMongoTypeMapper - Class in org.springframework.data.mongodb.core.convert
-
Default implementation of
MongoTypeMapper
allowing configuration of the key to lookup and store type information inDocument
. - DefaultMongoTypeMapper() - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
-
Create a new
MongoTypeMapper
with fully-qualified type hints using_class
. - DefaultMongoTypeMapper(String) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
-
Create a new
MongoTypeMapper
with fully-qualified type hints usingtypeKey
. - DefaultMongoTypeMapper(String, List<? extends TypeInformationMapper>) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
-
Create a new
MongoTypeMapper
with fully-qualified type hints usingtypeKey
. - DefaultMongoTypeMapper(String, MappingContext<? extends PersistentEntity<?, ?>, ?>) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
-
Create a new
MongoTypeMapper
with fully-qualified type hints usingtypeKey
. - DefaultMongoTypeMapper(String, MappingContext<? extends PersistentEntity<?, ?>, ?>, UnaryOperator<Class<?>>) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
-
Create a new
MongoTypeMapper
with fully-qualified type hints usingtypeKey
. - DefaultMongoTypeMapper.DocumentTypeAliasAccessor - Class in org.springframework.data.mongodb.core.convert
-
TypeAliasAccessor
to store aliases in aDocument
. - DefaultReactiveIndexOperations - Class in org.springframework.data.mongodb.core
-
Default implementation of
ReactiveIndexOperations
. - DefaultReactiveIndexOperations(ReactiveMongoOperations, String, QueryMapper) - Constructor for class org.springframework.data.mongodb.core.DefaultReactiveIndexOperations
-
Creates a new
DefaultReactiveIndexOperations
. - DefaultReactiveIndexOperations(ReactiveMongoOperations, String, QueryMapper, Class<?>) - Constructor for class org.springframework.data.mongodb.core.DefaultReactiveIndexOperations
-
Creates a new
DefaultReactiveIndexOperations
. - DefaultReferenceResolver - Class in org.springframework.data.mongodb.core.convert
-
ReferenceResolver
implementation that uses a givenReferenceLookupDelegate
to load and convert entity associations expressed via apersitent property
. - DefaultReferenceResolver(ReferenceLoader, PersistenceExceptionTranslator) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultReferenceResolver
-
Create a new instance of
DefaultReferenceResolver
. - defaultTo(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch
-
Set the default value.
- defaultTo(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
-
Define the default value if the target document is out of range.
- defaultTo(Object[]) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Zip
-
Optionally provide a default value.
- defaultTo(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Zip
-
Optionally provide a default value.
- defaultTo(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Zip
-
Optionally provide a default value.
- defaultToValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
-
Define the
expression
to evaluate if the target document is out of range. - define(Collection<VariableOperators.Let.ExpressionVariable>) - Static method in class org.springframework.data.mongodb.core.aggregation.VariableOperators
-
Start creating new
VariableOperators.Let
that allows definition ofVariableOperators.Let.ExpressionVariable
that can be used within a nestedAggregationExpression
. - define(Collection<VariableOperators.Let.ExpressionVariable>) - Static method in class org.springframework.data.mongodb.core.aggregation.VariableOperators.Let
-
Start creating new
VariableOperators.Let
by defining the variables for$vars
. - define(VariableOperators.Let.ExpressionVariable...) - Static method in class org.springframework.data.mongodb.core.aggregation.VariableOperators
-
Start creating new
VariableOperators.Let
that allows definition ofVariableOperators.Let.ExpressionVariable
that can be used within a nestedAggregationExpression
. - define(VariableOperators.Let.ExpressionVariable...) - Static method in class org.springframework.data.mongodb.core.aggregation.VariableOperators.Let
-
Start creating new
VariableOperators.Let
by defining the variables for$vars
. - definedAs(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.PropertyExpression.AsBuilder
-
Set the
AggregationExpression
resulting in the properties value. - DEGREES - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.AngularUnit
- degreesToRadians(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.DegreesToRadians
-
Create a new instance of
ConvertOperators.DegreesToRadians
that converts the given value, measured in degrees, to radians. - degreesToRadiansOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.DegreesToRadians
-
Create a new instance of
ConvertOperators.DegreesToRadians
that converts the value of the given field, measured in degrees, to radians. - degreesToRadiansOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.DegreesToRadians
-
Create a new instance of
ConvertOperators.DegreesToRadians
that converts the result of the givenexpression
, measured in degrees, to radians. - delegateConvertToMongoType(Object, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Converts the given source Object to a mongo type with the type information of the original source type omitted.
- delegateConvertToMongoType(Object, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.UpdateMapper
-
Converts the given source object to a mongo type retaining the original type information of the source type on the mongo type.
- delete() - Element in annotation interface org.springframework.data.mongodb.repository.Query
-
Returns whether the query should delete matching documents.
- delete(Query) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Deletes all files matching the given
Query
. - delete(Query) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
- delete(Query) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Deletes all files matching the given
Query
. - delete(Query) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
- delete(T) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- delete(T) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- deleteAll() - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- deleteAll() - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- deleteAll(Iterable<? extends T>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- deleteAll(Iterable<? extends T>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- deleteAll(Publisher<? extends T>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- deleteAllById(Iterable<? extends ID>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- deleteAllById(Iterable<? extends ID>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- deleteById(ID) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- deleteById(ID) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- deleteById(Publisher<ID>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- DeleteQuery - Annotation Interface in org.springframework.data.mongodb.repository
-
Annotation to declare finder delete queries directly on repository methods.
- denseRank() - Static method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators
-
Obtain the document position (without gaps) relative to others (rank).
- DenseRank() - Constructor for class org.springframework.data.mongodb.core.aggregation.DocumentOperators.DenseRank
- densify(String) - Method in class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyOperationBuilder
-
Set the field to densify.
- DensifyOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$densify
-operation. - DensifyOperation(Field, List<?>, DensifyOperation.Range) - Constructor for class org.springframework.data.mongodb.core.aggregation.DensifyOperation
- DensifyOperation.BoundedRange - Class in org.springframework.data.mongodb.core.aggregation
-
DensifyOperation.Range
implementation holding lower and upper bound values. - DensifyOperation.DensifyOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
- DensifyOperation.DensifyRange - Class in org.springframework.data.mongodb.core.aggregation
-
Base
DensifyOperation.Range
implementation. - DensifyOperation.DensifyUnit - Interface in org.springframework.data.mongodb.core.aggregation
-
The actual time unit to apply to a
DensifyOperation.Range
. - DensifyOperation.DensifyUnits - Enum Class in org.springframework.data.mongodb.core.aggregation
-
Quick access to available
units
. - DensifyOperation.Range - Interface in org.springframework.data.mongodb.core.aggregation
-
The
DensifyOperation.Range
specifies how the data is densified. - DensifyOperationBuilder() - Constructor for class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyOperationBuilder
- DensifyRange(DensifyOperation.DensifyUnit) - Constructor for class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyRange
- depthField(String) - Method in class org.springframework.data.mongodb.core.aggregation.GraphLookupOperation.GraphLookupOperationBuilder
-
Optionally add a depth field fieldName to each traversed document in the search path.
- derivative() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the mathematical derivative value. - derivative(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the mathematical derivative value. - derivative(SetWindowFieldsOperation.WindowUnit) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the mathematical derivative value. - derivativeOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Derivative
-
Create a new instance of
ArithmeticOperators.Derivative
for the value stored at the given field holding a numeric value. - derivativeOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Derivative
-
Create a new instance of
ArithmeticOperators.Derivative
for the value provided by the given expression that resolves to a numeric value. - derivativeOfValue(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Derivative
- DESCEND - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
-
One of the allowed results of a $redact expression
- DESCEND - Static variable in class org.springframework.data.mongodb.core.aggregation.RedactOperation
-
Return fields at the current document level.
- DESCENDING - Enum constant in enum class org.springframework.data.mongodb.core.index.IndexDirection
- description - Variable in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
- description(String) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- description(String) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty
- description(String) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.DateJsonSchemaProperty
- description(String) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NullJsonSchemaProperty
- description(String) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- description(String) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- description(String) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- description(String) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.TimestampJsonSchemaProperty
- description(String) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
- description(String) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- description(String) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
- description(String) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.BooleanJsonSchemaObject
- description(String) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject
-
Set the description.
- description(String) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
- description(String) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
- description(String) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
- description(String) - Method in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
-
Set the description.
- deserializers() - Static method in class org.springframework.data.mongodb.core.geo.GeoJsonModule
-
Obtain a
Module
containingdeserializers
for the followingGeoJson
types:GeoJsonPoint
GeoJsonMultiPoint
GeoJsonLineString
GeoJsonMultiLineString
GeoJsonPolygon
GeoJsonMultiPolygon
- destroy() - Method in class org.springframework.data.mongodb.core.MongoDatabaseFactorySupport
- destroy() - Method in class org.springframework.data.mongodb.core.SimpleReactiveMongoDatabaseFactory
-
Clean up the Mongo instance if it was created by the factory itself.
- destroyInstance(MongoClient) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
- destroyInstance(MongoClient) - Method in class org.springframework.data.mongodb.core.ReactiveMongoClientFactoryBean
- detectExpression(String) - Static method in class org.springframework.data.mongodb.util.spel.ExpressionUtils
-
Returns a SpEL
Expression
if the givenString
is actually an expression that does not evaluate to aLiteralExpression
(indicating that no subsequent evaluation is necessary). - diacriticSensitive(boolean) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
-
Optionally enable or disable diacritic sensitive search against version 3 text indexes.
- diff(Object, String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that calculates the difference (in units) to the date given value. - diff(Object, DateOperators.TemporalUnit) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that calculates the difference (in units) to the date given value. - differenceTo(String) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetDifference
-
Creates new
SetOperators.SetDifference
with all previously added arguments appending the given one. - differenceTo(String) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetOperatorFactory
-
Creates new
AggregationExpression
that takes array of the previously mentioned field and returns an array containing the elements that do not exist in the given arrayReference. - differenceTo(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetDifference
-
Creates new
SetOperators.SetDifference
with all previously added arguments appending the given one. - differenceTo(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetOperatorFactory
-
Creates new
AggregationExpression
that takes array of the previously mentioned field and returns an array containing the elements that do not exist in the givenAggregationExpression
. - differenceToArray(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$setDifference
expression that takes array of the previously mentioned field and returns an array containing the elements that do not exist in the given array. - diffValue(Object, String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateDiff
-
Add the number of units to a
start date
. - diffValueOf(String, String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateDiff
-
Add the number of units from a field to a
start date
. - diffValueOf(String, String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that calculates the difference (in units) to the date stored at the given field. - diffValueOf(String, DateOperators.TemporalUnit) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that calculates the difference (in units) to the date stored at the given field. - diffValueOf(AggregationExpression, String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateDiff
-
Add the number of units of the result of the given
expression
to astart date
. - diffValueOf(AggregationExpression, String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that calculates the difference (in units) to the date computed by the givenexpression
. - diffValueOf(AggregationExpression, DateOperators.TemporalUnit) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that calculates the difference (in units) to the date computed by the givenexpression
. - direction() - Element in annotation interface org.springframework.data.mongodb.core.index.Indexed
-
The index sort direction.
- disableValidation() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings andvalidationLevel
set toValidationLevel.OFF
. - discardDocument() - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsDontMatch
-
Discard the document - do not insert the document into the output collection.
- distanceMultiplier(double) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Configures a
CustomMetric
with the given multiplier. - distinct(String) - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.FindDistinct
-
Finds the distinct values for a specified field across a single
MongoCollection
or view. - distinct(String) - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.FindDistinct
-
Finds the distinct values for a specified field across a single
MongoCollection
or view. - divide(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$divide
expression that divides the previously mentioned field by the given number. - divide(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$divide
expression that divides the value of the given field by the previously mentioned field. - divide(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$divide
expression that divides the value of the previously mentioned by the result of theAggregationExpression
. - divideBy(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that divides the associated number by given value. - divideBy(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Divide
-
Divide by the given value.
- divideBy(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that ivides the associated number by number referenced via fieldReference. - divideBy(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Divide
-
Divide by the value stored at the given field.
- divideBy(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that divides the associated number by number extracted via expression. - divideBy(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Divide
-
Divide by the evaluation results of the given
AggregationExpression
. - doAggregate(Aggregation, String, Class<?>, Class<O>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- doAggregate(Aggregation, String, Class<O>, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doBegin(Object, TransactionDefinition) - Method in class org.springframework.data.mongodb.MongoTransactionManager
- doBegin(TransactionSynchronizationManager, Object, TransactionDefinition) - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
- doCleanupAfterCompletion(Object) - Method in class org.springframework.data.mongodb.MongoTransactionManager
- doCleanupAfterCompletion(TransactionSynchronizationManager, Object) - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
- doCommit(MongoTransactionManager.MongoTransactionObject) - Method in class org.springframework.data.mongodb.MongoTransactionManager
-
Customization hook to perform an actual commit of the given transaction.
If a commit operation encounters an error, the MongoDB driver throws aMongoException
holding error labels. - doCommit(TransactionSynchronizationManager, ReactiveMongoTransactionManager.ReactiveMongoTransactionObject) - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
-
Customization hook to perform an actual commit of the given transaction.
If a commit operation encounters an error, the MongoDB driver throws aMongoException
holding error labels. - doCommit(TransactionSynchronizationManager, GenericReactiveTransaction) - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
- doCommit(DefaultTransactionStatus) - Method in class org.springframework.data.mongodb.MongoTransactionManager
- doCount(String, Document, CountOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doCount(String, Document, CountOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Run the actual count operation against the collection with given name.
- doCreateCollection(String, CreateCollectionOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Create the specified collection using the provided options
- doCreateCollection(String, CreateCollectionOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Create the specified collection using the provided options
- doCreateCollection(String, Document) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Create the specified collection using the provided options
- doCreateView(String, String, List<Document>, ViewOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doCreateView(String, String, List<Document>, ViewOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- document(Document) - Static method in interface org.springframework.data.mongodb.core.validation.Validator
-
Creates a basic
Validator
checking documents against a given set of rules. - Document - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
Identifies a domain object to be persisted to MongoDB.
- DocumentCallbackHandler - Interface in org.springframework.data.mongodb.core
-
An interface used by
MongoTemplate
for processing documents returned from a MongoDB query on a per-document basis. - documentHasId(Document) - Method in class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
- documentNumber() - Static method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators
-
Obtain the current document position.
- DocumentNumber() - Constructor for class org.springframework.data.mongodb.core.aggregation.DocumentOperators.DocumentNumber
- DocumentOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to document expressions such as $rank, $documentNumber, etc.
- DocumentOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.DocumentOperators
- DocumentOperators.DenseRank - Class in org.springframework.data.mongodb.core.aggregation
-
DocumentOperators.DenseRank
resolves the current document position (the rank) relative to other documents. - DocumentOperators.DocumentNumber - Class in org.springframework.data.mongodb.core.aggregation
-
DocumentOperators.DocumentNumber
resolves the current document position. - DocumentOperators.DocumentOperatorsFactory - Class in org.springframework.data.mongodb.core.aggregation
- DocumentOperators.Rank - Class in org.springframework.data.mongodb.core.aggregation
-
DocumentOperators.Rank
resolves the current document position (the rank) relative to other documents. - DocumentOperators.Shift - Class in org.springframework.data.mongodb.core.aggregation
-
Shift applies an expression to a document in a specified position relative to the current document.
- DocumentOperatorsFactory(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.DocumentOperators.DocumentOperatorsFactory
- DocumentPointer<T> - Interface in org.springframework.data.mongodb.core.mapping
-
A custom pointer to a linked document to be used along with
DocumentReference
for storing the linkage value. - DocumentReference - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
A
DocumentReference
allows referencing entities in MongoDB using a flexible schema. - DocumentReferenceSource - Class in org.springframework.data.mongodb.core.convert
-
The source object to resolve document references upon.
- documents() - Static method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.Windows
-
Create a document window relative to the position of the current document via a fluent API.
- documents(Object, Object) - Static method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.Windows
-
Create a document window relative to the position of the current document.
- DocumentTypeAliasAccessor(String) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper.DocumentTypeAliasAccessor
- DocumentWindowBuilder() - Constructor for class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.DocumentWindowBuilder
- doEstimatedCount(String, EstimatedDocumentCountOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doEstimatedCount(String, EstimatedDocumentCountOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- doExactCount(String, Document, CountOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doExactCount(String, Document, CountOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- doExecute(MongoQueryMethod, ResultProcessor, ConvertingParameterAccessor, Class<?>) - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
-
Execute the
RepositoryQuery
of the given method with the parameters provided by theaccessor
- doExecute(MongoQueryMethod, ResultProcessor, ConvertingParameterAccessor, Class<?>) - Method in class org.springframework.data.mongodb.repository.query.StringBasedAggregation
- doExecute(ReactiveMongoQueryMethod, ResultProcessor, ConvertingParameterAccessor, Class<?>) - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
Execute the
RepositoryQuery
of the given method with the parameters provided by theaccessor
- doExecute(ReactiveMongoQueryMethod, ResultProcessor, ConvertingParameterAccessor, Class<?>) - Method in class org.springframework.data.mongodb.repository.query.ReactiveStringBasedAggregation
- doFind(String, Document, Document, Class<S>, CursorPreparer, MongoTemplate.DocumentCallback<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doFind(String, Document, Document, Class<S>, FindPublisherPreparer, ReactiveMongoTemplate.DocumentCallback<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- doFind(String, Document, Document, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Map the results of an ad-hoc query on the default MongoDB collection to a List using the template's converter.
- doFind(String, Document, Document, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Map the results of an ad-hoc query on the default MongoDB collection to a List using the template's converter.
- doFind(String, Document, Document, Class<T>, CursorPreparer) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Map the results of an ad-hoc query on the default MongoDB collection to a List of the specified type.
- doFind(String, Document, Document, Class<T>, FindPublisherPreparer) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Map the results of an ad-hoc query on the default MongoDB collection to a List of the specified type.
- doFindAndDelete(String, Query, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Retrieve and remove all documents matching the given
query
by callingMongoTemplate.find(Query, Class, String)
andMongoTemplate.remove(Query, Class, String)
, whereas theQuery
forMongoTemplate.remove(Query, Class, String)
is constructed out of the find result. - doFindAndDelete(String, Query, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Retrieve and remove all documents matching the given
query
by callingReactiveMongoTemplate.find(Query, Class, String)
andReactiveMongoTemplate.remove(Query, Class, String)
, whereas theQuery
forReactiveMongoTemplate.remove(Query, Class, String)
is constructed out of the find result. - doFindAndModify(String, Document, Document, Document, Class<T>, UpdateDefinition, FindAndModifyOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doFindAndModify(String, Document, Document, Document, Class<T>, UpdateDefinition, FindAndModifyOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- doFindAndRemove(String, Document, Document, Document, Collation, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.
- doFindAndRemove(String, Document, Document, Document, Collation, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.
- doFindAndReplace(String, Document, Document, Document, Collation, Class<?>, Document, FindAndReplaceOptions, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Customize this part for findAndReplace.
- doFindAndReplace(String, Document, Document, Document, Collation, Class<?>, Document, FindAndReplaceOptions, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Customize this part for findAndReplace.
- doFindOne(String, Document, Document, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.
- doFindOne(String, Document, Document, Class<T>, FindPublisherPreparer) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.
- doFindOne(String, Document, Document, Class<T>, Collation) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.
- doFindOne(String, Document, Document, CursorPreparer, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.
- doGetBucket() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
- doGetDatabase() - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doGetDatabase() - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- doGetMongoDatabase(String) - Method in class org.springframework.data.mongodb.core.MongoDatabaseFactorySupport
-
Get the actual
MongoDatabase
from the client. - doGetMongoDatabase(String) - Method in class org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory
- doGetTransaction() - Method in class org.springframework.data.mongodb.MongoTransactionManager
- doGetTransaction(TransactionSynchronizationManager) - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
- doInCollection(MongoCollection<Document>) - Method in interface org.springframework.data.mongodb.core.CollectionCallback
- doInCollection(MongoCollection<Document>) - Method in interface org.springframework.data.mongodb.core.ReactiveCollectionCallback
- doInDB(MongoDatabase) - Method in interface org.springframework.data.mongodb.core.DbCallback
- doInDB(MongoDatabase) - Method in interface org.springframework.data.mongodb.core.ReactiveDatabaseCallback
- doInsert(String, T, MongoWriter<Object>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- doInsert(String, T, MongoWriter<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doInsertAll(Collection<? extends T>, MongoWriter<Object>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- doInsertAll(Collection<? extends T>, MongoWriter<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doInsertBatch(String, Collection<? extends T>, MongoWriter<Object>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- doInsertBatch(String, Collection<? extends T>, MongoWriter<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doInSession(MongoOperations) - Method in interface org.springframework.data.mongodb.core.SessionCallback
-
Execute operations against a MongoDB instance via session bound
MongoOperations
. - doInSession(ReactiveMongoOperations) - Method in interface org.springframework.data.mongodb.core.ReactiveSessionCallback
-
Execute operations against a MongoDB instance via session bound
ReactiveMongoOperations
. - doParse(Element, ParserContext, BeanDefinitionBuilder) - Method in class org.springframework.data.mongodb.config.MongoAuditingBeanDefinitionParser
- doPeekBinarySize() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doPeekBinarySubType() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadBinaryData() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadBoolean() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadDateTime() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadDBPointer() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadDecimal128() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadDouble() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadEndArray() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadEndDocument() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadInt32() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadInt64() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadJavaScript() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadJavaScriptWithScope() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadMaxKey() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadMinKey() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadNull() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadObjectId() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadRegularExpression() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadStartArray() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadStartDocument() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadString() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadSymbol() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadTimestamp() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doReadUndefined() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doRemove(String, Query, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- doRemove(String, Query, Class<T>, boolean) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doResume(Object, Object) - Method in class org.springframework.data.mongodb.MongoTransactionManager
- doResume(TransactionSynchronizationManager, Object, Object) - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
- doRollback(TransactionSynchronizationManager, GenericReactiveTransaction) - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
- doRollback(DefaultTransactionStatus) - Method in class org.springframework.data.mongodb.MongoTransactionManager
- doSave(String, T, MongoWriter<Object>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- doSave(String, T, MongoWriter<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doSetRollbackOnly(TransactionSynchronizationManager, GenericReactiveTransaction) - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
- doSetRollbackOnly(DefaultTransactionStatus) - Method in class org.springframework.data.mongodb.MongoTransactionManager
- doSkipName() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doSkipValue() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- doStream(Query, Class<?>, String, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doSuspend(Object) - Method in class org.springframework.data.mongodb.MongoTransactionManager
- doSuspend(TransactionSynchronizationManager, Object) - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
- dotPath() - Method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema.ConflictResolutionFunction.Path
- DotPath - Class in org.springframework.data.mongodb.util
-
Value object representing a dot path.
- DOUBLE - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- DOUBLE - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- doubleType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- doUpdate(String, Query, UpdateDefinition, Class<?>, boolean, boolean) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- doUpdate(String, Query, UpdateDefinition, Class<?>, boolean, boolean) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- driverInformation() - Static method in class org.springframework.data.mongodb.SpringDataMongoDB
-
Obtain the SpringData MongoDB specific driver information.
- dropAllIndexes() - Method in class org.springframework.data.mongodb.core.DefaultIndexOperations
- dropAllIndexes() - Method in class org.springframework.data.mongodb.core.DefaultReactiveIndexOperations
- dropAllIndexes() - Method in interface org.springframework.data.mongodb.core.index.IndexOperations
-
Drops all indices from this collection.
- dropAllIndexes() - Method in interface org.springframework.data.mongodb.core.index.ReactiveIndexOperations
-
Drops all indices from this collection.
- dropCollection(Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Drop the collection with the name indicated by the entity class.
- dropCollection(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- dropCollection(Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Drop the collection with the name indicated by the entity class.
- dropCollection(Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- dropCollection(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Drop the collection with the given name.
- dropCollection(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- dropCollection(String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Drop the collection with the given name.
- dropCollection(String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- dropDatabase(String) - Method in class org.springframework.data.mongodb.core.MongoAdmin
- dropDatabase(String) - Method in interface org.springframework.data.mongodb.core.MongoAdminOperations
- dropIndex(String) - Method in class org.springframework.data.mongodb.core.DefaultIndexOperations
- dropIndex(String) - Method in class org.springframework.data.mongodb.core.DefaultReactiveIndexOperations
- dropIndex(String) - Method in interface org.springframework.data.mongodb.core.index.IndexOperations
-
Drops an index from this collection.
- dropIndex(String) - Method in interface org.springframework.data.mongodb.core.index.ReactiveIndexOperations
-
Drops an index from this collection.
E
- E12 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- E192 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- E24 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- E48 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- E6 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- E96 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- each(Object...) - Method in class org.springframework.data.mongodb.core.query.Update.AddToSetBuilder
-
Propagates
$each
to$addToSet
- each(Object...) - Method in class org.springframework.data.mongodb.core.query.Update.PushOperatorBuilder
-
Propagates
$each
to$push
- elementAt(int) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayElemAt
-
Use the element with given index number.
- elementAt(int) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that takes the associated array and returns the element at the specified array position. - elementAt(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayElemAt
-
Use the element at the index number traken from the given field.
- elementAt(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that takes the associated array and returns the element at the position defined by the referenced field. - elementAt(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayElemAt
-
Use the element at the index number evaluated from the given
AggregationExpression
. - elementAt(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that takes the associated array and returns the element at the position resulting form the given expression. - elemMatch(String, Criteria) - Method in class org.springframework.data.mongodb.core.query.Field
- elemMatch(Criteria) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $elemMatch operator
- emitChangedRevisions() - Static method in class org.springframework.data.mongodb.core.CollectionOptions
-
Quick way to set up
CollectionOptions
for emitting (pre & post) change events. - empty() - Static method in class org.springframework.data.mongodb.core.aggregation.ExposedFields
-
Returns an empty
ExposedFields
instance. - empty() - Static method in class org.springframework.data.mongodb.core.ChangeStreamOptions
- empty() - Static method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new empty
CollectionOptions
. - empty() - Static method in class org.springframework.data.mongodb.core.FindAndReplaceOptions
-
Static factory method to create a
FindAndReplaceOptions
instance with returnNew false upsert false - empty() - Static method in class org.springframework.data.mongodb.core.messaging.Message.MessageProperties
- empty() - Static method in class org.springframework.data.mongodb.MongoManagedTypes
-
Factory method to return an empty
MongoManagedTypes
object. - empty() - Static method in class org.springframework.data.mongodb.util.DotPath
-
Returns an empty dotpath.
- EMPTY - Static variable in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.Outputs
- EMPTY - Static variable in class org.springframework.data.mongodb.core.aggregation.FacetOperation
-
Empty (initial)
FacetOperation
. - EMPTY_DOCUMENT - Enum constant in enum class org.springframework.data.mongodb.core.spel.MethodReferenceNode.AggregationMethodReference.ArgumentType
- EMPTY_DOCUMENT - Static variable in class org.springframework.data.mongodb.util.BsonUtils
-
The empty document (immutable).
- EnableMongoAuditing - Annotation Interface in org.springframework.data.mongodb.config
-
Annotation to enable auditing in MongoDB via annotation configuration.
- EnableMongoRepositories - Annotation Interface in org.springframework.data.mongodb.repository.config
-
Annotation to activate MongoDB repositories.
- EnableReactiveMongoAuditing - Annotation Interface in org.springframework.data.mongodb.config
-
Annotation to enable auditing in MongoDB using reactive infrastructure via annotation configuration.
- EnableReactiveMongoRepositories - Annotation Interface in org.springframework.data.mongodb.repository.config
-
Annotation to activate reactive MongoDB repositories.
- encode(BsonWriter, Document, EncoderContext) - Method in class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
- encrypted(JsonSchemaProperty) - Static method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
-
Create new instance of
IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
wrapping the giventarget
. - encrypted(JsonSchemaProperty) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Turns the given target property into an
ecrypted
one. - Encrypted - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
Encrypted
provides data required for MongoDB Client Side Field Level Encryption that is applied during schema resolution. - EncryptedJsonSchemaProperty(JsonSchemaProperty) - Constructor for class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
-
Create new instance of
IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
wrapping the giventarget
. - encryptedOnly() - Static method in interface org.springframework.data.mongodb.core.MongoJsonSchemaCreator
-
A filter
Predicate
that matchesencrypted properties
and those having nested ones. - EncryptionAlgorithms - Class in org.springframework.data.mongodb.core
-
Encryption algorithms supported by MongoDB Client Side Field Level Encryption.
- EncryptionAlgorithms() - Constructor for class org.springframework.data.mongodb.core.EncryptionAlgorithms
- encryptionMetadata(Document) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
-
Define the encryptMetadata element of the schema.
- EncryptionUtils - Class in org.springframework.data.mongodb.util.encryption
-
Internal utility class for dealing with encryption related matters.
- EncryptionUtils() - Constructor for class org.springframework.data.mongodb.util.encryption.EncryptionUtils
- ENDING_WITH - Enum constant in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator.MatchMode
-
Matches string ending with pattern
- ensureIndex(IndexDefinition) - Method in class org.springframework.data.mongodb.core.DefaultIndexOperations
- ensureIndex(IndexDefinition) - Method in class org.springframework.data.mongodb.core.DefaultReactiveIndexOperations
- ensureIndex(IndexDefinition) - Method in interface org.springframework.data.mongodb.core.index.IndexOperations
-
Ensure that an index for the provided
IndexDefinition
exists for the collection indicated by the entity class. - ensureIndex(IndexDefinition) - Method in interface org.springframework.data.mongodb.core.index.ReactiveIndexOperations
-
Ensure that an index for the provided
IndexDefinition
exists for the collection indicated by the entity class. - ensureNotCollectionLike(Object) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- ensureNotCollectionLike(Object) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- eq(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$eq
expression (equal) that compares the value of the field to a given value or field. - equals(Object) - Method in class org.springframework.data.mongodb.core.ChangeStreamEvent
- equals(Object) - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions
- equals(Object) - Method in class org.springframework.data.mongodb.core.CollectionOptions.CollectionChangeStreamOptions
- equals(Object) - Method in class org.springframework.data.mongodb.core.CollectionOptions
- equals(Object) - Method in class org.springframework.data.mongodb.core.CollectionOptions.TimeSeriesOptions
- equals(Object) - Method in class org.springframework.data.mongodb.core.CollectionOptions.ValidationOptions
- equals(Object) - Method in class org.springframework.data.mongodb.core.geo.GeoJsonGeometryCollection
- equals(Object) - Method in class org.springframework.data.mongodb.core.geo.GeoJsonMultiLineString
- equals(Object) - Method in class org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
- equals(Object) - Method in class org.springframework.data.mongodb.core.geo.GeoJsonMultiPolygon
- equals(Object) - Method in class org.springframework.data.mongodb.core.geo.GeoJsonPolygon
- equals(Object) - Method in class org.springframework.data.mongodb.core.geo.Sphere
- equals(Object) - Method in class org.springframework.data.mongodb.core.index.IndexField
- equals(Object) - Method in class org.springframework.data.mongodb.core.index.IndexInfo
- equals(Object) - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexedFieldSpec
- equals(Object) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
-
Deprecated.
- equals(Object) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
-
Deprecated.
- equals(Object) - Method in class org.springframework.data.mongodb.core.messaging.Message.MessageProperties
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.BasicQuery
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.Collation
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.Field
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.GeoCommand
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.Meta
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.Query
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.Term
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.Update
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.Update.Modifiers
- equals(Object) - Method in class org.springframework.data.mongodb.core.query.Update.PushOperatorBuilder
- equals(Object) - Method in class org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type.BsonType
- equals(Object) - Method in class org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type.JsonType
- equalsArrays(String...) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$setEquals
expression that compares the previously mentioned field to one or more arrays and returns true if they have the same distinct elements and false otherwise. - equalTo(String) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.ComparisonOperatorFactory
-
Creates new
AggregationExpression
that compares two values and returns true when the first value is equal to the value of the referenced field. - equalTo(String) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Eq
-
Creates new
ComparisonOperators.Eq
with all previously added arguments appending the given one. - equalTo(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.ComparisonOperatorFactory
-
Creates new
AggregationExpression
that compares two values and returns true when the first value is equal to the expression result. - equalTo(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Eq
-
Creates new
ComparisonOperators.Eq
with all previously added arguments appending the given one. - equalToValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.ComparisonOperatorFactory
-
Creates new
AggregationExpression
that compares two values and returns true when the first value is equal to the given value. - equalToValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Eq
-
Creates new
ComparisonOperators.Eq
with all previously added arguments appending the given one. - estimatedCount(Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Estimate the number of documents, in the collection
identified by the given type
, based on collection statistics. - estimatedCount(Class<?>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Estimate the number of documents, in the collection
identified by the given type
, based on collection statistics. - estimatedCount(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Estimate the number of documents in the given collection based on collection statistics.
- estimatedCount(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- estimatedCount(String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Estimate the number of documents in the given collection based on collection statistics.
- estimatedCount(String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- evaluate(String, Supplier<EvaluationContext>) - Static method in class org.springframework.data.mongodb.util.spel.ExpressionUtils
- evaluateExpression(String) - Method in class org.