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.ConditionalOperators.Switch
- append(Object, AbstractAggregationExpression.Expand) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch
- 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.ConditionalOperators.Switch
- 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.ConditionalOperators.Switch
-
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.ConditionalOperators.Switch
- 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.ConditionalOperators.Switch
-
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.ConditionalOperators.Switch
- 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.ConditionalOperators.Switch
-
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.springframework.data.mongodb.util.json.ParameterBindingContext
- evaluateExpression(String, Map<String, Object>) - Method in class org.springframework.data.mongodb.util.json.ParameterBindingContext
- EvaluationOperatorFactory(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.EvaluationOperators.EvaluationOperatorFactory
-
Creates new
EvaluationOperators.EvaluationOperatorFactory
for given fieldReference. - EvaluationOperatorFactory(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.EvaluationOperators.EvaluationOperatorFactory
-
Creates new
EvaluationOperators.EvaluationOperatorFactory
for givenAggregationExpression
. - EvaluationOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to evaluation operators such as $expr.
- EvaluationOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.EvaluationOperators
- EvaluationOperators.EvaluationOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- EvaluationOperators.Expr - Class in org.springframework.data.mongodb.core.aggregation
-
Allows the use of aggregation expressions within the query language.
- EvaluationOperators.LastObservationCarriedForward - Class in org.springframework.data.mongodb.core.aggregation
-
Sets null and missing values to the last non-null value.
- EXACT - Enum constant in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator.MatchMode
-
Matches the exact string
- exactCount(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. - exactCount(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. - exactCount(Query, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
- exactCount(Query, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- exactCount(Query, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
- exactCount(Query, Class<?>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- exactCount(Query, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns the number of documents for the given
Query
querying the given collection. - exactCount(Query, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Returns the number of documents for the given
Query
querying the given collection. - EXCEPTION - Enum constant in enum class org.springframework.data.mongodb.core.WriteResultChecking
- exclude(String) - Method in class org.springframework.data.mongodb.core.query.Field
-
Exclude a single
field
from being returned by the query operation. - exclude(String...) - Method in class org.springframework.data.mongodb.core.query.Field
-
Exclude one or more
fields
from being returned by the query operation. - excludeCase() - Method in class org.springframework.data.mongodb.core.query.Collation.PrimaryICUComparisonLevel
-
Exclude case comparison.
- excludeCase() - Method in class org.springframework.data.mongodb.core.query.Collation.SecondaryICUComparisonLevel
-
Exclude case comparison.
- excludeFilters() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Specifies which types are not eligible for component scanning.
- excludeFilters() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Specifies which types are not eligible for component scanning.
- ExecutableAggregationOperation - Interface in org.springframework.data.mongodb.core
-
ExecutableAggregationOperation
allows creation and execution of MongoDB aggregation operations in a fluent API style. - ExecutableAggregationOperation.AggregationWithAggregation<T> - Interface in org.springframework.data.mongodb.core
-
Define the aggregation with pipeline stages.
- ExecutableAggregationOperation.AggregationWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Collection override (Optional).
- ExecutableAggregationOperation.ExecutableAggregation<T> - Interface in org.springframework.data.mongodb.core
- ExecutableAggregationOperation.TerminatingAggregation<T> - Interface in org.springframework.data.mongodb.core
-
Trigger execution by calling one of the terminating methods.
- ExecutableFindOperation - Interface in org.springframework.data.mongodb.core
-
ExecutableFindOperation
allows creation and execution of MongoDB find operations in a fluent API style. - ExecutableFindOperation.DistinctWithProjection - Interface in org.springframework.data.mongodb.core
-
Result type override.
- ExecutableFindOperation.DistinctWithQuery<T> - Interface in org.springframework.data.mongodb.core
-
Result restrictions.
- ExecutableFindOperation.ExecutableFind<T> - Interface in org.springframework.data.mongodb.core
-
ExecutableFindOperation.ExecutableFind
provides methods for constructing lookup operations in a fluent way. - ExecutableFindOperation.FindDistinct - Interface in org.springframework.data.mongodb.core
-
Distinct Find support.
- ExecutableFindOperation.FindWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Collection override (Optional).
- ExecutableFindOperation.FindWithProjection<T> - Interface in org.springframework.data.mongodb.core
-
Result type override (Optional).
- ExecutableFindOperation.FindWithQuery<T> - Interface in org.springframework.data.mongodb.core
-
Terminating operations invoking the actual query execution.
- ExecutableFindOperation.TerminatingDistinct<T> - Interface in org.springframework.data.mongodb.core
-
Terminating distinct find operations.
- ExecutableFindOperation.TerminatingFind<T> - Interface in org.springframework.data.mongodb.core
-
Trigger find execution by calling one of the terminating methods.
- ExecutableFindOperation.TerminatingFindNear<T> - Interface in org.springframework.data.mongodb.core
-
Trigger geonear execution by calling one of the terminating methods.
- ExecutableInsertOperation - Interface in org.springframework.data.mongodb.core
-
ExecutableInsertOperation
allows creation and execution of MongoDB insert and bulk insert operations in a fluent API style. - ExecutableInsertOperation.ExecutableInsert<T> - Interface in org.springframework.data.mongodb.core
- ExecutableInsertOperation.InsertWithBulkMode<T> - Interface in org.springframework.data.mongodb.core
- ExecutableInsertOperation.InsertWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Collection override (optional).
- ExecutableInsertOperation.TerminatingBulkInsert<T> - Interface in org.springframework.data.mongodb.core
-
Trigger bulk insert execution by calling one of the terminating methods.
- ExecutableInsertOperation.TerminatingInsert<T> - Interface in org.springframework.data.mongodb.core
-
Trigger insert execution by calling one of the terminating methods.
- ExecutableMapReduceOperation - Interface in org.springframework.data.mongodb.core
-
ExecutableMapReduceOperation
allows creation and execution of MongoDB mapReduce operations in a fluent API style. - ExecutableMapReduceOperation.ExecutableMapReduce<T> - Interface in org.springframework.data.mongodb.core
-
ExecutableMapReduceOperation.ExecutableMapReduce
provides methods for constructing mapReduce operations in a fluent way. - ExecutableMapReduceOperation.MapReduceWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Collection override (Optional).
- ExecutableMapReduceOperation.MapReduceWithMapFunction<T> - Interface in org.springframework.data.mongodb.core
-
Provide the Javascript
function()
used to map matching documents. - ExecutableMapReduceOperation.MapReduceWithOptions<T> - Interface in org.springframework.data.mongodb.core
-
Deprecated.since 4.0 in favor of
org.springframework.data.mongodb.core.aggregation
. - ExecutableMapReduceOperation.MapReduceWithProjection<T> - Interface in org.springframework.data.mongodb.core
-
Result type override (Optional).
- ExecutableMapReduceOperation.MapReduceWithQuery<T> - Interface in org.springframework.data.mongodb.core
-
Input document filter query (Optional).
- ExecutableMapReduceOperation.MapReduceWithReduceFunction<T> - Interface in org.springframework.data.mongodb.core
-
Provide the Javascript
function()
used to reduce matching documents. - ExecutableMapReduceOperation.TerminatingMapReduce<T> - Interface in org.springframework.data.mongodb.core
-
Trigger mapReduce execution by calling one of the terminating methods.
- ExecutableMongoScript - Class in org.springframework.data.mongodb.core.script
-
Deprecated.since 2.2. The
eval
command has been removed without replacement in MongoDB Server 4.2.0. - ExecutableMongoScript(String) - Constructor for class org.springframework.data.mongodb.core.script.ExecutableMongoScript
-
Deprecated.Creates new
ExecutableMongoScript
. - ExecutableRemoveOperation - Interface in org.springframework.data.mongodb.core
-
ExecutableRemoveOperation
allows creation and execution of MongoDB remove / findAndRemove operations in a fluent API style. - ExecutableRemoveOperation.ExecutableRemove<T> - Interface in org.springframework.data.mongodb.core
- ExecutableRemoveOperation.RemoveWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Collection override (optional).
- ExecutableRemoveOperation.RemoveWithQuery<T> - Interface in org.springframework.data.mongodb.core
- ExecutableRemoveOperation.TerminatingRemove<T> - Interface in org.springframework.data.mongodb.core
- ExecutableUpdateOperation - Interface in org.springframework.data.mongodb.core
-
ExecutableUpdateOperation
allows creation and execution of MongoDB update / findAndModify / findAndReplace operations in a fluent API style. - ExecutableUpdateOperation.ExecutableUpdate<T> - Interface in org.springframework.data.mongodb.core
- ExecutableUpdateOperation.FindAndModifyWithOptions<T> - Interface in org.springframework.data.mongodb.core
-
Define
FindAndModifyOptions
. - ExecutableUpdateOperation.FindAndReplaceWithOptions<T> - Interface in org.springframework.data.mongodb.core
-
Define
FindAndReplaceOptions
. - ExecutableUpdateOperation.FindAndReplaceWithProjection<T> - Interface in org.springframework.data.mongodb.core
-
Result type override (Optional).
- ExecutableUpdateOperation.TerminatingFindAndModify<T> - Interface in org.springframework.data.mongodb.core
-
Trigger findAndModify execution by calling one of the terminating methods.
- ExecutableUpdateOperation.TerminatingFindAndReplace<T> - Interface in org.springframework.data.mongodb.core
-
Trigger findOneAndReplace execution by calling one of the terminating methods.
- ExecutableUpdateOperation.TerminatingUpdate<T> - Interface in org.springframework.data.mongodb.core
-
Trigger update execution by calling one of the terminating methods.
- ExecutableUpdateOperation.UpdateWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Explicitly define the name of the collection to perform operation in.
- ExecutableUpdateOperation.UpdateWithQuery<T> - Interface in org.springframework.data.mongodb.core
-
Define a filter query for the
Update
. - ExecutableUpdateOperation.UpdateWithUpdate<T> - Interface in org.springframework.data.mongodb.core
-
Declare the
Update
to apply. - execute() - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Execute all bulk operations using the default write concern.
- execute(Class<?>, CollectionCallback<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Executes the given
CollectionCallback
on the entity collection of the specified class. - execute(Class<?>, CollectionCallback<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- execute(Class<?>, ReactiveCollectionCallback<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Executes the given
ReactiveCollectionCallback
on the entity collection of the specified class. - execute(Class<?>, ReactiveCollectionCallback<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- execute(Object[]) - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
- execute(Object[]) - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
- execute(String, CollectionCallback<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Executes the given
CollectionCallback
on the collection of the given name. - execute(String, CollectionCallback<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- execute(String, ReactiveCollectionCallback<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Executes the given
ReactiveCollectionCallback
on the collection of the given name. - execute(String, ReactiveCollectionCallback<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- execute(CollectionCallback<T>) - Method in class org.springframework.data.mongodb.core.DefaultIndexOperations
- execute(DbCallback<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Executes a
DbCallback
translating any exceptions as necessary. - execute(DbCallback<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- execute(ReactiveDatabaseCallback<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Executes a
ReactiveDatabaseCallback
translating any exceptions as necessary. - execute(ReactiveDatabaseCallback<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- execute(ReactiveSessionCallback<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveSessionScoped
-
Executes the given
ReactiveSessionCallback
within theClientSession
. - execute(ReactiveSessionCallback<T>, Consumer<ClientSession>) - Method in interface org.springframework.data.mongodb.core.ReactiveSessionScoped
-
Executes the given
ReactiveSessionCallback
within theClientSession
. - execute(ExecutableMongoScript, Object...) - Method in interface org.springframework.data.mongodb.core.ScriptOperations
-
Deprecated.Executes the script by either calling it via its name or directly sending it.
- execute(SessionCallback<T>) - Method in interface org.springframework.data.mongodb.core.SessionScoped
-
Executes the given
SessionCallback
within theClientSession
. - execute(SessionCallback<T>, Consumer<ClientSession>) - Method in interface org.springframework.data.mongodb.core.SessionScoped
-
Executes the given
SessionCallback
within theClientSession
. - executeCommand(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Execute a MongoDB command expressed as a JSON string.
- executeCommand(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- executeCommand(String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Execute a MongoDB command expressed as a JSON string.
- executeCommand(String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- executeCommand(Document) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Execute a MongoDB command.
- executeCommand(Document) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- executeCommand(Document) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Execute a MongoDB command.
- executeCommand(Document) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- executeCommand(Document, ReadPreference) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Execute a MongoDB command.
- executeCommand(Document, ReadPreference) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- executeCommand(Document, ReadPreference) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Execute a MongoDB command.
- executeCommand(Document, ReadPreference) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- executeQuery(Query, String, DocumentCallbackHandler) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Execute a MongoDB query and iterate over the query results on a per-document basis with a DocumentCallbackHandler.
- executeQuery(Query, String, DocumentCallbackHandler) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- executeQuery(Query, String, DocumentCallbackHandler, CursorPreparer) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Execute a MongoDB query and iterate over the query results on a per-document basis with a
DocumentCallbackHandler
using the provided CursorPreparer. - exhaust() - Method in class org.springframework.data.mongodb.core.query.Query
- EXHAUST - Enum constant in enum class org.springframework.data.mongodb.core.query.Meta.CursorOption
-
Sets the cursor to return all data returned by the query at once rather than splitting the results into batches.
- exists() - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.TerminatingFind
-
Check for the presence of matching elements.
- exists() - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.TerminatingFind
-
Check for the presence of matching elements.
- exists() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
- exists() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsResource
- exists() - Element in annotation interface org.springframework.data.mongodb.repository.Query
-
Returns whether the query defined should be executed as exists projection.
- exists(boolean) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $exists operator.
- exists(Predicate) - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
- exists(Predicate) - Method in class org.springframework.data.mongodb.repository.support.ReactiveQuerydslMongoPredicateExecutor
- exists(String) - Method in interface org.springframework.data.mongodb.core.ScriptOperations
-
Deprecated.Checks
MongoDatabase
for existence of ServerSideJavaScript with given name. - exists(Example<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- exists(Example<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- exists(Query, Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Determine result of given
Query
contains at least one element. - exists(Query, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- exists(Query, Class<?>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Determine result of given
Query
contains at least one element. - exists(Query, Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- exists(Query, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Determine result of given
Query
contains at least one element. - exists(Query, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- exists(Query, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Determine result of given
Query
contains at least one element. - exists(Query, Class<?>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- exists(Query, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Determine result of given
Query
contains at least one element. - exists(Query, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- exists(Query, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Determine result of given
Query
contains at least one element. - exists(Query, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- existsById(ID) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- existsById(ID) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- existsById(Publisher<ID>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- ExistsQuery - Annotation Interface in org.springframework.data.mongodb.repository
-
Annotation to declare finder exists queries directly on repository methods.
- exp() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that raises Euler’s number (i.e. e ) on the associated number. - exp() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$exp
expression that takes the number of the previously mentioned field and raises Euler’s number (i.e. e ) on it. - expire(long) - Method in class org.springframework.data.mongodb.core.index.Index
-
Specifies TTL in seconds.
- expire(long) - Method in class org.springframework.data.mongodb.core.index.WildcardIndex
-
ttl option is not supported.
- expire(long, TimeUnit) - Method in class org.springframework.data.mongodb.core.index.Index
-
Specifies TTL with given
TimeUnit
. - expire(long, TimeUnit) - Method in class org.springframework.data.mongodb.core.index.WildcardIndex
-
ttl option is not supported.
- expire(Duration) - Method in class org.springframework.data.mongodb.core.index.Index
-
Specifies the TTL.
- expire(Duration) - Method in class org.springframework.data.mongodb.core.index.WildcardIndex
-
ttl option is not supported.
- expireAfter() - Element in annotation interface org.springframework.data.mongodb.core.index.Indexed
-
Alternative for
Indexed.expireAfterSeconds()
to configure the timeout after which the document should expire. - expireAfterSeconds() - Element in annotation interface org.springframework.data.mongodb.core.index.Indexed
-
Configures the number of seconds after which the collection should expire.
- explain(boolean) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Defines whether to get the execution plan for the aggregation instead of the actual results.
- expMovingAvg() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AccumulatorOperators.ExpMovingAvgBuilder
that to buildexpMovingAvg
that calculates the exponential moving average of numeric values - expMovingAvgOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.ExpMovingAvg
-
Create a new
AccumulatorOperators.ExpMovingAvg
by defining the field holding the value to be used as input. - expMovingAvgOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.ExpMovingAvg
-
Create a new
AccumulatorOperators.ExpMovingAvg
by defining theexpression
to compute the value to be used as input. - ExposedFields - Class in org.springframework.data.mongodb.core.aggregation
-
Value object to capture the fields exposed by an
AggregationOperation
. - ExposedFields.FieldReference - Interface in org.springframework.data.mongodb.core.aggregation
-
A reference to an
ExposedFields.ExposedField
. - exposeVariablesOf(VariableOperators.Let) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
Expose the variables defined by
VariableOperators.Let
to theupdate aggregation
. - expr() - Method in class org.springframework.data.mongodb.core.aggregation.EvaluationOperators.EvaluationOperatorFactory
-
Creates new
AggregationExpression
that is a valid aggregation expression. - ExpressionBucketAutoOperationBuilder(String, BucketAutoOperation, Object[]) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.ExpressionBucketAutoOperationBuilder
-
Creates a new
BucketAutoOperation.ExpressionBucketAutoOperationBuilder
for the given value,BucketAutoOperation
and parameters. - ExpressionBucketOperationBuilder(String, BucketOperation, Object[]) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketOperation.ExpressionBucketOperationBuilder
-
Creates a new
BucketOperationSupport.ExpressionBucketOperationBuilderSupport
for the given value,BucketOperation
and parameters. - ExpressionBucketOperationBuilderSupport(String, T, Object[]) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.ExpressionBucketOperationBuilderSupport
-
Creates a new
BucketOperationSupport.ExpressionBucketOperationBuilderSupport
for the given value,BucketOperationSupport
and parameters. - ExpressionNode - Class in org.springframework.data.mongodb.core.spel
-
A value object for nodes in an expression.
- ExpressionNode(SpelNode, ExpressionState) - Constructor for class org.springframework.data.mongodb.core.spel.ExpressionNode
- expressionOf(String, Object...) - Static method in class org.springframework.data.mongodb.core.aggregation.AggregationSpELExpression
-
Creates new
AggregationSpELExpression
for the given expressionString and parameters. - ExpressionProjectionOperationBuilder(String, ProjectionOperation, Object[]) - Constructor for class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ExpressionProjectionOperationBuilder
-
Creates a new
ProjectionOperation.ExpressionProjectionOperationBuilder
for the given value,ProjectionOperation
and parameters. - ExpressionTransformationContextSupport<T extends ExpressionNode> - Class in org.springframework.data.mongodb.core.spel
-
The context for an
ExpressionNode
transformation. - ExpressionTransformationContextSupport(T, ExpressionNode, Document) - Constructor for class org.springframework.data.mongodb.core.spel.ExpressionTransformationContextSupport
-
Creates a new
ExpressionTransformationContextSupport
for the givenExpressionNode
s and an optional previous operation. - ExpressionTransformer<T extends ExpressionTransformationContextSupport<?>> - Interface in org.springframework.data.mongodb.core.spel
-
SPI interface to implement components that can transform an
ExpressionTransformationContextSupport
into an object. - ExpressionUtils - Class in org.springframework.data.mongodb.util.spel
-
Internal utility class for dealing with
Expression
and potential ones. - ExpressionUtils() - Constructor for class org.springframework.data.mongodb.util.spel.ExpressionUtils
- expValueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Exp
-
Creates new
ArithmeticOperators.Exp
. - expValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Exp
-
Creates new
ArithmeticOperators.Exp
. - expValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Exp
-
Creates new
ArithmeticOperators.Exp
. - extractDayOfMonth() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Extracts the dayOfMonth from a date expression.
- extractDayOfWeek() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Extracts the dayOfWeek from a date expression.
- extractDayOfYear() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Extracts the dayOfYear from a date expression.
- extractHour() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Extracts the hour from a date expression.
- extractMillisecond() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Extracts the millisecond from a date expression.
- extractMinute() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Extracts the minute from a date expression.
- extractMonth() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Extracts the month from a date expression.
- extractSecond() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Extracts the second from a date expression.
- extractWeek() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Extracts the week from a date expression.
- extractYear() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Extracts the year from a date expression.
F
- facet() - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
FacetOperation
. - facet(AggregationOperation...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
FacetOperation.FacetOperationBuilder
givenAggregation
. - FacetOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$facet
-operation. - FacetOperation() - Constructor for class org.springframework.data.mongodb.core.aggregation.FacetOperation
-
Creates a new
FacetOperation
. - FacetOperation.FacetOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder for
FacetOperation
by adding existing and the new pipeline ofAggregationOperation
to the newFacetOperation
. - failOnMatch() - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsMatch
-
Stop and fail the aggregation operation.
- failOnValidationError() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings andvalidationAction
set toValidationAction.ERROR
. - failWhenNotMatch() - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsDontMatch
-
Stop and fail the aggregation operation.
- fetch() - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
- fetch(DBRef) - Method in interface org.springframework.data.mongodb.core.convert.DbRefResolver
-
Actually loads the
DBRef
from the datasource. - fetch(DBRef) - Method in class org.springframework.data.mongodb.core.convert.DefaultDbRefResolver
- fetch(DBRef) - Method in enum class org.springframework.data.mongodb.core.convert.NoOpDbRefResolver
- fetchCount() - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
- fetchFirst() - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
- fetchMany(ReferenceLoader.DocumentReferenceQuery, ReferenceResolver.ReferenceCollection) - Method in class org.springframework.data.mongodb.core.convert.MongoDatabaseFactoryReferenceLoader
- fetchMany(ReferenceLoader.DocumentReferenceQuery, ReferenceResolver.ReferenceCollection) - Method in interface org.springframework.data.mongodb.core.convert.ReferenceLoader
-
Obtain multiple
Document
matching the given referenceQuery in the context. - fetchOne() - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
- fetchOne(ReferenceLoader.DocumentReferenceQuery, ReferenceResolver.ReferenceCollection) - Method in interface org.springframework.data.mongodb.core.convert.ReferenceLoader
-
Obtain a single
Document
matching the given referenceQuery in the context. - fetchPage(Pageable) - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
-
Fetch a
Page
. - fetchResults() - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
- field(String) - Static method in class org.springframework.data.mongodb.core.aggregation.Fields
-
Creates a
Field
with the given name. - field(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.SetField
-
Creates new
aggregation expression
that takes the value pointed to by given inputfieldName
. - field(String, String) - Static method in class org.springframework.data.mongodb.core.aggregation.Fields
- field(Field) - Static method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.SetField
-
Creates new
aggregation expression
that takes the value pointed to by given inputField
. - Field - Class in org.springframework.data.mongodb.core.query
-
Field projection.
- Field - Interface in org.springframework.data.mongodb.core.aggregation
-
Abstraction for a field.
- Field - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
Annotation to define custom metadata for document fields.
- Field() - Constructor for class org.springframework.data.mongodb.core.query.Field
- Field(String) - Constructor for class org.springframework.data.mongodb.core.convert.QueryMapper.Field
-
Creates a new
QueryMapper.Field
without meta-information but the given name. - Field.FieldProjectionExpression - Interface in org.springframework.data.mongodb.core.query
-
Intermediate builder part for projecting a
MongoExpression
to a result field. - Field.Write - Enum Class in org.springframework.data.mongodb.core.mapping
-
Enumeration of write strategies to define when a property is included for write conversion.
- fieldNamingStrategy() - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
-
Configures a
FieldNamingStrategy
on theMongoMappingContext
instance created. - fields() - Method in class org.springframework.data.mongodb.core.query.Query
- fields() - Element in annotation interface org.springframework.data.mongodb.repository.Query
-
Defines the fields that should be returned for the given query.
- fields(String...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
Fields
instance for the given field names. - fields(String...) - Static method in class org.springframework.data.mongodb.core.aggregation.Fields
- Fields - Class in org.springframework.data.mongodb.core.aggregation
-
Value object to capture a list of
Field
instances. - FieldsExposingAggregationOperation - Interface in org.springframework.data.mongodb.core.aggregation
-
AggregationOperation
that exposesExposedFields
that can be used for later aggregation pipelineAggregationOperation
s. - FieldsExposingAggregationOperation.InheritsFieldsAggregationOperation - Interface in org.springframework.data.mongodb.core.aggregation
-
Marker interface for
AggregationOperation
that inherits fields from previous operations. - FieldType - Enum Class in org.springframework.data.mongodb.core.mapping
-
Enumeration of field value types that can be used to represent a
Document
field value. - filename(String) - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload.GridFsUploadBuilder
-
Set the filename.
- filename(String) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder
-
Set the filename.
- filter() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that takes the associated array and selects a subset of the array to return based on the specified condition. - filter(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Filter
-
Set the field to apply the
$filter
to. - filter(String, AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$filter
expression that returns a subset of the array held by the given field. - filter(Predicate<MongoJsonSchemaCreator.JsonSchemaPropertyContext>) - Method in interface org.springframework.data.mongodb.core.MongoJsonSchemaCreator
-
Filter matching
properties
. - filter(List<?>) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Filter
-
Set the values to apply the
$filter
to. - filter(List<?>) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.Filter.InputBuilder
-
Set the values to apply the
$filter
to. - filter(Document...) - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
-
Set the plain filter chain to apply.
- filter(Document...) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the plain filter chain to apply.
- filter(Aggregation) - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
-
Set the filter to apply.
- filter(Aggregation) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the filter to apply.
- filter(Aggregation) - Method in interface org.springframework.data.mongodb.core.ReactiveChangeStreamOperation.ChangeStreamWithFilterAndProjection
-
Use an
Aggregation
to filter matching events. - filter(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Filter
-
Set the
AggregationExpression
resolving to an arry to apply the$filter
to. - filter(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.Filter.InputBuilder
-
Set the
AggregationExpression
resolving to an array to apply the$filter
to. - filter(Field) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Filter
-
Set the field to apply the
$filter
to. - filter(Field) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.Filter.InputBuilder
-
Set the field holding an array to apply the
$filter
to. - filter(CriteriaDefinition) - Method in interface org.springframework.data.mongodb.core.ReactiveChangeStreamOperation.ChangeStreamWithFilterAndProjection
-
Use a
critera
to filter matching events via anMatchOperation
. - filter(Query) - Method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest.TailableCursorRequestBuilder
-
Set the filter to apply.
- filter(Query) - Method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest.TailableCursorRequestOptions.TailableCursorRequestOptionsBuilder
-
Set the filter to apply.
- filterArray(String, Object) - Method in class org.springframework.data.mongodb.core.query.Update
-
Filter elements in an array that match the given criteria for update.
- filterArray(CriteriaDefinition) - Method in class org.springframework.data.mongodb.core.query.Update
-
Filter elements in an array that match the given criteria for update.
- finalize(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator.AccumulatorFinalizeBuilder
-
Set the
finalize
function used to update the result of the accumulation when all documents have been processed. - finalizeFunction(String) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.Sets the finalize function
- find(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceAll
-
The string to search for within the given input field.
- find(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceOne
-
The string to search for within the given input field.
- find(Query) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Returns all files matching the given query.
- find(Query) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
- find(Query) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Returns a
Flux
emitting all files matching the given query. - find(Query) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
- find(Query, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Map the results of an ad-hoc query on the collection for the entity class to a List of the specified type.
- find(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- find(Query, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Map the results of an ad-hoc query on the collection for the entity class to a
Flux
of the specified type. - find(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- find(Query, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Map the results of an ad-hoc query on the specified collection to a List of the specified type.
- find(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- find(Query, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Map the results of an ad-hoc query on the specified collection to a
Flux
of the specified type. - find(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findAll() - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- findAll() - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- findAll(OrderSpecifier<?>...) - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
- findAll(OrderSpecifier<?>...) - Method in class org.springframework.data.mongodb.repository.support.ReactiveQuerydslMongoPredicateExecutor
- findAll(Predicate) - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
- findAll(Predicate) - Method in class org.springframework.data.mongodb.repository.support.ReactiveQuerydslMongoPredicateExecutor
- findAll(Predicate, OrderSpecifier<?>...) - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
- findAll(Predicate, OrderSpecifier<?>...) - Method in class org.springframework.data.mongodb.repository.support.ReactiveQuerydslMongoPredicateExecutor
- findAll(Predicate, Pageable) - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
- findAll(Predicate, Sort) - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
- findAll(Predicate, Sort) - Method in class org.springframework.data.mongodb.repository.support.ReactiveQuerydslMongoPredicateExecutor
- findAll(Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Query for a list of objects of type T from the collection used by the entity class.
- findAll(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findAll(Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Query for a
Flux
of objects of type T from the collection used by the entity class. - findAll(Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findAll(Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Query for a list of objects of type T from the specified collection.
- findAll(Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findAll(Class<T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Query for a
Flux
of objects of type T from the specified collection. - findAll(Class<T>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findAll(Example<S>) - Method in interface org.springframework.data.mongodb.repository.MongoRepository
-
Returns all entities matching the given
Example
. - findAll(Example<S>) - Method in interface org.springframework.data.mongodb.repository.ReactiveMongoRepository
-
Returns all entities matching the given
Example
. - findAll(Example<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- findAll(Example<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- findAll(Example<S>, Pageable) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- findAll(Example<S>, Sort) - Method in interface org.springframework.data.mongodb.repository.MongoRepository
-
Returns all entities matching the given
Example
applying the givenSort
. - findAll(Example<S>, Sort) - Method in interface org.springframework.data.mongodb.repository.ReactiveMongoRepository
-
Returns all entities matching the given
Example
applying the givenSort
. - findAll(Example<S>, Sort) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- findAll(Example<S>, Sort) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- findAll(Pageable) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- findAll(Sort) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- findAll(Sort) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- findAllAndRemove(Query, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns and removes all documents matching the given query form the collection used to store the entityClass.
- findAllAndRemove(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findAllAndRemove(Query, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Returns and removes all documents matching the given query form the collection used to store the entityClass.
- findAllAndRemove(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findAllAndRemove(Query, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns and removes all documents that match the provided query document criteria from the collection used to store the entityClass.
- findAllAndRemove(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findAllAndRemove(Query, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Returns and removes all documents that match the provided query document criteria from the collection used to store the entityClass.
- findAllAndRemove(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findAllAndRemove(Query, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns and removes all documents form the specified collection that match the provided query.
- findAllAndRemove(Query, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findAllAndRemove(Query, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Returns and removes all documents form the specified collection that match the provided query.
- findAllAndRemove(Query, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findAllById(Iterable<ID>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- findAllById(Iterable<ID>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- findAllById(Publisher<ID>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- findAndModify() - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.TerminatingFindAndModify
-
Find, modify and return the first matching document.
- findAndModify() - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.TerminatingFindAndModify
-
Find, modify and return the first matching document.
- findAndModify(Query, UpdateDefinition, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
- findAndModify(Query, UpdateDefinition, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findAndModify(Query, UpdateDefinition, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
- findAndModify(Query, UpdateDefinition, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findAndModify(Query, UpdateDefinition, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
- findAndModify(Query, UpdateDefinition, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findAndModify(Query, UpdateDefinition, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
- findAndModify(Query, UpdateDefinition, Class<T>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findAndModify(Query, UpdateDefinition, FindAndModifyOptions, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Triggers findAndModify to apply provided
Update
on documents matchingCriteria
of givenQuery
takingFindAndModifyOptions
into account. - findAndModify(Query, UpdateDefinition, FindAndModifyOptions, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findAndModify(Query, UpdateDefinition, FindAndModifyOptions, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Triggers findAndModify to apply provided
Update
on documents matchingCriteria
of givenQuery
takingFindAndModifyOptions
into account. - findAndModify(Query, UpdateDefinition, FindAndModifyOptions, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findAndModify(Query, UpdateDefinition, FindAndModifyOptions, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Triggers findAndModify to apply provided
Update
on documents matchingCriteria
of givenQuery
takingFindAndModifyOptions
into account. - findAndModify(Query, UpdateDefinition, FindAndModifyOptions, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findAndModify(Query, UpdateDefinition, FindAndModifyOptions, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Triggers findAndModify to apply provided
Update
on documents matchingCriteria
of givenQuery
takingFindAndModifyOptions
into account. - findAndModify(Query, UpdateDefinition, FindAndModifyOptions, Class<T>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- FindAndModifyOptions - Class in org.springframework.data.mongodb.core
- FindAndModifyOptions() - Constructor for class org.springframework.data.mongodb.core.FindAndModifyOptions
- findAndModifyValue() - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.TerminatingFindAndModify
-
Find, modify and return the first matching document.
- findAndRemove() - Method in interface org.springframework.data.mongodb.core.ExecutableRemoveOperation.TerminatingRemove
-
Remove and return all matching documents.
- findAndRemove() - Method in interface org.springframework.data.mongodb.core.ReactiveRemoveOperation.TerminatingRemove
-
Remove and return all matching documents.
- findAndRemove(Query, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Map the results of an ad-hoc query on the collection for the entity type to a single instance of an object of the specified type.
- findAndRemove(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findAndRemove(Query, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Map the results of an ad-hoc query on the collection for the entity type to a single instance of an object of the specified type.
- findAndRemove(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findAndRemove(Query, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Map the results of an ad-hoc query on the specified collection to a single instance of an object of the specified type.
- findAndRemove(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findAndRemove(Query, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Map the results of an ad-hoc query on the specified collection to a single instance of an object of the specified type.
- findAndRemove(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findAndReplace() - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.TerminatingFindAndReplace
-
Find, replace and return the first matching document.
- findAndReplace() - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.TerminatingFindAndReplace
-
Find, replace and return the first matching document.
- findAndReplace(Query, S, FindAndReplaceOptions, Class<S>, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document takingFindAndReplaceOptions
into account.
NOTE: The replacement entity must not hold an id. - findAndReplace(Query, S, FindAndReplaceOptions, Class<S>, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document takingFindAndReplaceOptions
into account. - findAndReplace(Query, S, FindAndReplaceOptions, Class<S>, String, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document takingFindAndReplaceOptions
into account.
NOTE: The replacement entity must not hold an id. - findAndReplace(Query, S, FindAndReplaceOptions, Class<S>, String, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findAndReplace(Query, S, FindAndReplaceOptions, Class<S>, String, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document takingFindAndReplaceOptions
into account. - findAndReplace(Query, S, FindAndReplaceOptions, Class<S>, String, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findAndReplace(Query, T) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document. - findAndReplace(Query, T) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document. - findAndReplace(Query, T, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document.
Options are defaulted toFindAndReplaceOptions.empty()
. - findAndReplace(Query, T, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document. - findAndReplace(Query, T, FindAndReplaceOptions) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document takingFindAndReplaceOptions
into account.
NOTE: The replacement entity must not hold an id. - findAndReplace(Query, T, FindAndReplaceOptions) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document takingFindAndReplaceOptions
into account. - findAndReplace(Query, T, FindAndReplaceOptions, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document takingFindAndReplaceOptions
into account.
NOTE: The replacement entity must not hold an id. - findAndReplace(Query, T, FindAndReplaceOptions, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document takingFindAndReplaceOptions
into account. - findAndReplace(Query, T, FindAndReplaceOptions, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document takingFindAndReplaceOptions
into account.
NOTE: The replacement entity must not hold an id. - findAndReplace(Query, T, FindAndReplaceOptions, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Triggers findOneAndReplace to replace a single document matching
Criteria
of givenQuery
with thereplacement
document takingFindAndReplaceOptions
into account. - FindAndReplaceOptions - Class in org.springframework.data.mongodb.core
-
Options for findOneAndReplace.
- FindAndReplaceOptions() - Constructor for class org.springframework.data.mongodb.core.FindAndReplaceOptions
- findAndReplaceValue() - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.TerminatingFindAndReplace
-
Find, replace and return the first matching document.
- findBy(Predicate, Function<FluentQuery.FetchableFluentQuery<S>, R>) - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
- findBy(Predicate, Function<FluentQuery.ReactiveFluentQuery<S>, P>) - Method in class org.springframework.data.mongodb.repository.support.ReactiveQuerydslMongoPredicateExecutor
- findBy(Example<S>, Function<FluentQuery.FetchableFluentQuery<S>, R>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- findBy(Example<S>, Function<FluentQuery.ReactiveFluentQuery<S>, P>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- findById(ID) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- findById(ID) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- findById(Object, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns a document with the given id mapped onto the given class.
- findById(Object, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findById(Object, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Returns a document with the given id mapped onto the given class.
- findById(Object, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findById(Object, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns the document with the given id from the given collection mapped onto the given target class.
- findById(Object, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findById(Object, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Returns the document with the given id from the given collection mapped onto the given target class.
- findById(Object, Class<T>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findById(Publisher<ID>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- findContextualEntity(MongoPersistentEntity<S>, Document) - Method in interface org.springframework.data.mongodb.core.convert.MappingMongoConverter.ConversionContext
-
Lookup a potentially existing entity instance of the given
MongoPersistentEntity
andDocument
- findDistinct(String, Class<?>, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Finds the distinct values for a specified field across a single
MongoCollection
or view and returns the results in aList
. - findDistinct(String, Class<?>, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Finds the distinct values for a specified field across a single
MongoCollection
or view and returns the results in aFlux
. - findDistinct(Query, String, Class<?>, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Finds the distinct values for a specified field across a single
MongoCollection
or view and returns the results in aList
. - findDistinct(Query, String, Class<?>, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findDistinct(Query, String, Class<?>, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Finds the distinct values for a specified field across a single
MongoCollection
or view and returns the results in aFlux
. - findDistinct(Query, String, Class<?>, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findDistinct(Query, String, String, Class<?>, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Finds the distinct values for a specified field across a single
MongoCollection
or view and returns the results in aList
. - findDistinct(Query, String, String, Class<?>, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findDistinct(Query, String, String, Class<?>, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Finds the distinct values for a specified field across a single
MongoCollection
or view and returns the results in aFlux
. - findDistinct(Query, String, String, Class<?>, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findDistinct(Query, String, String, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Finds the distinct values for a specified field across a single
MongoCollection
or view and returns the results in aList
. - findDistinct(Query, String, String, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Finds the distinct values for a specified field across a single
MongoCollection
or view and returns the results in aFlux
. - findDynamicProjection() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
- findFirst(Query) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Returns a
Mono
emitting the fristGridFSFile
matching the given query orMono.empty()
in case no file matches. - findFirst(Query) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
- findOne(Predicate) - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
- findOne(Predicate) - Method in class org.springframework.data.mongodb.repository.support.ReactiveQuerydslMongoPredicateExecutor
- findOne(Example<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- findOne(Example<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- findOne(Query) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Returns a single
GridFSFile
matching the given query or null in case no file matches. - findOne(Query) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
- findOne(Query) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Returns a
Mono
emitting a singleGridFSFile
matching the given query orMono.empty()
in case no file matches. - findOne(Query) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
- findOne(Query, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Map the results of an ad-hoc query on the collection for the entity class to a single instance of an object of the specified type.
- findOne(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findOne(Query, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Map the results of an ad-hoc query on the collection for the entity class to a single instance of an object of the specified type.
- findOne(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- findOne(Query, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Map the results of an ad-hoc query on the specified collection to a single instance of an object of the specified type.
- findOne(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- findOne(Query, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Map the results of an ad-hoc query on the specified collection to a single instance of an object of the specified type.
- findOne(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- FindPublisherPreparer - Interface in org.springframework.data.mongodb.core
-
Simple callback interface to allow customization of a
FindPublisher
. - findValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceAll
-
Specify the reference to the
field
holding the string to search for within the given input field. - findValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceOne
-
Specify the reference to the
field
holding the string to search for within the given input field. - findValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceAll
-
Specify the
AggregationExpression
evaluating to the string to search for within the given input field. - findValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceOne
-
Specify the
AggregationExpression
evaluating to the the string to search for within the given input field. - first() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that return the first element in the associated array. - first() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Generates a builder for a
$first
-expression the current value. - first() - Static method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.First
- first() - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.TerminatingFind
-
Get the first or no result.
- first() - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.TerminatingUpdate
-
Update the first document in the collection.
- first() - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.TerminatingFind
-
Get the first or no result.
- first() - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.TerminatingUpdate
-
Update the first document in the collection.
- first(int) - Static method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.First
- first(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.First
-
Returns the first element in the given array.
- first(String) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for a$first
-expression for the given field-reference. - first(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for a$first
-expression for the givenAggregationExpression
. - First(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.SelectionOperators.First
- FIRST - Enum constant in enum class org.springframework.data.mongodb.core.query.Update.Position
- firstOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.First
-
Returns the first element in the array pointed to by the given
field reference
. - firstOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.First
-
Returns the first element of the array computed by the given
expression
. - firstValue() - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.TerminatingFind
-
Get the first or no result.
- flags() - Element in annotation interface org.springframework.data.mongodb.repository.Meta
-
Set
Meta.CursorOption
to be used when executing query. - flattenMap(Document) - Static method in class org.springframework.data.mongodb.core.query.SerializationUtils
-
Flattens out a given
Document
. - float64(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
with given identifier ofbsonType : 'double'
. - floor() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that returns the largest integer less than or equal to the associated number. - floor() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$floor
expression that takes the number of the previously mentioned field and returns the largest integer less than or equal to it. - floorValueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Floor
-
Creates new
ArithmeticOperators.Floor
. - floorValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Floor
-
Creates new
ArithmeticOperators.Floor
. - floorValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Floor
-
Creates new
ArithmeticOperators.Floor
. - FluentMongoOperations - Interface in org.springframework.data.mongodb.core
-
Stripped down interface providing access to a fluent API that specifies a basic set of MongoDB operations.
- flush() - Method in class org.springframework.data.mongodb.MongoTransactionManager.MongoTransactionObject
- flush() - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager.ReactiveMongoTransactionObject
- forAllFields() - Static method in class org.springframework.data.mongodb.core.index.TextIndexDefinition
-
Creates a
TextIndexDefinition
for all fields in the document. - forDefaultLanguage() - Static method in class org.springframework.data.mongodb.core.query.TextCriteria
-
Returns a new
TextCriteria
for the default language. - forEach(Consumer<Class<?>>) - Method in class org.springframework.data.mongodb.MongoManagedTypes
- foreignField(String) - Method in interface org.springframework.data.mongodb.core.aggregation.LookupOperation.ForeignFieldBuilder
- foreignField(String) - Method in class org.springframework.data.mongodb.core.aggregation.LookupOperation.LookupOperationBuilder
- forExpression(Document) - Method in class org.springframework.data.mongodb.core.aggregation.VariableOperators.Let.ExpressionVariable
-
Create a new
VariableOperators.Let.ExpressionVariable
with current name and given expressionObject. - forExpression(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.VariableOperators.Let.ExpressionVariable
-
Create a new
VariableOperators.Let.ExpressionVariable
with current name and given expression. - forExpressions(ValueProvider, ExpressionParser, Function<ExpressionDependencies, EvaluationContext>) - Static method in class org.springframework.data.mongodb.util.json.ParameterBindingContext
-
Create a new
ParameterBindingContext
that is capable of expression parsing and can provide aEvaluationContext
based onExpressionDependencies
. - forLanguage(String) - Static method in class org.springframework.data.mongodb.core.query.TextCriteria
-
For a full list of supported languages see the mongodb reference manual for Text Search Languages.
- forManyDocuments(Bson) - Static method in interface org.springframework.data.mongodb.core.convert.ReferenceLoader.DocumentReferenceQuery
- forProperty(String) - Method in interface org.springframework.data.mongodb.core.convert.MappingMongoConverter.ConversionContext
-
Obtain a
MappingMongoConverter.ConversionContext
for the given propertyname
. - forProperty(MongoPersistentProperty) - Method in interface org.springframework.data.mongodb.core.convert.MappingMongoConverter.ConversionContext
-
Obtain a
MappingMongoConverter.ConversionContext
for the givenMongoPersistentProperty
. - forSingleDocument(Bson) - Static method in interface org.springframework.data.mongodb.core.convert.ReferenceLoader.DocumentReferenceQuery
- forwardDiacriticSort() - Method in class org.springframework.data.mongodb.core.query.Collation
-
Do not sort string with diacritics sort from back of the string.
- from(GridFSFile) - Static method in class org.springframework.data.mongodb.gridfs.GridFsObject.Options
-
Static factory method to create
GridFsObject.Options
by extracting information from the givenGridFSFile
. - from(EntityPath<T>) - Method in class org.springframework.data.mongodb.repository.support.QuerydslRepositorySupport
-
Returns a
SpringDataMongodbQuery
for the givenEntityPath
. - from(EntityPath<T>, String) - Method in class org.springframework.data.mongodb.repository.support.QuerydslRepositorySupport
-
Returns a
SpringDataMongodbQuery
for the givenEntityPath
querying the given collection. - from(Class<?>...) - Static method in class org.springframework.data.mongodb.MongoManagedTypes
-
Factory method used to construct
MongoManagedTypes
from the given array oftypes
. - from(Number) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.DocumentWindowBuilder
-
The lower (inclusive) range limit based on current document.
- from(Number) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindowBuilder
-
The lower (inclusive) range limit value to add to the value based on the sortBy field.
- from(String) - Method in interface org.springframework.data.mongodb.core.aggregation.GraphLookupOperation.FromBuilder
-
Set the collectionName to apply the
$graphLookup
to. - from(String) - Method in interface org.springframework.data.mongodb.core.aggregation.LookupOperation.FromBuilder
- from(String) - Method in class org.springframework.data.mongodb.core.aggregation.LookupOperation.LookupOperationBuilder
- from(String) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.DocumentWindowBuilder
-
The lower (inclusive) range limit based on current document.
- from(String) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindowBuilder
-
The lower (inclusive) range limit based on the sortBy field.
- from(String) - Static method in class org.springframework.data.mongodb.util.DotPath
-
Creates a new
DotPath
fromdotPath
. - from(ChronoUnit) - Static method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.TemporalUnit
-
Converts the given chrono unit into a
DateOperators.TemporalUnit
. - from(ChronoUnit) - Static method in interface org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnit
-
Converts the given chrono unit into a
DensifyOperation.DensifyUnit
. - from(ChronoUnit) - Static method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnit
-
Converts the given chrono unit into a
SetWindowFieldsOperation.WindowUnit
. - from(TimeUnit) - Static method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.TemporalUnit
-
Converts the given time unit into a
DateOperators.TemporalUnit
. - from(TimeUnit) - Static method in interface org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnit
-
Converts the given time unit into a
DensifyOperation.DensifyUnit
. - from(TimeUnit) - Static method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnit
-
Converts the given time unit into a
SetWindowFieldsOperation.WindowUnit
. - from(List<?>) - Static method in class org.springframework.data.mongodb.core.convert.MongoCustomConversions.MongoConverterConfigurationAdapter
-
Create a
MongoCustomConversions.MongoConverterConfigurationAdapter
using the providedconverters
and our own codecs for JSR-310 types. - from(List<AggregationOperation>) - Static method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
-
Create a new AggregationUpdate from the given
AggregationOperation
s. - from(Document) - Static method in class org.springframework.data.mongodb.core.query.Collation
-
Create new
Collation
from values inDocument
. - from(ManagedTypes) - Static method in class org.springframework.data.mongodb.MongoManagedTypes
-
Wraps an existing
ManagedTypes
object withMongoManagedTypes
. - from(ExposedFields.ExposedField...) - Static method in class org.springframework.data.mongodb.core.aggregation.ExposedFields
-
Creates a new
ExposedFields
instance from the givenExposedFields.ExposedField
s. - from(Field...) - Static method in class org.springframework.data.mongodb.core.aggregation.Fields
- from(MongoExpression) - Static method in interface org.springframework.data.mongodb.core.aggregation.AggregationExpression
-
Create an
AggregationExpression
out of a givenMongoExpression
to ensure the resultingDocument
is mapped against theAggregationOperationContext
. - from(SpelNode) - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
-
Creates a new
ExpressionNode
from the givenSpelNode
. - from(SpelNode, ExpressionState) - Static method in class org.springframework.data.mongodb.core.spel.ExpressionNode
- fromCurrent() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.DocumentWindowBuilder
- fromCurrent() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindowBuilder
-
Use current as
lower
limit. - fromDate(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateSubtract
-
Define the start date, in UTC, for the subtraction operation.
- fromDateOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateSubtract
-
Define the start date, in UTC, for the subtraction operation.
- fromDateOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateSubtract
-
Define the start date, in UTC, for the subtraction operation.
- fromDBRef(DBRef) - Static method in class org.springframework.data.mongodb.core.convert.ReferenceResolver.ReferenceCollection
-
Create a new instance of
ReferenceResolver.ReferenceCollection
from the givenDBRef
. - fromDocument(Document) - Static method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Creates new
AggregationOptions
givenDocument
containing aggregation options. - fromDocument(Document, String...) - Static method in class org.springframework.data.mongodb.core.query.Update
-
Creates an
Update
instance from the givenDocument
. - fromIterable(Iterable<? extends Class<?>>) - Static method in class org.springframework.data.mongodb.MongoManagedTypes
- fromOffset(ZoneOffset) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Timezone
-
Create a
DateOperators.Timezone
for the givenZoneOffset
rendering the offset as UTC offset. - fromOffset(TimeZone) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Timezone
-
Create a
DateOperators.Timezone
for the givenTimeZone
rendering the offset as UTC offset. - fromPublisher(Publisher<DataBuffer>) - Static method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload
-
Create a new instance of
ReactiveGridFsUpload
for the givenPublisher
. - fromStream(InputStream) - Static method in class org.springframework.data.mongodb.gridfs.GridFsUpload
-
Create a new instance of
GridFsUpload
for the givenInputStream
. - fromString() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that converts a date/time string to a date object.
NOTE: Requires MongoDB 3.6 or later. - fromString(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromString
-
Creates new
DateOperators.DateFromString
. - fromStringOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromString
-
Creates new
DateOperators.DateFromString
. - fromStringOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromString
-
Creates new
DateOperators.DateFromString
. - fromUnbounded() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.DocumentWindowBuilder
- fromUnbounded() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindowBuilder
-
Use unbounded as
lower
limit. - fromZone(ZoneId) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Timezone
-
Create a
DateOperators.Timezone
for the givenZoneId
rendering the offset as UTC offset. - fromZone(TimeZone) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Timezone
-
Create a
DateOperators.Timezone
for the givenTimeZone
rendering the offset as UTC offset. - full() - Static method in interface org.springframework.data.mongodb.core.aggregation.DensifyOperation.Range
-
Add documents spanning the full value range.
- fullDocumentBeforeChangeLookup(FullDocumentBeforeChange) - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
-
Set the
FullDocumentBeforeChange
lookup to use. - fullDocumentBeforeChangeLookup(FullDocumentBeforeChange) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the
FullDocumentBeforeChange
lookup to the given value. - fullDocumentLookup(FullDocument) - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
-
Set the
FullDocument
lookup to use. - fullDocumentLookup(FullDocument) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the
FullDocument
lookup toFullDocument.UPDATE_LOOKUP
. - fullRange(Consumer<DensifyOperation.DensifyRange>) - Method in class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyOperationBuilder
-
Operate on full range.
- function(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ScriptOperators
-
Create a custom aggregation $function in JavaScript.
- function(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ScriptOperators.Function
-
Create a new
ScriptOperators.Function
with the given function definition.
G
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.DateJsonSchemaProperty
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NullJsonSchemaProperty
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.TimestampJsonSchemaProperty
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.BooleanJsonSchemaObject
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject
-
Auto generate the description if not explicitly set.
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
- generatedDescription() - Method in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
-
Auto generate the description if not explicitly set.
- generateDescription - Variable in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
- generateDescription() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
- generateDescription() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.BooleanJsonSchemaObject
- generateDescription() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject
-
Customization hook for creating description out of defined values.
Called byTypedJsonSchemaObject.toDocument()
when no explicitTypedJsonSchemaObject.description(java.lang.String)
is set. - generateDescription() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
- generateDescription() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
- generateDescription() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
- generateDescription() - Method in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
-
Customization hook for creating description out of defined values.
Called byUntypedJsonSchemaObject.toDocument()
when no explicitUntypedJsonSchemaObject.description
is set. - generateIdIfAbsentFromDocument(Document) - Method in class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
- geo(String) - Static method in class org.springframework.data.mongodb.core.index.IndexField
-
Creates a geo
IndexField
for the given key. - GEO_2D - Enum constant in enum class org.springframework.data.mongodb.core.index.GeoSpatialIndexType
-
Simple 2-Dimensional index for legacy-format points.
- GEO_2DSPHERE - Enum constant in enum class org.springframework.data.mongodb.core.index.GeoSpatialIndexType
-
2D Index for GeoJSON-formatted data over a sphere.
- GEO_HAYSTACK - Enum constant in enum class org.springframework.data.mongodb.core.index.GeoSpatialIndexType
-
An haystack index for grouping results over small results.
- GeoCommand - Class in org.springframework.data.mongodb.core.query
-
Wrapper around a
Shape
to allow appropriate query rendering. - GeoCommand(Shape) - Constructor for class org.springframework.data.mongodb.core.query.GeoCommand
-
Creates a new
GeoCommand
. - GeoJson<T extends Iterable<?>> - Interface in org.springframework.data.mongodb.core.geo
-
Interface definition for structures defined in GeoJSON format.
- GeoJsonConfiguration - Class in org.springframework.data.mongodb.config
-
Configuration class to expose
GeoJsonModule
as a Spring bean. - GeoJsonConfiguration() - Constructor for class org.springframework.data.mongodb.config.GeoJsonConfiguration
- GeoJsonGeometryCollection - Class in org.springframework.data.mongodb.core.geo
- GeoJsonGeometryCollection(List<GeoJson<?>>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonGeometryCollection
-
Creates a new
GeoJsonGeometryCollection
for the givenGeoJson
instances. - GeoJsonLineString - Class in org.springframework.data.mongodb.core.geo
-
GeoJsonLineString
is defined as list of at least 2Point
s. - GeoJsonLineString(List<Point>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonLineString
-
Creates a new
GeoJsonLineString
for the givenPoint
s. - GeoJsonLineString(Point, Point, Point...) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonLineString
-
Creates a new
GeoJsonLineString
for the givenPoint
s. - geoJsonModule() - Method in class org.springframework.data.mongodb.config.GeoJsonConfiguration
- geoJsonModule() - Static method in class org.springframework.data.mongodb.core.geo.GeoJsonModule
-
Obtain a
Module
containingserializers
anddeserializers
for the followingGeoJson
types:GeoJsonPoint
GeoJsonMultiPoint
GeoJsonLineString
GeoJsonMultiLineString
GeoJsonPolygon
GeoJsonMultiPolygon
- GeoJsonModule - Class in org.springframework.data.mongodb.core.geo
-
A Jackson
Module
to register customJsonDeserializer
s for GeoJSON types. - GeoJsonModule() - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonModule
- GeoJsonMultiLineString - Class in org.springframework.data.mongodb.core.geo
-
GeoJsonMultiLineString
is defined as list ofGeoJsonLineString
s. - GeoJsonMultiLineString(List<Point>...) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonMultiLineString
-
Creates new
GeoJsonMultiLineString
for the givenPoint
s. - GeoJsonMultiLineString(List<GeoJsonLineString>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonMultiLineString
-
Creates new
GeoJsonMultiLineString
for the givenGeoJsonLineString
s. - GeoJsonMultiPoint - Class in org.springframework.data.mongodb.core.geo
-
GeoJsonMultiPoint
is defined as list ofPoint
s. - GeoJsonMultiPoint(List<Point>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
-
Creates a new
GeoJsonMultiPoint
for the givenPoint
s. - GeoJsonMultiPoint(Point) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
-
Creates a new
GeoJsonMultiPoint
for the givenPoint
. - GeoJsonMultiPoint(Point, Point, Point...) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
-
Creates a new
GeoJsonMultiPoint
for the givenPoint
s. - GeoJsonMultiPolygon - Class in org.springframework.data.mongodb.core.geo
-
GeoJsonMultiPolygon
is defined as a list ofGeoJsonPolygon
s. - GeoJsonMultiPolygon(List<GeoJsonPolygon>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonMultiPolygon
-
Creates a new
GeoJsonMultiPolygon
for the givenGeoJsonPolygon
s. - GeoJsonPoint - Class in org.springframework.data.mongodb.core.geo
-
GeoJson
representation ofPoint
. - GeoJsonPoint(double, double) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonPoint
-
Creates
GeoJsonPoint
for given coordinates. - GeoJsonPoint(Point) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonPoint
-
Creates
GeoJsonPoint
for givenPoint
. - GeoJsonPolygon - Class in org.springframework.data.mongodb.core.geo
-
GeoJson
representation ofPolygon
. - GeoJsonPolygon(List<Point>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonPolygon
-
Creates new
GeoJsonPolygon
from the givenPoint
s. - GeoJsonPolygon(Point, Point, Point, Point, Point...) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonPolygon
-
Creates new
GeoJsonPolygon
from the givenPoint
s. - geoNear(NearQuery, Class<?>, String, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- geoNear(NearQuery, Class<?>, String, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- geoNear(NearQuery, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Deprecated.since 2.2. The
eval
command has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)
instead. - geoNear(NearQuery, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- geoNear(NearQuery, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Deprecated.since 2.2. The
eval
command has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)
instead. - geoNear(NearQuery, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- geoNear(NearQuery, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Deprecated.since 2.2. The
eval
command has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)
instead. - geoNear(NearQuery, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- geoNear(NearQuery, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Deprecated.since 2.2. The
eval
command has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)
instead. - geoNear(NearQuery, Class<T>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- geoNear(NearQuery, String) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
- GeoNearOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Represents a
geoNear
aggregation operation. - GeoNearOperation(NearQuery, String) - Constructor for class org.springframework.data.mongodb.core.aggregation.GeoNearOperation
-
Creates a new
GeoNearOperation
from the givenNearQuery
and the given distance field. - GeospatialIndex - Class in org.springframework.data.mongodb.core.index
-
Value object to capture data to create a geo index.
- GeospatialIndex(String) - Constructor for class org.springframework.data.mongodb.core.index.GeospatialIndex
-
Creates a new
GeospatialIndex
for the given field. - GeoSpatialIndexed - Annotation Interface in org.springframework.data.mongodb.core.index
-
Mark a field to be indexed using MongoDB's geospatial indexing feature.
- GeoSpatialIndexType - Enum Class in org.springframework.data.mongodb.core.index
-
Geoposatial index type.
- get(int) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch
-
Get the value at a given index.
- get(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch
-
Get the value for a given key.
- get(String) - Method in class org.springframework.data.mongodb.core.MappedDocument
- get(Bson, String) - Static method in class org.springframework.data.mongodb.util.BsonUtils
- getAccesses() - Method in class org.springframework.data.mongodb.monitor.BtreeIndexCounters
- getActionOperation() - Method in exception org.springframework.data.mongodb.core.MongoDataIntegrityViolationException
-
Returns the
MongoActionOperation
in which the current exception occured. - getAllowDiskUse() - Method in class org.springframework.data.mongodb.core.query.Meta
-
When set to true, aggregation stages can write data to disk.
- getAnnotatedAggregation() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
-
Returns the aggregation pipeline declared in a
Aggregation
annotation. - getAnnotatedCollation() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
-
Get the collation value extracted from the
Query
orAggregation
annotation. - getAnnotatedSort() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
-
Get the sort value, used as default, extracted from the
Query
annotation. - getArgumentMap() - Method in class org.springframework.data.mongodb.core.spel.MethodReferenceNode.AggregationMethodReference
-
Get the property names in order order of appearance in resulting operation.
- getArgumentType() - Method in class org.springframework.data.mongodb.core.spel.MethodReferenceNode.AggregationMethodReference
-
Get the
MethodReferenceNode.AggregationMethodReference.ArgumentType
used by the MongoDB. - getArrayFilters() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
- getArrayFilters() - Method in class org.springframework.data.mongodb.core.query.Update
- getArrayFilters() - Method in interface org.springframework.data.mongodb.core.query.UpdateDefinition
-
Get the specification which elements to modify in an array field.
- getAssociation() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
- getAssociation() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
- getAssociationConverter() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
-
Return the
Converter
to use for creating the mapped key of an association. - getAvailable() - Method in class org.springframework.data.mongodb.monitor.ConnectionMetrics
- getAverageMs() - Method in class org.springframework.data.mongodb.monitor.BackgroundFlushingMetrics
- getBeanClass(Element) - Method in class org.springframework.data.mongodb.config.MongoAuditingBeanDefinitionParser
- getBindableValue(int) - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
- getBindableValue(int) - Method in interface org.springframework.data.mongodb.util.json.ValueProvider
- getBits() - Method in class org.springframework.data.mongodb.monitor.MemoryMetrics
- getBody() - Method in class org.springframework.data.mongodb.core.ChangeStreamEvent
-
Get the potentially converted
ChangeStreamDocument.getFullDocument()
. - getBody() - Method in interface org.springframework.data.mongodb.core.messaging.Message
-
The converted message body if available.
- getBodyBeforeChange() - Method in class org.springframework.data.mongodb.core.ChangeStreamEvent
-
Get the potentially converted
document
before being changed. - getBodyBeforeChange() - Method in interface org.springframework.data.mongodb.core.messaging.Message
-
The converted message body before change if available.
- getBsonTimestamp() - Method in class org.springframework.data.mongodb.core.ChangeStreamEvent
-
Get the
cluster time
. - getBsonType() - Method in enum class org.springframework.data.mongodb.core.mapping.FieldType
-
Returns the BSON type identifier.
- getCapped() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Get if the collection should be capped.
- getCaseFirst() - Method in interface org.springframework.data.mongodb.core.query.Collation.ComparisonLevel
- getCaseFirst() - Method in class org.springframework.data.mongodb.core.query.Collation.TertiaryICUComparisonLevel
- getCaseLevel() - Method in interface org.springframework.data.mongodb.core.query.Collation.ComparisonLevel
- getCaseLevel() - Method in class org.springframework.data.mongodb.core.query.Collation.TertiaryICUComparisonLevel
- getCenter() - Method in class org.springframework.data.mongodb.core.geo.Sphere
-
Returns the center of the
Circle
. - getChangeStreamOptions() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Get the
CollectionOptions.CollectionChangeStreamOptions
if available. - getChangeStreamOptions() - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestOptions
-
Get the
ChangeStreamOptions
defined. - getChild(int) - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
-
Returns the child
ExpressionNode
with the given index. - getChunkSize() - Method in class org.springframework.data.mongodb.gridfs.GridFsObject.Options
- getClassLoader() - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
- getCode() - Method in class org.springframework.data.mongodb.core.script.ExecutableMongoScript
-
Deprecated.Returns the actual script code.
- getCode() - Method in class org.springframework.data.mongodb.core.script.NamedMongoScript
-
Deprecated.Returns the actual script code.
- getCodecFor(Class<T>) - Method in interface org.springframework.data.mongodb.CodecRegistryProvider
-
Get the
Codec
registered for the given type or anempty Optional
instead. - getCodecRegistry() - Method in interface org.springframework.data.mongodb.CodecRegistryProvider
-
Get the underlying
CodecRegistry
used by the MongoDB Java driver. - getCodecRegistry() - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperationContext
- getCodecRegistry() - Method in class org.springframework.data.mongodb.core.aggregation.PrefixingDelegatingAggregationOperationContext
- getCodecRegistry() - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
- getCodecRegistry() - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- getCodecRegistry() - Method in interface org.springframework.data.mongodb.core.convert.MongoConverter
- getCodecRegistry() - Method in class org.springframework.data.mongodb.core.SimpleReactiveMongoDatabaseFactory
- getCodecRegistry() - Method in interface org.springframework.data.mongodb.MongoDatabaseFactory
-
Get the underlying
CodecRegistry
used by the MongoDB Java driver. - getCodecRegistry() - Method in interface org.springframework.data.mongodb.ReactiveMongoDatabaseFactory
-
Get the underlying
CodecRegistry
used by the reactive MongoDB Java driver. - getCodecRegistry() - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
- getCodecRegistry() - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
- getCodecRegistry() - Method in class org.springframework.data.mongodb.util.aggregation.TestAggregationContext
- getCollation() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Get collation settings for string comparison.
- getCollation() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions
- getCollation() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Get the
Collation
settings. - getCollation() - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
-
Get the
Collation
specifying language-specific rules for string comparison. - getCollation() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
-
Get collation information.
- getCollation() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
- getCollation() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentEntity
-
Returns the collation of the entity evaluating a potential SpEL expression within the current context.
- getCollation() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.Get the Collation specifying language-specific rules for string comparison.
- getCollation() - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Get the
Collation
to use along with theNearQuery.query(Query)
. - getCollation() - Method in class org.springframework.data.mongodb.core.query.Query
-
Get the
Collation
defining language-specific rules for string comparison. - getCollation() - Method in class org.springframework.data.mongodb.core.ViewOptions
-
Get the
Collation
to be set. - getCollation() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
- getCollation() - Method in interface org.springframework.data.mongodb.repository.query.MongoEntityInformation
-
Return the collation for the entity or null if
not defined
. - getCollation() - Method in interface org.springframework.data.mongodb.repository.query.MongoParameterAccessor
-
Returns the
Collation
to be used for the query. - getCollation() - Method in class org.springframework.data.mongodb.repository.query.MongoParametersParameterAccessor
- getCollation() - Method in class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
- getCollationParameterIndex() - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
-
Returns the index of the
Collation
parameter or -1 if not present. - getCollection() - Method in class org.springframework.data.mongodb.core.convert.ReferenceResolver.ReferenceCollection
-
Get the target collection name.
- getCollection() - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver.IndexDefinitionHolder
- getCollection() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
- getCollection() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentEntity
-
Returns the collection the entity shall be persisted to.
- getCollection(DBRef) - Method in class org.springframework.data.mongodb.core.convert.DefaultDbRefResolver
-
Customization hook for obtaining the
MongoCollection
for a givenDBRef
. - getCollection(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Get a
MongoCollection
by its name. - getCollection(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- getCollection(String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Get a
MongoCollection
by name. - getCollection(String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- getCollection(ReferenceResolver.ReferenceCollection) - Method in class org.springframework.data.mongodb.core.convert.DefaultDbRefResolver
- getCollection(ReferenceResolver.ReferenceCollection) - Method in class org.springframework.data.mongodb.core.convert.MongoDatabaseFactoryReferenceLoader
-
Obtain the
MongoCollection
for a givenReferenceResolver.ReferenceCollection
from the underlyingMongoDatabaseFactory
. - getCollectionEntity() - Method in interface org.springframework.data.mongodb.repository.query.MongoEntityMetadata
-
Returns the
MongoPersistentEntity
that supposed to determine the collection to be queried. - getCollectionName() - Method in class org.springframework.data.mongodb.core.ChangeStreamEvent
-
Get the collection name the event was originated at.
- getCollectionName() - Method in class org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent
-
Get the collection the event refers to.
- getCollectionName() - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestOptions
- getCollectionName() - Method in class org.springframework.data.mongodb.core.messaging.Message.MessageProperties
-
The collection name the message originates from.
- getCollectionName() - Method in interface org.springframework.data.mongodb.core.messaging.SubscriptionRequest.RequestOptions
-
Get the collection name.
- getCollectionName() - Method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest.TailableCursorRequestOptions
- getCollectionName() - Method in class org.springframework.data.mongodb.core.MongoAction
- getCollectionName() - Method in interface org.springframework.data.mongodb.repository.query.MongoEntityInformation
-
Returns the name of the collection the entity shall be persisted to.
- getCollectionName() - Method in interface org.springframework.data.mongodb.repository.query.MongoEntityMetadata
-
Returns the name of the collection the entity shall be persisted to.
- getCollectionName() - Method in class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
- getCollectionName(Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
The collection name used for the specified class by this template.
- getCollectionName(Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- getCollectionName(Class<?>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
The collection name used for the specified class by this template.
- getCollectionName(Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- getCollectionNames() - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
A set of collection names.
- getCollectionNames() - Method in class org.springframework.data.mongodb.core.MongoTemplate
- getCollectionNames() - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
A set of collection names.
- getCollectionNames() - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- getCommand() - Method in class org.springframework.data.mongodb.core.geo.Sphere
-
Returns the command to be used to create the $within criterion.
- getCommand() - Method in class org.springframework.data.mongodb.core.query.GeoCommand
- getCommandCount() - Method in class org.springframework.data.mongodb.monitor.OperationCounters
- getComment() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Get the comment for the aggregation.
- getComment() - Method in class org.springframework.data.mongodb.core.query.Meta
- getContent() - Method in interface org.springframework.data.mongodb.gridfs.GridFsObject
-
The actual file content.
- getContent() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
- getContent() - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload
- getContent() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsResource
- getContent() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload
- getContentType() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
-
Returns the
Resource
's content type. - getContext() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- getContextType() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader.Context
- getConversionContext(ObjectPath) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Creates a new
MappingMongoConverter.ConversionContext
givenObjectPath
. - getConversionService() - Method in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
- getConverter() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
- getConverter() - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns the underlying
MongoConverter
. - getConverter() - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Returns the default
MongoConverter
. - getConverter() - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Returns the underlying
MongoConverter
. - getConverter() - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Returns the default
MongoConverter
. - getCoordinates() - Method in interface org.springframework.data.mongodb.core.geo.GeoJson
-
The value of the coordinates member is always an
Iterable
. - getCoordinates() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonGeometryCollection
- getCoordinates() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonMultiLineString
- getCoordinates() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
- getCoordinates() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonMultiPolygon
- getCoordinates() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonPoint
-
Obtain the coordinates (x/longitude, y/latitude) array.
- getCoordinates() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonPolygon
- getCounts() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
-
Deprecated.
- getCriteria() - Method in class org.springframework.data.mongodb.core.query.Query
- getCriteriaObject() - Method in class org.springframework.data.mongodb.core.query.Criteria
- getCriteriaObject() - Method in interface org.springframework.data.mongodb.core.query.CriteriaDefinition
-
Get
Document
representation. - getCriteriaObject() - Method in class org.springframework.data.mongodb.core.query.TextCriteria
- getCurrent() - Method in class org.springframework.data.mongodb.monitor.ConnectionMetrics
- getCurrentNode() - Method in class org.springframework.data.mongodb.core.spel.ExpressionTransformationContextSupport
-
Returns the current
ExpressionNode
. - getCurrentQueueReaders() - Method in class org.springframework.data.mongodb.monitor.GlobalLockMetrics
- getCurrentQueueTotal() - Method in class org.springframework.data.mongodb.monitor.GlobalLockMetrics
- getCurrentQueueWriters() - Method in class org.springframework.data.mongodb.monitor.GlobalLockMetrics
- getCursor() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Specify a document that contains options that control the creation of the cursor object.
- getCursorBatchSize() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
The initial cursor batch size, if available, otherwise null.
- getCursorBatchSize() - Method in class org.springframework.data.mongodb.core.query.Meta
- getCustomConversions() - Method in interface org.springframework.data.mongodb.core.convert.MappingMongoConverter.ConversionContext
- getCustomConversions() - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter.DefaultConversionContext
- getCustomConversions() - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- getCustomConversions() - Method in interface org.springframework.data.mongodb.core.convert.MongoConverter
-
Returns the
CustomConversions
for this converter. - getDatabase() - Method in class org.springframework.data.mongodb.core.convert.ReferenceResolver.ReferenceCollection
-
Get the target database name.
- getDatabase(String, MongoDatabaseFactory) - Static method in class org.springframework.data.mongodb.MongoDatabaseUtils
- getDatabase(String, MongoDatabaseFactory, SessionSynchronization) - Static method in class org.springframework.data.mongodb.MongoDatabaseUtils
-
Obtain the
database
with given name form the givenfactory
. - getDatabase(String, ReactiveMongoDatabaseFactory) - Static method in class org.springframework.data.mongodb.ReactiveMongoDatabaseUtils
- getDatabase(String, ReactiveMongoDatabaseFactory, SessionSynchronization) - Static method in class org.springframework.data.mongodb.ReactiveMongoDatabaseUtils
-
Obtain the
database
with given name form the givenfactory
. - getDatabase(MongoDatabaseFactory) - Static method in class org.springframework.data.mongodb.MongoDatabaseUtils
- getDatabase(MongoDatabaseFactory, SessionSynchronization) - Static method in class org.springframework.data.mongodb.MongoDatabaseUtils
-
Obtain the default
database
form the givenfactory
. - getDatabase(ReactiveMongoDatabaseFactory) - Static method in class org.springframework.data.mongodb.ReactiveMongoDatabaseUtils
- getDatabase(ReactiveMongoDatabaseFactory, SessionSynchronization) - Static method in class org.springframework.data.mongodb.ReactiveMongoDatabaseUtils
-
Obtain the default
database
form the givenfactory
. - getDatabaseFactory() - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
-
Get the
ReactiveMongoDatabaseFactory
that this instance manages transactions for. - getDatabaseName() - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
-
Return the name of the database to connect to.
- getDatabaseName() - Method in class org.springframework.data.mongodb.core.ChangeStreamEvent
-
Get the database name the event was originated at.
- getDatabaseName() - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestOptions
- getDatabaseName() - Method in class org.springframework.data.mongodb.core.messaging.Message.MessageProperties
-
The database name the message originates from.
- getDatabaseName() - Method in interface org.springframework.data.mongodb.core.messaging.SubscriptionRequest.RequestOptions
-
Get the database name of the db.
- getDatabaseStats(String) - Method in class org.springframework.data.mongodb.core.MongoAdmin
- getDatabaseStats(String) - Method in interface org.springframework.data.mongodb.core.MongoAdminOperations
- getDb() - Method in class org.springframework.data.mongodb.core.MongoTemplate
- getDb(String) - Method in class org.springframework.data.mongodb.monitor.AbstractMonitor
- getDbFactory() - Method in class org.springframework.data.mongodb.MongoTransactionManager
-
Get the
MongoDatabaseFactory
that this instance manages transactions for. - getDBRef() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- getDBRef() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
- getDBRef() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns the
DBRef
if the property is a reference. - getDefaultDatabaseName() - Method in class org.springframework.data.mongodb.core.MongoDatabaseFactorySupport
- getDefaultStringMatcher() - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- getDefaultWriteConcern() - Method in class org.springframework.data.mongodb.core.MongoAction
- getDeleteCount() - Method in class org.springframework.data.mongodb.monitor.OperationCounters
- getDescription() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
- getDirection() - Method in class org.springframework.data.mongodb.core.index.IndexField
-
Returns the direction of the
IndexField
or null in case we have a geo index field. - getDirection() - Method in class org.springframework.data.mongodb.core.index.IndexPredicate
- getDistanceInMeters(Distance) - Static method in class org.springframework.data.mongodb.core.query.MetricConversion
-
Return
distance
in meters. - getDistanceRange() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
- getDistanceRange() - Method in interface org.springframework.data.mongodb.repository.query.MongoParameterAccessor
-
Returns a
Distance
to be applied to Mongo geo queries. - getDistanceRange() - Method in class org.springframework.data.mongodb.repository.query.MongoParametersParameterAccessor
- getDistanceRangeIndex() - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
- getDocument() - Method in class org.springframework.data.mongodb.core.MappedDocument
- getDocument() - Method in class org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent
- getDocument() - Method in class org.springframework.data.mongodb.core.mapping.ShardKey
-
Get the raw MongoDB representation of the
ShardKey
. - getDocument() - Method in class org.springframework.data.mongodb.core.MongoAction
- getDocumentId(Document) - Method in class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
- getDocumentReference() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- getDocumentReference() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns the
DocumentReference
if the property is a reference. - getDomainClass() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
- getDomainTypeMapping() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
- getDownloadStream() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsResource
-
Obtain the download stream emitting chunks of data as they come in.
- getDownloadStream(int) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsResource
-
Obtain the download stream emitting chunks of data with given
chunkSize
as they come in. - getEmitCount() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
-
Deprecated.
- getEmitLoopTime() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
-
Deprecated.
- getEncoderClass() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
- getEncryptionKeyIds() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
- getEncryptionKeyIds() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- getEncryptionKeyIds() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentEntity
- getEncryptionKeyIds() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
- getEntity() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
- getEntityInformation() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
- getEntityInformation(Class<T>) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
- getEntityInformation(Class<T>) - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactory
- getEntityType() - Method in class org.springframework.data.mongodb.core.MongoAction
- getErrorDescription(Integer) - Static method in class org.springframework.data.mongodb.util.MongoDbErrorCodes
- getErrors() - Method in exception org.springframework.data.mongodb.BulkOperationException
- getEvaluationContext() - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver
-
Get the default
EvaluationContext
. - getEvaluationContext(Object) - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
- getEvaluationContext(Object) - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
-
Obtain the
EvaluationContext
for a specific root object. - getEvaluationContext(Object, ExpressionDependencies) - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
- getExceptionTranslator() - Method in class org.springframework.data.mongodb.core.MongoDatabaseFactorySupport
- getExceptionTranslator() - Method in class org.springframework.data.mongodb.core.MongoTemplate
- getExceptionTranslator() - Method in class org.springframework.data.mongodb.core.SimpleReactiveMongoDatabaseFactory
- getExceptionTranslator() - Method in interface org.springframework.data.mongodb.MongoDatabaseFactory
-
Exposes a shared
MongoExceptionTranslator
. - getExceptionTranslator() - Method in interface org.springframework.data.mongodb.ReactiveMongoDatabaseFactory
-
Exposes a shared
MongoExceptionTranslator
. - getExpireAfter() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
-
Get the duration after which documents within the index expire.
- getExposedField() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.Output
-
Returns the field exposed by the
BucketOperationSupport.Output
. - getFactoryInstance(MongoOperations) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
-
Creates and initializes a
RepositoryFactorySupport
instance. - getFactoryInstance(ReactiveMongoOperations) - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactoryBean
-
Creates and initializes a
RepositoryFactorySupport
instance. - getFallbackTypeFor(Bson) - Method in class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
- getField() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OperationOutput
-
Returns the field that holds the
ProjectionOperation.ProjectionOperationBuilder.OperationProjection
. - getField(String) - Method in class org.springframework.data.mongodb.core.aggregation.ExposedFields
-
Returns the field with the given name or null if no field with the given name is available.
- getField(String) - Method in class org.springframework.data.mongodb.core.aggregation.Fields
- getField(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.GetField
-
Creates new
aggregation expression
that takes the value pointed to by givenfieldName
. - getField(String) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and obtains the value of the field with matching name. - getField(Field) - Static method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.GetField
-
Creates new
aggregation expression
that takes the value pointed to by givenField
. - GetField(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.ObjectOperators.GetField
- getFieldname() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexedFieldSpec
-
Get the fieldname associated with the
TextIndexDefinition.TextIndexedFieldSpec
. - getFieldName() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
-
Returns the key to be used to store the value of the property inside a Mongo
Document
. - getFieldName() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
- getFieldName() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns the name of the field a property is persisted to.
- getFieldOrder() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- getFieldOrder() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns the order of the field if defined.
- getFields() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport
- getFields() - Method in class org.springframework.data.mongodb.core.aggregation.CountOperation
- getFields() - Method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation
- getFields() - Method in class org.springframework.data.mongodb.core.aggregation.FacetOperation
- getFields() - Method in interface org.springframework.data.mongodb.core.aggregation.FieldsExposingAggregationOperation
-
Returns the fields exposed by the
AggregationOperation
. - getFields() - Method in class org.springframework.data.mongodb.core.aggregation.GraphLookupOperation
- getFields() - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
- getFields() - Method in class org.springframework.data.mongodb.core.aggregation.LookupOperation
- getFields() - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation
- getFields() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
- getFields() - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation
- getFields() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation
- getFields() - Method in class org.springframework.data.mongodb.core.aggregation.UnsetOperation
- getFields() - Method in class org.springframework.data.mongodb.core.aggregation.UnwindOperation
- getFields(Class<?>) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperationContext
-
Returns the
Fields
exposed by the type. - getFields(Class<?>) - Method in class org.springframework.data.mongodb.core.aggregation.PrefixingDelegatingAggregationOperationContext
- getFields(Class<?>) - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
- getFieldsObject() - Method in class org.springframework.data.mongodb.core.query.BasicQuery
- getFieldsObject() - Method in class org.springframework.data.mongodb.core.query.Field
- getFieldsObject() - Method in class org.springframework.data.mongodb.core.query.Query
- getFieldsObject() - Method in class org.springframework.data.mongodb.core.query.TextQuery
- getFieldType() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
- getFieldType() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
- getFieldType() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- getFieldType() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
- getFieldType() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns the
Java FieldType
of the field a property is persisted to. - getFileId() - Method in interface org.springframework.data.mongodb.gridfs.GridFsObject
-
The
GridFSFile.getId()
value converted into its simple java type. - getFileId() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
- getFileId() - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload
-
The
GridFSFile.getId()
value converted into its simple java type. - getFileId() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsResource
- getFileId() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload
-
The
GridFSFile.getId()
value converted into its simple java type. - getFilename() - Method in interface org.springframework.data.mongodb.gridfs.GridFsObject
-
The filename.
- getFilename() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
- getFilename() - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload
- getFilename() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsResource
- getFilename() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload
- getFilter() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions
- getFilterObject() - Method in interface org.springframework.data.mongodb.core.index.IndexFilter
-
Get the raw (unmapped) filter expression.
- getFilterObject() - Method in class org.springframework.data.mongodb.core.index.PartialIndexFilter
- getFinalizeFunction() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.
- getFlags() - Method in class org.springframework.data.mongodb.core.query.Meta
- getFlushes() - Method in class org.springframework.data.mongodb.monitor.BackgroundFlushingMetrics
- getFormatted() - Method in class org.springframework.data.mongodb.core.query.Term
-
Get formatted representation of term.
- getFullDocumentBeforeChangeLookup() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions
- getFullDocumentLookup() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions
- getFullText() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
- getFullText() - Method in interface org.springframework.data.mongodb.repository.query.MongoParameterAccessor
-
Returns the
TextCriteria
to be used for full text query. - getFullText() - Method in class org.springframework.data.mongodb.repository.query.MongoParametersParameterAccessor
- getFullTextParameterIndex() - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
-
Returns the index of the parameter to be used as a textquery param
- getGeoNearLocation() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
- getGeoNearLocation() - Method in interface org.springframework.data.mongodb.repository.query.MongoParameterAccessor
-
Returns the
Point
to use for a geo-near query. - getGeoNearLocation() - Method in class org.springframework.data.mongodb.repository.query.MongoParametersParameterAccessor
- getGetMoreCount() - Method in class org.springframework.data.mongodb.monitor.OperationCounters
- getGranularity() - Method in class org.springframework.data.mongodb.core.CollectionOptions.TimeSeriesOptions
- getGridFSFile() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
- getGridFSFile() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsResource
- getHint() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Get the hint used to to fulfill the aggregation.
- getHint() - Method in class org.springframework.data.mongodb.core.query.Query
- getHits() - Method in class org.springframework.data.mongodb.monitor.BtreeIndexCounters
- getHostName() - Method in class org.springframework.data.mongodb.monitor.ServerInfo
-
Returns the hostname of the used server reported by MongoDB.
- getId() - Method in class org.springframework.data.mongodb.core.MappedDocument
- getId() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
-
Returns the
Resource
's id. - getId(Class<T>) - Method in class org.springframework.data.mongodb.core.MappedDocument
- getIdAttribute() - Method in interface org.springframework.data.mongodb.repository.query.MongoEntityInformation
-
Returns the attribute that the id will be persisted to.
- getIdAttribute() - Method in class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
- getIdentifier() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
- getIdentifier() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty
- getIdentifier() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.RequiredJsonSchemaProperty
- getIdentifier() - Method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
The identifier can be either the property name or the regex expression properties have to match when used along with
TypedJsonSchemaObject.ObjectJsonSchemaObject.patternProperties(JsonSchemaProperty...)
. - getIdentifyingAnnotations() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
- getIdentifyingTypes() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
- getIdentifyingTypes() - Method in class org.springframework.data.mongodb.repository.config.ReactiveMongoRepositoryConfigurationExtension
- getIdFilter() - Method in class org.springframework.data.mongodb.core.MappedDocument
- getIdIn(Collection<?>) - Static method in class org.springframework.data.mongodb.core.MappedDocument
- getIdOnlyProjection() - Static method in class org.springframework.data.mongodb.core.MappedDocument
- getIds(Class<?>, Predicate) - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
-
Fetch the list of ids matching a given condition.
- getIdType() - Method in class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
- getIgnoredPaths() - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- getIndexDefinition() - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver.IndexDefinitionHolder
-
Get the raw
IndexDefinition
. - getIndexFields() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
-
Returns the individual index fields of the index.
- getIndexInfo() - Method in class org.springframework.data.mongodb.core.DefaultIndexOperations
- getIndexInfo() - Method in class org.springframework.data.mongodb.core.DefaultReactiveIndexOperations
- getIndexInfo() - Method in interface org.springframework.data.mongodb.core.index.IndexOperations
-
Returns the index information on the collection.
- getIndexInfo() - Method in interface org.springframework.data.mongodb.core.index.ReactiveIndexOperations
-
Returns the index information on the collection.
- getIndexKeys() - Method in class org.springframework.data.mongodb.core.index.CompoundIndexDefinition
- getIndexKeys() - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
- getIndexKeys() - Method in class org.springframework.data.mongodb.core.index.HashedIndex
- getIndexKeys() - Method in class org.springframework.data.mongodb.core.index.Index
- getIndexKeys() - Method in interface org.springframework.data.mongodb.core.index.IndexDefinition
-
Get the
Document
containing properties covered by the index. - getIndexKeys() - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver.IndexDefinitionHolder
- getIndexKeys() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition
- getIndexKeys() - Method in class org.springframework.data.mongodb.core.index.WildcardIndex
- getIndexOptions() - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
- getIndexOptions() - Method in class org.springframework.data.mongodb.core.index.HashedIndex
- getIndexOptions() - Method in class org.springframework.data.mongodb.core.index.Index
- getIndexOptions() - Method in interface org.springframework.data.mongodb.core.index.IndexDefinition
-
Get the index properties such as unique,...
- getIndexOptions() - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver.IndexDefinitionHolder
- getIndexOptions() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition
- getIndexOptions() - Method in class org.springframework.data.mongodb.core.index.WildcardIndex
- getInitialEntitySet() - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
-
Scans the mapping base package for classes annotated with
Document
. - getInputCount() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
-
Deprecated.
- getInputStream() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
- getInputStream() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsResource
-
Obtain the data as
InputStream
. - getInputType() - Method in class org.springframework.data.mongodb.core.aggregation.TypedAggregation
-
Returns the input type for the
Aggregation
. - getInsertCount() - Method in class org.springframework.data.mongodb.monitor.OperationCounters
- getJavaClass() - Method in enum class org.springframework.data.mongodb.core.mapping.FieldType
-
Returns the Java class used to represent the type.
- getJavaScriptMode() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.
- getKey() - Method in class org.springframework.data.mongodb.core.index.IndexField
- getKey() - Method in class org.springframework.data.mongodb.core.query.Criteria
- getKey() - Method in interface org.springframework.data.mongodb.core.query.CriteriaDefinition
-
Get the identifying key.
- getKey() - Method in class org.springframework.data.mongodb.core.query.TextCriteria
- getKey() - Method in interface org.springframework.data.mongodb.core.query.Update.Modifier
- getLanguage() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
- getLanguage() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
- getLanguage() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentEntity
-
Returns the default language to be used for this entity.
- getLastFinished() - Method in class org.springframework.data.mongodb.monitor.BackgroundFlushingMetrics
- getLastMs() - Method in class org.springframework.data.mongodb.monitor.BackgroundFlushingMetrics
- getLeft() - Method in class org.springframework.data.mongodb.core.spel.OperatorNode
-
Returns the left operand as
ExpressionNode
. - getLevel() - Method in interface org.springframework.data.mongodb.core.query.Collation.ComparisonLevel
- getLevel() - Method in class org.springframework.data.mongodb.core.query.Collation.TertiaryICUComparisonLevel
- getLimit() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.Get the maximum number of documents for the input into the map function.
- getLimit() - Method in class org.springframework.data.mongodb.core.query.Query
-
Get the maximum number of documents to be return.
- getLocalTime() - Method in class org.springframework.data.mongodb.monitor.ServerInfo
- getLockTime() - Method in class org.springframework.data.mongodb.monitor.GlobalLockMetrics
- getLockTimeRatio() - Method in class org.springframework.data.mongodb.monitor.GlobalLockMetrics
- getLower() - Method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.Window
-
The lower (inclusive) boundary.
- getLower() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindow
- getMappedExample(Example<?>) - Method in class org.springframework.data.mongodb.core.convert.MongoExampleMapper
-
Returns the given
Example
asDocument
holding matching values extracted fromExample.getProbe()
. - getMappedExample(Example<?>, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.MongoExampleMapper
-
Returns the given
Example
asDocument
holding matching values extracted fromExample.getProbe()
. - getMappedFields(Document, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Maps fields to retrieve to the
MongoPersistentEntity
s properties. - getMappedKey() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
-
Returns the key to be used in the mapped document eventually.
- getMappedKey() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
- getMappedKeyword(QueryMapper.Field, QueryMapper.Keyword) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Returns the mapped keyword considered defining a criteria for the given property.
- getMappedKeyword(QueryMapper.Keyword, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Returns the given
Document
representing a keyword by mapping the keyword's value. - getMappedObject(Bson, Optional<? extends MongoPersistentEntity<?>>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
- getMappedObject(Bson, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Replaces the property keys used in the given
Document
with the appropriate keys by using thePersistentEntity
metadata. - getMappedObject(Bson, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.UpdateMapper
- getMappedObject(Document) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperationContext
-
Returns the mapped
Document
, potentially converting the source considering mapping metadata etc. - getMappedObject(Document) - Method in class org.springframework.data.mongodb.core.aggregation.PrefixingDelegatingAggregationOperationContext
- getMappedObject(Document) - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
- getMappedObject(Document, Class<?>) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperationContext
-
Returns the mapped
Document
, potentially converting the source considering mapping metadata for the given type. - getMappedObject(Document, Class<?>) - Method in class org.springframework.data.mongodb.core.aggregation.PrefixingDelegatingAggregationOperationContext
- getMappedObject(Document, Class<?>) - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
- getMappedObject(Document, Class<?>) - Method in class org.springframework.data.mongodb.util.aggregation.TestAggregationContext
- getMappedObjectForField(QueryMapper.Field, Object) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Extracts the mapped object value for given field out of rawValue taking nested
QueryMapper.Keyword
s into account - getMappedObjectForField(QueryMapper.Field, Object) - Method in class org.springframework.data.mongodb.core.convert.UpdateMapper
- getMappedQuery(Document) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
- getMappedResults() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationResults
-
Returns the aggregation results.
- getMappedSort(Document, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Maps fields used for sorting to the
MongoPersistentEntity
s properties. - getMappedValue(QueryMapper.Field, Object) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Returns the mapped value for the given source object assuming it's a value for the given
MongoPersistentProperty
. - getMappingBasePackages() - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
-
Returns the base packages to scan for MongoDB mapped entities at startup.
- getMappingContext() - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- getMappingContext() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
- getMappingContext() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
- getMapReduceAction() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.Return the
MapReduceAction
. - getMapTime() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
-
Deprecated.
- getMark() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- getMatchMode() - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- getMaxDistance() - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Returns the maximum
Distance
. - getMaxDistanceIndex() - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
-
Returns the index of the
Distance
parameter to be used for max distance in geo queries. - getMaxDocuments() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Get the max number of documents the collection should be limited to.
- getMaxTime() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
- getMaxTimeMsec() - Method in class org.springframework.data.mongodb.core.query.Meta
- getMemoryInfoSupported() - Method in class org.springframework.data.mongodb.monitor.MemoryMetrics
- getMemoryMappedSpace() - Method in class org.springframework.data.mongodb.monitor.MemoryMetrics
- getMessage() - Method in exception org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver.CyclicPropertyReferenceException
- getMessageListener() - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest
- getMessageListener() - Method in interface org.springframework.data.mongodb.core.messaging.SubscriptionRequest
-
Obtain the
MessageListener
to publishmessages
to. - getMessageListener() - Method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest
- getMeta() - Method in class org.springframework.data.mongodb.core.query.Query
- getMetadata() - Method in class org.springframework.data.mongodb.gridfs.GridFsObject.Options
- getMetaField() - Method in class org.springframework.data.mongodb.core.CollectionOptions.TimeSeriesOptions
- getMetersToMetricMultiplier(Metric) - Static method in class org.springframework.data.mongodb.core.query.MetricConversion
-
Return meters to
metric
multiplier. - getMethodReference() - Method in class org.springframework.data.mongodb.core.spel.MethodReferenceNode
-
Return the
MethodReferenceNode.AggregationMethodReference
. - getMetric() - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Returns the
Metric
underlying the actual query. - getMinDistance() - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Returns the maximum
Distance
. - getMisses() - Method in class org.springframework.data.mongodb.monitor.BtreeIndexCounters
- getMissRatio() - Method in class org.springframework.data.mongodb.monitor.BtreeIndexCounters
- getModifiers() - Method in class org.springframework.data.mongodb.core.query.Update.Modifiers
- getModuleIdentifier() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
- getModuleName() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
- getModuleName() - Method in class org.springframework.data.mongodb.repository.config.ReactiveMongoRepositoryConfigurationExtension
- getModulePrefix() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
- getMongoActionOperation() - Method in class org.springframework.data.mongodb.core.MongoAction
- getMongoClient() - Method in class org.springframework.data.mongodb.core.MongoDatabaseFactorySupport
- getMongoClient() - Method in class org.springframework.data.mongodb.monitor.AbstractMonitor
- getMongoDatabase() - Method in class org.springframework.data.mongodb.core.MongoDatabaseFactorySupport
- getMongoDatabase() - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- getMongoDatabase() - Method in class org.springframework.data.mongodb.core.SimpleReactiveMongoDatabaseFactory
- getMongoDatabase() - Method in interface org.springframework.data.mongodb.MongoDatabaseFactory
-
Obtain a
MongoDatabase
from the underlying factory. - getMongoDatabase() - Method in interface org.springframework.data.mongodb.ReactiveMongoDatabaseFactory
-
Creates a default
MongoDatabase
instance. - getMongoDatabase(String) - Method in class org.springframework.data.mongodb.core.MongoDatabaseFactorySupport
- getMongoDatabase(String) - Method in class org.springframework.data.mongodb.core.SimpleReactiveMongoDatabaseFactory
- getMongoDatabase(String) - Method in interface org.springframework.data.mongodb.MongoDatabaseFactory
-
Obtain a
MongoDatabase
instance to access the database with the given name. - getMongoDatabase(String) - Method in interface org.springframework.data.mongodb.ReactiveMongoDatabaseFactory
-
Obtain a
MongoDatabase
instance to access the database with the given name. - getMongoDatabaseFactory() - Method in class org.springframework.data.mongodb.core.MongoTemplate
- getMongoDatabaseFactory() - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.TimezonedDateAggregationExpression
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Avg
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.CovariancePop
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.CovarianceSamp
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.ExpMovingAvg
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Max
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Min
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.StdDevPop
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.StdDevSamp
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Sum
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Abs
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ACos
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ACosh
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Add
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ASin
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ASinh
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ATan
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ATan2
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ATanh
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Ceil
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cos
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Cosh
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Derivative
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Divide
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Exp
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Floor
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Integral
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Ln
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Log
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Log10
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Mod
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Multiply
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Pow
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Round
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sin
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sinh
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sqrt
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Subtract
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tan
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tanh
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Trunc
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayElemAt
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayToObject
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ConcatArrays
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.First
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.In
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.IndexOfArray
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.IsArray
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Last
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.RangeOperator
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ReverseArray
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Size
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Slice
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.SortArray
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Zip
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.And
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.Not
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.Or
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Cmp
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Eq
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Gt
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Gte
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Lt
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Lte
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Ne
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.DegreesToRadians
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToBool
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToDate
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToDecimal
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToDouble
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToInt
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToLong
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToObjectId
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToString
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DataTypeOperators.Type
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateAdd
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateDiff
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromString
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateSubtract
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToParts
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToString
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateTrunc
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfMonth
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfWeek
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfYear
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Hour
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDayOfWeek
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoWeek
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoWeekYear
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Millisecond
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Minute
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Month
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Second
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.TsIncrement
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.TsSecond
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Week
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Year
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.EvaluationOperators.Expr
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.EvaluationOperators.LastObservationCarriedForward
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.LiteralOperators.Literal
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.GetField
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.MergeObjects
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectToArray
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.SetField
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.ScriptOperators.Function
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Bottom
-
In case a limit value (n) is present $bottomN is used instead of $bottom.
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.First
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Last
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Top
-
In case a limit value (n) is present $topN is used instead of $top.
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.AllElementsTrue
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.AnyElementTrue
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetDifference
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetEquals
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetIntersection
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetIsSubset
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetUnion
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Concat
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfBytes
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfCP
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.LTrim
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFindAll
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexMatch
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceAll
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceOne
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RTrim
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Split
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrCaseCmp
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrLenBytes
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrLenCP
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Substr
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.SubstrCP
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ToLower
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ToUpper
- getMongoMethod() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Trim
- getMongoMode() - Method in enum class org.springframework.data.mongodb.core.aggregation.OutOperation.OutMode
- getMongoOperator() - Method in class org.springframework.data.mongodb.core.spel.MethodReferenceNode.AggregationMethodReference
-
Get the MongoDB specific operator.
- getMongoOperator() - Method in class org.springframework.data.mongodb.core.spel.NotOperatorNode
- getMongoOperator() - Method in class org.springframework.data.mongodb.core.spel.OperatorNode
-
Returns the Mongo expression of the operator.
- getMongoRepresentation() - Method in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- getMongoRepresentation() - Method in interface org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularity
- getMsg() - Method in class org.springframework.data.mongodb.monitor.AssertMetrics
- getName() - Method in interface org.springframework.data.mongodb.core.aggregation.Field
-
Returns the name of the field.
- getName() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.ComputedField
- getName() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
- getName() - Method in class org.springframework.data.mongodb.core.index.IndexPredicate
- getName() - Method in class org.springframework.data.mongodb.core.script.NamedMongoScript
-
Deprecated.Returns the name of the script.
- getName() - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
-
Returns the name of the
ExpressionNode
. - getNearIndex() - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
-
Returns the index of the parameter to be used to start a geo-near query from.
- getNullHandler() - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- getObject() - Method in class org.springframework.data.mongodb.config.PersistentEntitiesFactoryBean
- getObject() - Method in class org.springframework.data.mongodb.core.MongoEncryptionSettingsFactoryBean
- getObject() - Method in class org.springframework.data.mongodb.core.MongoServerApiFactoryBean
- getObjectType() - Method in class org.springframework.data.mongodb.config.PersistentEntitiesFactoryBean
- getObjectType() - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
- getObjectType() - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- getObjectType() - Method in class org.springframework.data.mongodb.core.MongoEncryptionSettingsFactoryBean
- getObjectType() - Method in class org.springframework.data.mongodb.core.MongoServerApiFactoryBean
- getObjectType() - Method in class org.springframework.data.mongodb.core.ReactiveMongoClientFactoryBean
- getOperationArguments(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OperationOutput
- getOperations() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationPipeline
-
Get the list of
aggregation stages
. - getOperationType() - Method in class org.springframework.data.mongodb.core.ChangeStreamEvent
-
Get the
operation type
for this event. - getOperator() - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperation
-
Return the MongoDB operator that is used for this
AggregationOperation
. - getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.CountOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.FacetOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.GeoNearOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.GraphLookupOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.LimitOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.LookupOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.MatchOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.OutOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.SampleOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.SkipOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.SortByCountOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.SortOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.UnionWithOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.UnsetOperation
- getOperator() - Method in class org.springframework.data.mongodb.core.aggregation.UnwindOperation
- getOptions() - Method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Get the
AggregationOptions
. - getOptions() - Method in interface org.springframework.data.mongodb.gridfs.GridFsObject
-
Additional information like file metadata (eg. contentType).
- getOptions() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
- getOptions() - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload
- getOptions() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsResource
- getOptions() - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload
- getOptionsObject() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.
- getOrder() - Method in class org.springframework.data.mongodb.core.mapping.event.AuditingEntityCallback
- getOrder() - Method in class org.springframework.data.mongodb.core.mapping.event.ReactiveAuditingEntityCallback
- getOutputCollection() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.
- getOutputCollection() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
-
Deprecated.
- getOutputCount() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
-
Deprecated.
- getOutputDatabase() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.
- getOutputSharded() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.
- getPageable() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
- getParameterBindingCodec() - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
-
Obtain the
ParameterBindingDocumentCodec
used for parsing JSON expressions. - getParameterBindingCodec() - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
Obtain the
ParameterBindingDocumentCodec
used for parsing JSON expressions. - getParameters() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
- getParentContext() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader.Context
- getParentNode() - Method in class org.springframework.data.mongodb.core.spel.ExpressionTransformationContextSupport
-
Returns the parent
ExpressionNode
or null if none available. - getPartialFilterExpression() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
- getPath() - Method in interface org.springframework.data.mongodb.core.convert.MappingMongoConverter.ConversionContext
- getPath() - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter.DefaultConversionContext
- getPath() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
- getPath() - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver.IndexDefinitionHolder
-
Get the "dot" path used to create the index.
- getPath() - Method in interface org.springframework.data.mongodb.core.MongoJsonSchemaCreator.JsonSchemaPropertyContext
-
The path to a given field/property in dot notation.
- getPersistentEntity(MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.mapping.MongoMappingContext
- getPhase() - Method in class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
- getPipeline() - Method in class org.springframework.data.mongodb.core.aggregation.Aggregation
- getPointer() - Method in interface org.springframework.data.mongodb.core.mapping.DocumentPointer
-
The actual pointer value.
- getPotentiallyConvertedSimpleRead(Object, TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Checks whether we have a custom conversion for the given simple object.
- getPreAndPostImages() - Method in class org.springframework.data.mongodb.core.CollectionOptions.CollectionChangeStreamOptions
- getPreferredCollectionName(Class<?>) - Static method in class org.springframework.data.mongodb.MongoCollectionUtils
-
Obtains the collection name to use for the provided class
- getPreviousOperationObject() - Method in class org.springframework.data.mongodb.core.spel.ExpressionTransformationContextSupport
-
Returns the previously accumulated operation object or null if none available.
- getProjectionFactory() - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- getProjectionFactory() - Method in interface org.springframework.data.mongodb.core.convert.MongoConverter
-
Returns the
ProjectionFactory
for this converter. - getProjectionFactory(ClassLoader, BeanFactory) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
- getProjectionFactory(ClassLoader, BeanFactory) - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactory
- getProperties() - Method in interface org.springframework.data.mongodb.core.messaging.Message
-
Message.MessageProperties
containing information about theMessage
origin and other metadata. - getProperties() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- getProperties() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
- getProperty() - Method in class org.springframework.data.mongodb.core.convert.MongoConversionContext
- getProperty() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
-
Returns the underlying
MongoPersistentProperty
backing the field. - getProperty() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
- getProperty() - Method in interface org.springframework.data.mongodb.core.MongoJsonSchemaCreator.JsonSchemaPropertyContext
-
The current property.
- getPropertyConverter() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
-
Return the
Converter
to be used to created the mapped key. - getPropertyEntity() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
-
Returns the
MongoPersistentEntity
that field is conatined in. - getPropertyEntity() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
- getPropertyNames() - Method in class org.springframework.data.mongodb.core.mapping.ShardKey
- getPropertySpecifiers() - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- getQuery() - Method in interface org.springframework.data.mongodb.core.convert.ReferenceLoader.DocumentReferenceQuery
-
Get the query to obtain matching
documents
. - getQuery() - Method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest.TailableCursorRequestOptions
- getQuery() - Method in class org.springframework.data.mongodb.core.MongoAction
- getQueryCount() - Method in class org.springframework.data.mongodb.monitor.OperationCounters
- getQueryLookupStrategy(QueryLookupStrategy.Key, QueryMethodEvaluationContextProvider) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
- getQueryLookupStrategy(QueryLookupStrategy.Key, QueryMethodEvaluationContextProvider) - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactory
- getQueryMetaAttributes() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
-
Returns the
Meta
attributes to be applied. - getQueryMethod() - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
- getQueryMethod() - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
- getQueryObject() - Method in class org.springframework.data.mongodb.core.query.BasicQuery
- getQueryObject() - Method in class org.springframework.data.mongodb.core.query.Query
- getRadius() - Method in class org.springframework.data.mongodb.core.geo.Sphere
-
Returns the radius of the
Circle
. - getRangeIndex() - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
- getRaw() - Method in interface org.springframework.data.mongodb.core.aggregation.ExposedFields.FieldReference
-
Returns the raw, unqualified reference, i.e. the field reference without a $ prefix.
- getRaw() - Method in class org.springframework.data.mongodb.core.ChangeStreamEvent
-
Get the raw
ChangeStreamDocument
as emitted by the driver. - getRaw() - Method in interface org.springframework.data.mongodb.core.messaging.Message
-
The raw message source as emitted by the origin.
- getRawResults() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationResults
-
Returns the raw result that was returned by the server.
- getRawResults() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
-
Deprecated.
- getReadPreference() - Method in interface org.springframework.data.mongodb.core.CursorPreparer
- getReadPreference() - Method in interface org.springframework.data.mongodb.core.FindPublisherPreparer
- getReadPreference() - Method in interface org.springframework.data.mongodb.core.ReadPreferenceAware
- getReference(String) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperationContext
-
Returns the
ExposedFields.FieldReference
for the field with the given name. - getReference(String) - Method in class org.springframework.data.mongodb.core.aggregation.PrefixingDelegatingAggregationOperationContext
- getReference(String) - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
- getReference(String) - Method in class org.springframework.data.mongodb.util.aggregation.TestAggregationContext
- getReference(Field) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperationContext
-
Returns a
ExposedFields.FieldReference
for the given field. - getReference(Field) - Method in class org.springframework.data.mongodb.core.aggregation.PrefixingDelegatingAggregationOperationContext
- getReference(Field) - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
- getReference(Field) - Method in class org.springframework.data.mongodb.util.aggregation.TestAggregationContext
- getReferenceFor(Field) - Method in class org.springframework.data.mongodb.core.aggregation.RelaxedTypeBasedAggregationOperationContext
- getReferenceFor(Field) - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
- getReferenceLoader() - Method in class org.springframework.data.mongodb.core.convert.DefaultReferenceResolver
-
The
ReferenceLoader
executing the lookup. - getReferenceValue() - Method in interface org.springframework.data.mongodb.core.aggregation.ExposedFields.FieldReference
-
Returns the reference value for the given field reference.
- getRegular() - Method in class org.springframework.data.mongodb.monitor.AssertMetrics
- getReplacement() - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation
-
Obtain the
ReplaceRootOperation.Replacement
. - getRepositoryAotProcessor() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
- getRepositoryBaseClass(RepositoryMetadata) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
- getRepositoryBaseClass(RepositoryMetadata) - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactory
- getRepositoryFactoryBeanClassName() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
- getRepositoryFactoryClassName() - Method in class org.springframework.data.mongodb.repository.config.ReactiveMongoRepositoryConfigurationExtension
- getRepositoryFragments(RepositoryMetadata) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
- getRepositoryFragments(RepositoryMetadata) - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactory
- getRepositoryFragments(RepositoryMetadata, MongoOperations) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
-
Creates
RepositoryComposition.RepositoryFragments
based onRepositoryMetadata
to add Mongo-specific extensions. - getRequestOptions() - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest
- getRequestOptions() - Method in interface org.springframework.data.mongodb.core.messaging.SubscriptionRequest
-
Get the
SubscriptionRequest.RequestOptions
specifying the requests behaviour. - getRequestOptions() - Method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest
- getRequiredComment() - Method in class org.springframework.data.mongodb.core.query.Meta
-
Returns the required comment or throws
IllegalStateException
if the comment is not set. - getRequiredMaxTimeMsec() - Method in class org.springframework.data.mongodb.core.query.Meta
-
Returns the required maximum time limit in milliseconds or throws
IllegalStateException
if the maximum time limit is not set. - getResets() - Method in class org.springframework.data.mongodb.monitor.BtreeIndexCounters
- getResidentSpace() - Method in class org.springframework.data.mongodb.monitor.MemoryMetrics
- getResource(GridFSFile) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Returns the
GridFsResource
for aGridFSFile
. - getResource(GridFSFile) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
- getResource(GridFSFile) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
- getResource(GridFSFile) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
- getResource(String) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Returns the
GridFsResource
with the given file name. - getResource(String) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
- getResource(String) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Returns a
Mono
emitting theReactiveGridFsResource
with the given file name. - getResource(String) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
- getResourceFactory() - Method in class org.springframework.data.mongodb.MongoTransactionManager
- getResources(String) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Returns all
GridFsResource
s matching the given file name pattern. - getResources(String) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
- getResources(String) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Returns a
Flux
emitting allReactiveGridFsResource
s matching the given file name pattern. - getResources(String) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
- getRestrictedTypes() - Method in class org.springframework.data.mongodb.core.query.Query
- getResult() - Method in exception org.springframework.data.mongodb.BulkOperationException
- getResumeBsonTimestamp() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions
- getResumeTimestamp() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions
- getResumeToken() - Method in class org.springframework.data.mongodb.core.ChangeStreamEvent
-
Get the
resume token
for this event. - getResumeToken() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions
- getRight() - Method in class org.springframework.data.mongodb.core.spel.OperatorNode
-
Returns the right operand as
ExpressionNode
. - getRollovers() - Method in class org.springframework.data.mongodb.monitor.AssertMetrics
- getScopeVariables() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.
- getScoreFieldName() - Method in class org.springframework.data.mongodb.core.query.TextQuery
-
Get the fieldname used for scoring
- getScript() - Method in class org.springframework.data.mongodb.core.script.NamedMongoScript
-
Deprecated.Returns the underlying
ExecutableMongoScript
. - getScriptNames() - Method in interface org.springframework.data.mongodb.core.ScriptOperations
-
Deprecated.Returns names of JavaScript functions that can be called.
- getSelf() - Method in class org.springframework.data.mongodb.core.convert.DocumentReferenceSource
-
Get the outer document.
- getServerStatus() - Method in class org.springframework.data.mongodb.core.MongoAdmin
- getServerStatus() - Method in class org.springframework.data.mongodb.monitor.AbstractMonitor
- getServerUsed() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationResults
-
Returns the server that has been used to perform the aggregation.
- getSession() - Static method in class org.springframework.data.mongodb.core.ReactiveMongoContext
-
Gets the
Mono<ClientSession>
from ReactorContext
. - getSession() - Method in class org.springframework.data.mongodb.MongoTransactionManager.MongoTransactionObject
- getSession() - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager.ReactiveMongoTransactionObject
- getSession(ClientSessionOptions) - Method in class org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory
- getSession(ClientSessionOptions) - Method in class org.springframework.data.mongodb.core.SimpleReactiveMongoDatabaseFactory
- getSession(ClientSessionOptions) - Method in interface org.springframework.data.mongodb.MongoDatabaseFactory
-
Obtain a
ClientSession
for given ClientSessionOptions. - getSession(ClientSessionOptions) - Method in interface org.springframework.data.mongodb.MongoSessionProvider
-
Obtain a
ClientSession
with with given options. - getSession(ClientSessionOptions) - Method in interface org.springframework.data.mongodb.ReactiveMongoDatabaseFactory
-
Obtain a
Mono
emitting aClientSession
for givenoptions
. - getShape() - Method in class org.springframework.data.mongodb.core.query.GeoCommand
- getShardKey() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
- getShardKey() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentEntity
-
Get the entities shard key if defined.
- getSingleCriteriaObject() - Method in class org.springframework.data.mongodb.core.query.Criteria
- getSize() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Get the size in bytes the collection should be limited to.
- getSkip() - Method in class org.springframework.data.mongodb.core.query.NearQuery
- getSkip() - Method in class org.springframework.data.mongodb.core.query.Query
-
Get the number of documents to skip.
- getSort() - Method in interface org.springframework.data.mongodb.core.convert.ReferenceLoader.DocumentReferenceQuery
-
Get the sort criteria for ordering results.
- getSort() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
- getSortObject() - Method in class org.springframework.data.mongodb.core.query.BasicQuery
- getSortObject() - Method in class org.springframework.data.mongodb.core.query.Query
- getSortObject() - Method in class org.springframework.data.mongodb.core.query.TextQuery
- getSource() - Method in interface org.springframework.data.mongodb.core.convert.LazyLoadingProxy
-
Returns the raw source object that defines the reference.
- getSource() - Method in class org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent
- getSourceConverter() - Method in interface org.springframework.data.mongodb.core.convert.MappingMongoConverter.ConversionContext
- getSourceConverter() - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter.DefaultConversionContext
- getSpelEvaluatorFor(ExpressionDependencies, MongoParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
Obtain a
publisher
emitting theSpELExpressionEvaluator
suitable to evaluate expressions backed by the given dependencies. - getSpELExpressionEvaluatorFor(ExpressionDependencies, ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
-
Obtain a the
EvaluationContext
suitable to evaluate expressions backed by the given dependencies. - getState() - Method in interface org.springframework.data.mongodb.core.messaging.Task
-
Get the current lifecycle phase.
- getTarget() - Method in interface org.springframework.data.mongodb.core.aggregation.Field
-
Returns the target of the field.
- getTarget() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.ComputedField
- getTarget() - Method in interface org.springframework.data.mongodb.core.convert.LazyLoadingProxy
-
Initializes the proxy and returns the wrapped value.
- getTargetRepository(RepositoryInformation) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
- getTargetRepository(RepositoryInformation) - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactory
- getTargetSource() - Method in class org.springframework.data.mongodb.core.convert.DocumentReferenceSource
-
Get the actual (property specific) reference value.
- getTextScoreProperty() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
- getTextScoreProperty() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentEntity
-
Returns the property holding text score value.
- getTimeField() - Method in class org.springframework.data.mongodb.core.CollectionOptions.TimeSeriesOptions
- getTimeSeriesOptions() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Get the
CollectionOptions.TimeSeriesOptions
if available. - getTimestamp() - Method in class org.springframework.data.mongodb.core.ChangeStreamEvent
-
Get the
cluster time
asInstant
the event was emitted at. - getTiming() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
-
Deprecated.
- getTotalMs() - Method in class org.springframework.data.mongodb.monitor.BackgroundFlushingMetrics
- getTotalTime() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
-
Deprecated.
- getTotalTime() - Method in class org.springframework.data.mongodb.monitor.GlobalLockMetrics
- getTree() - Method in class org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
-
Return the
PartTree
backing the query. - getTree() - Method in class org.springframework.data.mongodb.repository.query.ReactivePartTreeMongoQuery
-
Return the
PartTree
backing the query. - getType() - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
- getType() - Method in interface org.springframework.data.mongodb.core.geo.GeoJson
-
String value representing the type of the
GeoJson
object. - getType() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonGeometryCollection
- getType() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonLineString
- getType() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonMultiLineString
- getType() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
- getType() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonMultiPolygon
- getType() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonPoint
- getType() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonPolygon
- getType() - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractDeleteEvent
-
Returns the type for which the
AbstractDeleteEvent
shall be invoked for. - getType() - Method in class org.springframework.data.mongodb.core.mapping.event.AfterLoadEvent
-
Returns the type for which the
AfterLoadEvent
shall be invoked for. - getType() - Method in class org.springframework.data.mongodb.core.query.Term
- getTypeHint() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
- getTypeHint() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
- getTypeMapper() - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- getTypeMapper() - Method in interface org.springframework.data.mongodb.core.convert.MongoConverter
-
Returns the
TypeMapper
being used to write type information intoDocument
s created with that converter. - getTypes() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
- getTypes() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty
- getTypes() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.RequiredJsonSchemaProperty
- getTypes() - Method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Get the set of types defined for this schema element.
TheSet
is likely to contain only one element in most cases. - getTypes() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject
- getTypes() - Method in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
- getUniqueMappedResult() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationResults
-
Returns the unique mapped result.
- getUpdate() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
- getUpdate() - Method in interface org.springframework.data.mongodb.repository.query.MongoParameterAccessor
-
Returns the
Update
to be used for an update execution. - getUpdate() - Method in class org.springframework.data.mongodb.repository.query.MongoParametersParameterAccessor
- getUpdateCount() - Method in class org.springframework.data.mongodb.monitor.OperationCounters
- getUpdateIndex() - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
-
Returns the index of the
UpdateDefinition
parameter or -1 if not present. - getUpdateObject() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
- getUpdateObject() - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
- getUpdateObject() - Method in class org.springframework.data.mongodb.core.query.Update
- getUpdateObject() - Method in interface org.springframework.data.mongodb.core.query.UpdateDefinition
- getUpdateSource() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
- getUpper() - Method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.Window
-
The upper (inclusive) boundary.
- getUpper() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindow
- getUptime() - Method in class org.springframework.data.mongodb.monitor.ServerInfo
- getUptimeEstimate() - Method in class org.springframework.data.mongodb.monitor.ServerInfo
- getUser() - Method in class org.springframework.data.mongodb.monitor.AssertMetrics
- getValidationAction() - Method in class org.springframework.data.mongodb.core.CollectionOptions.ValidationOptions
-
Get the
validationAction
to perform. - getValidationLevel() - Method in class org.springframework.data.mongodb.core.CollectionOptions.ValidationOptions
-
Get the
validationLevel
to apply. - getValidationOptions() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Get the
MongoJsonSchema
for the collection. - getValidator() - Method in class org.springframework.data.mongodb.core.CollectionOptions.ValidationOptions
-
Get the
Validator
to use. - getValue() - Method in interface org.springframework.data.mongodb.core.query.Update.Modifier
- getValue() - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
-
Returns the value of the current node.
- getValueMap() - Method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation
- getValueProvider() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingContext
- getValues() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
- getValues() - Method in interface org.springframework.data.mongodb.repository.query.MongoParameterAccessor
-
Returns the raw parameter values of the underlying query method.
- getValues() - Method in class org.springframework.data.mongodb.repository.query.MongoParametersParameterAccessor
- getVersion() - Method in class org.springframework.data.mongodb.monitor.ServerInfo
- getVersion(T) - Method in interface org.springframework.data.mongodb.repository.query.MongoEntityInformation
-
Returns the version value for the entity or null if the entity is not
versioned
. - getVersion(T) - Method in class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
- getVirtualAddressSpace() - Method in class org.springframework.data.mongodb.monitor.MemoryMetrics
- getWarning() - Method in class org.springframework.data.mongodb.monitor.AssertMetrics
- getWeight() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexedFieldSpec
-
Get the weight associated with the
TextIndexDefinition.TextIndexedFieldSpec
. - getWildcardProjection() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
-
Get wildcardProjection information.
- getWindow() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.ComputedField
- getWindowOperator() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.ComputedField
- getWriteResult() - Method in exception org.springframework.data.mongodb.core.MongoDataIntegrityViolationException
-
Returns the
WriteConcernResult
that caused the exception. - getWriteTarget(Class<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Get the conversion target type if defined or return the source.
- getWriteTargetTypeFor(Class<?>) - Method in class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
- getWriteTargetTypeFor(Class<?>) - Method in interface org.springframework.data.mongodb.core.convert.MongoTypeMapper
-
Compute the target type for a given source considering
CustomConversions
. - GlobalLockMetrics - Class in org.springframework.data.mongodb.monitor
-
JMX Metrics for Global Locks
- GlobalLockMetrics(MongoClient) - Constructor for class org.springframework.data.mongodb.monitor.GlobalLockMetrics
- granularity() - Element in annotation interface org.springframework.data.mongodb.core.mapping.TimeSeries
-
Select the
granularity
parameter to define how data in the time series collection is organized. - granularity(GranularityDefinition) - Method in class org.springframework.data.mongodb.core.CollectionOptions.TimeSeriesOptions
-
Select the
GranularityDefinition
parameter to define how data in the time series collection is organized. - Granularity - Enum Class in org.springframework.data.mongodb.core.timeseries
-
Granularities
available for Time Series data. - GranularityDefinition - Interface in org.springframework.data.mongodb.core.timeseries
-
The Granularity of time series data that is closest to the time span between incoming measurements.
- graphLookup(String) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
GraphLookupOperation.GraphLookupOperationFromBuilder
to construct aGraphLookupOperation
given fromCollection. - GraphLookupOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$graphLookup
-operation. - GraphLookupOperation.ConnectFromBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- GraphLookupOperation.ConnectToBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- GraphLookupOperation.FromBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- GraphLookupOperation.GraphLookupOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
- GraphLookupOperation.StartWithBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- GraphLookupOperationBuilder(String, List<? extends Object>, String, String) - Constructor for class org.springframework.data.mongodb.core.aggregation.GraphLookupOperation.GraphLookupOperationBuilder
- greaterThan(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 greater than the value of the referenced field. - greaterThan(String) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Gt
-
Creates new
ComparisonOperators.Gt
with all previously added arguments appending the given one. - greaterThan(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 greater than the expression result. - greaterThan(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Gt
-
Creates new
ComparisonOperators.Gt
with all previously added arguments appending the given one. - greaterThanEqualTo(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 greater than or equivalent to the value of the referenced field. - greaterThanEqualTo(String) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Gte
-
Creates new
ComparisonOperators.Gte
with all previously added arguments appending the given one. - greaterThanEqualTo(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 greater than or equivalent to the expression result. - greaterThanEqualTo(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Gte
-
Creates new
ComparisonOperators.Gte
with all previously added arguments appending the given one. - greaterThanEqualToValue(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 greater than or equivalent to the given value. - greaterThanEqualToValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Gte
-
Creates new
ComparisonOperators.Gte
with all previously added arguments appending the given one. - greaterThanValue(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 greater than the given value. - greaterThanValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Gt
-
Creates new
ComparisonOperators.Gt
with all previously added arguments appending the given one. - GridFsCriteria - Class in org.springframework.data.mongodb.gridfs
-
GridFs-specific helper class to define
Criteria
s. - GridFsCriteria(String) - Constructor for class org.springframework.data.mongodb.gridfs.GridFsCriteria
-
Creates a new
GridFsCriteria
for the given key. - gridFsFile(GridFSFile) - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload.GridFsUploadBuilder
-
Set id, filename, metadata and chunk size from given file.
- gridFsFile(GridFSFile) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder
-
Set id, filename, metadata and chunk size from given file.
- GridFsObject<ID,
CONTENT> - Interface in org.springframework.data.mongodb.gridfs -
A common interface when dealing with GridFs items using Spring Data.
- GridFsObject.Options - Class in org.springframework.data.mongodb.gridfs
-
Additional, context relevant information.
- GridFsOperations - Interface in org.springframework.data.mongodb.gridfs
-
Collection of operations to store and read files from MongoDB GridFS.
- GridFsResource - Class in org.springframework.data.mongodb.gridfs
-
GridFSFile
basedResource
implementation. - GridFsResource(GridFSFile) - Constructor for class org.springframework.data.mongodb.gridfs.GridFsResource
-
Creates a new
GridFsResource
from the givenGridFSFile
. - GridFsResource(GridFSFile, InputStream) - Constructor for class org.springframework.data.mongodb.gridfs.GridFsResource
- GridFsTemplate - Class in org.springframework.data.mongodb.gridfs
-
GridFsOperations
implementation to store content into MongoDB GridFS. - GridFsTemplate(MongoDatabaseFactory, MongoConverter) - Constructor for class org.springframework.data.mongodb.gridfs.GridFsTemplate
- GridFsTemplate(MongoDatabaseFactory, MongoConverter, String) - Constructor for class org.springframework.data.mongodb.gridfs.GridFsTemplate
- GridFsUpload<ID> - Class in org.springframework.data.mongodb.gridfs
-
Upload descriptor for a GridFS file upload.
- GridFsUpload.GridFsUploadBuilder<T> - Class in org.springframework.data.mongodb.gridfs
-
Builder to create
GridFsUpload
in a fluent way. - group(String...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
GroupOperation
for the given fields. - group(Fields) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
GroupOperation
for the givenFields
. - GroupOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$group
-operation. - GroupOperation(Fields) - Constructor for class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Creates a new
GroupOperation
including the givenFields
. - GroupOperation(GroupOperation) - Constructor for class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Creates a new
GroupOperation
from the givenGroupOperation
. - GroupOperation.GroupOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder for
GroupOperation
s on a field. - gt(Number) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- gt(Number) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
-
Set minimum to given
min
value and exclusiveMinimum to true. - gt(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$gt
expression (greater than) that compares the value of the field to a given value or field. - gt(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $gt operator.
- gte(Number) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- gte(Number) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
-
Set minimum to given
min
value and exclusiveMinimum to false. - gte(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$gte
expression (greater than equal) that compares the value of the field to a given value or field. - gte(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $gte operator.
H
- hasAnnotatedAggregation() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
-
Returns whether the method has an annotated query.
- hasAnnotatedCollation() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
-
Check if the query method is decorated with an non empty
Query.collation()
or orAggregation.collation()
. - hasAnnotatedQuery() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
-
Returns whether the method has an annotated query.
- hasAnnotatedSort() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
-
Check if the query method is decorated with an non empty
Query.sort()
. - hasAnnotatedUpdate() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
- hasArrayFilters() - Method in class org.springframework.data.mongodb.core.query.Update
- hasArrayFilters() - Method in interface org.springframework.data.mongodb.core.query.UpdateDefinition
- hasBindableNullValue() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
- hasChildren() - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
-
Returns whether the current node has child nodes.
- hasCodecFor(Class<?>) - Method in interface org.springframework.data.mongodb.CodecRegistryProvider
-
Checks if a
Codec
is registered for a given type. - hasCollation() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentEntity
- hasCollation() - Method in interface org.springframework.data.mongodb.repository.query.MongoEntityInformation
-
Returns whether the entity defines a specific collation.
- hasComment() - Method in class org.springframework.data.mongodb.core.query.Meta
-
Return whether the comment is set.
- hasExecutionTimeLimit() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
- hasExplicitFieldName() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- hasExplicitFieldName() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns whether the property uses an annotated field name through
Field
. - hasExplicitWriteTarget() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
- hasFieldSpec() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition
-
Returns if the
TextIndexDefinition
has fields assigned. - hasfirstChildNotOfType(Class<?>) - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
-
Returns whether the
ExpressionNode
has a first child node that is not of the given type. - hasFullTextParameter() - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
- hash(String...) - Static method in class org.springframework.data.mongodb.core.mapping.ShardKey
-
Create a new
ShardingStrategy.RANGE
shard key. - HASH - Enum constant in enum class org.springframework.data.mongodb.core.mapping.ShardingStrategy
-
Hashed Sharding involves computing a hash of the shard key field’s value.
- hashCode() - Method in class org.springframework.data.mongodb.core.ChangeStreamEvent
- hashCode() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions
- hashCode() - Method in class org.springframework.data.mongodb.core.CollectionOptions.CollectionChangeStreamOptions
- hashCode() - Method in class org.springframework.data.mongodb.core.CollectionOptions
- hashCode() - Method in class org.springframework.data.mongodb.core.CollectionOptions.TimeSeriesOptions
- hashCode() - Method in class org.springframework.data.mongodb.core.CollectionOptions.ValidationOptions
- hashCode() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonGeometryCollection
- hashCode() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonMultiLineString
- hashCode() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
- hashCode() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonMultiPolygon
- hashCode() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonPolygon
- hashCode() - Method in class org.springframework.data.mongodb.core.geo.Sphere
- hashCode() - Method in class org.springframework.data.mongodb.core.index.IndexField
- hashCode() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
- hashCode() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexedFieldSpec
- hashCode() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
-
Deprecated.
- hashCode() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
-
Deprecated.
- hashCode() - Method in class org.springframework.data.mongodb.core.messaging.Message.MessageProperties
- hashCode() - Method in class org.springframework.data.mongodb.core.query.BasicQuery
- hashCode() - Method in class org.springframework.data.mongodb.core.query.Collation
- hashCode() - Method in class org.springframework.data.mongodb.core.query.Criteria
- hashCode() - Method in class org.springframework.data.mongodb.core.query.Field
- hashCode() - Method in class org.springframework.data.mongodb.core.query.GeoCommand
- hashCode() - Method in class org.springframework.data.mongodb.core.query.Meta
- hashCode() - Method in class org.springframework.data.mongodb.core.query.Query
- hashCode() - Method in class org.springframework.data.mongodb.core.query.Term
- hashCode() - Method in class org.springframework.data.mongodb.core.query.TextCriteria
- hashCode() - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- hashCode() - Method in class org.springframework.data.mongodb.core.query.Update
- hashCode() - Method in class org.springframework.data.mongodb.core.query.Update.Modifiers
- hashCode() - Method in class org.springframework.data.mongodb.core.query.Update.PushOperatorBuilder
- hashCode() - Method in class org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type.BsonType
- hashCode() - Method in class org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type.JsonType
- hashed(String) - Static method in class org.springframework.data.mongodb.core.index.HashedIndex
-
Creates a new
HashedIndex
for the given field. - HashedIndex - Class in org.springframework.data.mongodb.core.index
-
IndexDefinition
implementation for MongoDB Hashed Indexes maintaining entries with hashes of the values of the indexed field. - HashIndexed - Annotation Interface in org.springframework.data.mongodb.core.index
-
Annotation for a property that should be used as key for a Hashed Index.
- hasId() - Method in class org.springframework.data.mongodb.core.MappedDocument
- hasMaxTime() - Method in class org.springframework.data.mongodb.core.query.Meta
-
Return whether the maximum time limit for processing operations is set.
- hasNonNullId() - Method in class org.springframework.data.mongodb.core.MappedDocument
- hasPreviousOperation() - Method in class org.springframework.data.mongodb.core.spel.ExpressionTransformationContextSupport
-
Returns whether a previous operation is present.
- hasQueryMetaAttributes() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
- hasReactiveWrapperParameter() - Method in class org.springframework.data.mongodb.repository.query.ReactiveMongoQueryMethod
-
Check if the given
QueryMethod
receives a reactive parameter wrapper as one of its parameters. - hasReadPreference() - Method in interface org.springframework.data.mongodb.core.ReadPreferenceAware
- hasTextScoreProperty() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
- hasTextScoreProperty() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentEntity
-
Returns whether the entity has a
TextScore
property. - hasTimezone() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.TimezonedDateAggregationExpression
- hasValue(Bson, String) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Returns whether the underlying
bson
has a value (null or non-null) for the givenkey
. - hasValues() - Method in class org.springframework.data.mongodb.core.query.Meta
- hint(Document) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Define a hint that is used by query optimizer to to fulfill the aggregation.
- historicalDocuments(int) - Method in interface org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.ExpMovingAvgBuilder
-
Define the number of historical documents with significant mathematical weight.
- HOLDER - Static variable in class org.springframework.data.mongodb.core.mapping.MongoSimpleTypes
- hosts() - Method in class org.springframework.data.mongodb.monitor.AbstractMonitor
- hour() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the hour portion of a date as a number between 0 and 23. - hour(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
- hour(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateParts
-
Set the hour to the given value which must resolve to a value in range of
0 - 23
. - hour(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Hour
-
Creates new
DateOperators.Hour
. - hour(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
- HOUR - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnits
- HOUR - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnits
- hourOf(String) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateParts
-
Set the hour to the value resolved by following the given
field reference
. - hourOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Hour
-
Creates new
DateOperators.Hour
. - hourOf(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateParts
-
Set the hour to the result of the given
expression
. - hourOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Hour
-
Creates new
DateOperators.Hour
. - HOURS - Enum constant in enum class org.springframework.data.mongodb.core.timeseries.Granularity
-
Low frequency ingestion.
I
- id() - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.UniqueMergeId
-
Merge Documents by using the MongoDB _id field.
- id(MergeOperation.UniqueMergeId) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
Set the identifier that determines if a results document matches an already existing document in the output collection.
- id(T1) - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload.GridFsUploadBuilder
-
Set the id to use.
- id(T1) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder
-
Set the id to use.
- ID_FIELD_NAME - Static variable in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- identical() - Static method in interface org.springframework.data.mongodb.core.query.Collation.ComparisonLevel
-
Identical Level.
- IdentifiableJsonSchemaProperty<T extends JsonSchemaObject> - Class in org.springframework.data.mongodb.core.schema
-
JsonSchemaProperty
implementation. - IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty - Class in org.springframework.data.mongodb.core.schema
-
Convenience
JsonSchemaProperty
implementation for atype : 'array'
property. - IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty - Class in org.springframework.data.mongodb.core.schema
-
Convenience
JsonSchemaProperty
implementation for atype : 'boolean'
property. - IdentifiableJsonSchemaProperty.DateJsonSchemaProperty - Class in org.springframework.data.mongodb.core.schema
-
Convenience
JsonSchemaProperty
implementation for atype : 'date'
property. - IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty - Class in org.springframework.data.mongodb.core.schema
-
JsonSchemaProperty
implementation for encrypted fields. - IdentifiableJsonSchemaProperty.NullJsonSchemaProperty - Class in org.springframework.data.mongodb.core.schema
-
Convenience
JsonSchemaProperty
implementation for atype : 'null'
property. - IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty - Class in org.springframework.data.mongodb.core.schema
-
Convenience
JsonSchemaProperty
implementation for atype : 'number'
property. - IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty - Class in org.springframework.data.mongodb.core.schema
-
Convenience
JsonSchemaProperty
implementation for atype : 'object'
property. - IdentifiableJsonSchemaProperty.RequiredJsonSchemaProperty - Class in org.springframework.data.mongodb.core.schema
-
Delegating
JsonSchemaProperty
implementation having a required flag for evaluation during schema creation process. - IdentifiableJsonSchemaProperty.StringJsonSchemaProperty - Class in org.springframework.data.mongodb.core.schema
-
Convenience
JsonSchemaProperty
implementation for atype : 'string'
property. - IdentifiableJsonSchemaProperty.TimestampJsonSchemaProperty - Class in org.springframework.data.mongodb.core.schema
-
Convenience
JsonSchemaProperty
implementation for atype : 'timestamp'
property. - IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty - Class in org.springframework.data.mongodb.core.schema
-
Convenience
JsonSchemaProperty
implementation without atype
property. - identifier - Variable in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty
- idMapper - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- ifNull(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators
-
Creates new
AggregationExpression
that evaluates an expression and returns the value of the expression if the expression evaluates to a non-null value. - ifNull(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.IfNull
-
Creates new
ConditionalOperators.IfNull
. - ifNull(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.IfNull.IfNullBuilder
- ifNull(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators
-
Creates new
AggregationExpression
that evaluates an expression and returns the value of the expression if the expression evaluates to a non-null value. - ifNull(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.IfNull
-
Creates new
ConditionalOperators.IfNull
. - ifNull(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.IfNull.IfNullBuilder
- immutable(ShardKey) - Static method in class org.springframework.data.mongodb.core.mapping.ShardKey
- immutableKey() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Sharded
-
As of MongoDB 4.2 it is possible to change the shard key using update.
- IMPLICIT - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
-
Implicit type that is derived from the property value.
- in(Object...) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $in operator.
- in(String) - Method in class org.springframework.data.mongodb.core.aggregation.OutOperation
-
Optionally specify the database of the target collection.
- in(Collection<?>) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $in operator.
- in(Metric) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Will cause the results' distances being returned in the given metric.
- inc(String) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
- inc(String) - Method in class org.springframework.data.mongodb.core.query.Update
- inc(String) - Method in interface org.springframework.data.mongodb.core.query.UpdateDefinition
-
Increment the value of a given key by
1
. - inc(String, Number) - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
- inc(String, Number) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update using the $inc update modifier
- include(String) - Method in class org.springframework.data.mongodb.core.query.Field
-
Include a single
field
to be returned by the query operation. - include(String...) - Method in class org.springframework.data.mongodb.core.query.Field
-
Include one or more
fields
to be returned by the query operation. - includeCase() - Method in class org.springframework.data.mongodb.core.query.Collation.PrimaryICUComparisonLevel
-
Include case comparison.
- includeCase() - Method in class org.springframework.data.mongodb.core.query.Collation.SecondaryICUComparisonLevel
-
Include case comparison.
- includeFilters() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Specifies which types are eligible for component scanning.
- includeFilters() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Specifies which types are eligible for component scanning.
- includeId() - Method in class org.springframework.data.mongodb.core.index.WildcardIndex
-
Include the
_id
field in wildcardProjection. - includeScore() - Method in class org.springframework.data.mongodb.core.query.TextQuery
-
Add field score holding the documents textScore to the returned fields.
- includeScore(String) - Method in class org.springframework.data.mongodb.core.query.TextQuery
-
Include text search document score in returned fields using the given fieldname.
- inCollection(String) - Method in interface org.springframework.data.mongodb.core.ExecutableAggregationOperation.AggregationWithCollection
-
Explicitly set the name of the collection to perform the query on.
- inCollection(String) - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.FindWithCollection
-
Explicitly set the name of the collection to perform the query on.
- inCollection(String) - Method in interface org.springframework.data.mongodb.core.ExecutableInsertOperation.InsertWithCollection
-
Explicitly set the name of the collection.
- inCollection(String) - Method in interface org.springframework.data.mongodb.core.ExecutableMapReduceOperation.MapReduceWithCollection
-
Explicitly set the name of the collection to perform the mapReduce operation on.
- inCollection(String) - Method in interface org.springframework.data.mongodb.core.ExecutableRemoveOperation.RemoveWithCollection
-
Explicitly set the name of the collection to perform the query on.
- inCollection(String) - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.UpdateWithCollection
-
Explicitly set the name of the collection to perform the query on.
- inCollection(String) - Method in interface org.springframework.data.mongodb.core.ReactiveAggregationOperation.AggregationOperationWithCollection
-
Explicitly set the name of the collection to perform the query on.
- inCollection(String) - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.FindWithCollection
-
Explicitly set the name of the collection to perform the query on.
- inCollection(String) - Method in interface org.springframework.data.mongodb.core.ReactiveInsertOperation.InsertWithCollection
-
Explicitly set the name of the collection.
- inCollection(String) - Method in interface org.springframework.data.mongodb.core.ReactiveMapReduceOperation.MapReduceWithCollection
-
Explicitly set the name of the collection to perform the mapReduce operation on.
- inCollection(String) - Method in interface org.springframework.data.mongodb.core.ReactiveRemoveOperation.RemoveWithCollection
-
Explicitly set the name of the collection to perform the query on.
- inCollection(String) - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.UpdateWithCollection
-
Explicitly set the name of the collection to perform the query on.
- incrementBy(Number) - Method in class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyRange
-
Set the increment for the value.
- incrementBy(Number, DensifyOperation.DensifyUnit) - Method in class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyRange
-
Set the increment for the value.
- inDatabase(String) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
Optionally define a target database if different from the current one.
- inDatabase(String) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationTarget
-
Optionally specify the target database if different from the source one.
- Index - Class in org.springframework.data.mongodb.core.index
- Index() - Constructor for class org.springframework.data.mongodb.core.index.Index
- Index(String, Sort.Direction) - Constructor for class org.springframework.data.mongodb.core.index.Index
- IndexDefinition - Interface in org.springframework.data.mongodb.core.index
- IndexDefinitionHolder(String, IndexDefinition, String) - Constructor for class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver.IndexDefinitionHolder
-
Create
- IndexDirection - Enum Class in org.springframework.data.mongodb.core.index
- Indexed - Annotation Interface in org.springframework.data.mongodb.core.index
-
Mark a field to be indexed using MongoDB's indexing feature.
- IndexField - Class in org.springframework.data.mongodb.core.index
-
Value object for an index field.
- IndexFilter - Interface in org.springframework.data.mongodb.core.index
-
Use
IndexFilter
to create the partial filter expression used when creating Partial Indexes. - IndexInfo - Class in org.springframework.data.mongodb.core.index
-
Index information for a MongoDB index.
- IndexInfo(List<IndexField>, String, boolean, boolean, String) - Constructor for class org.springframework.data.mongodb.core.index.IndexInfo
- indexInfoOf(Document) - Static method in class org.springframework.data.mongodb.core.index.IndexInfo
-
Creates new
IndexInfo
parsing required properties from the given sourceDocument. - indexOf(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that searches the associated array for an occurrence of a specified value and returns the array index (zero-based) of the first occurrence. - indexOf(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.IndexOfArray.IndexOfArrayBuilder
-
Set the value to check for its index in the array.
- indexOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfBytes.SubstringBuilder
-
Creates a new
StringOperators.IndexOfBytes
given substring. - indexOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfCP.SubstringBuilder
-
Creates a new
StringOperators.IndexOfCP
given substring. - indexOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and searches a string for an occurrence of a given substring and returns the UTF-8 byte index (zero-based) of the first occurrence. - indexOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfBytes.SubstringBuilder
-
Creates a new
StringOperators.IndexOfBytes
givenAggregationExpression
that resolves to the substring. - indexOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfCP.SubstringBuilder
-
Creates a new
StringOperators.IndexOfCP
givenAggregationExpression
that resolves to the substring. - indexOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and searches a string for an occurrence of a substring resulting from the givenAggregationExpression
and returns the UTF-8 byte index (zero-based) of the first occurrence. - indexOf(Field) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfBytes.SubstringBuilder
-
Creates a new
StringOperators.IndexOfBytes
givenField
that resolves to the substring. - indexOf(Field) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfCP.SubstringBuilder
-
Creates a new
StringOperators.IndexOfCP
givenField
that resolves to the substring. - indexOf(Field) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and searches a string for an occurrence of a substring contained in the given field reference and returns the UTF-8 byte index (zero-based) of the first occurrence. - indexOfCP(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and searches a string for an occurrence of a given substring and returns the UTF-8 code point index (zero-based) of the first occurrence. - indexOfCP(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and searches a string for an occurrence of a substring resulting from the givenAggregationExpression
and returns the UTF-8 code point index (zero-based) of the first occurrence. - indexOfCP(Field) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and searches a string for an occurrence of a substring contained in the given field reference and returns the UTF-8 code point index (zero-based) of the first occurrence. - IndexOperations - Interface in org.springframework.data.mongodb.core.index
-
Index operations on a collection.
- IndexOperationsAdapter - Interface in org.springframework.data.mongodb.core.index
-
Adapter for creating synchronous
IndexOperations
. - IndexOperationsProvider - Interface in org.springframework.data.mongodb.core.index
-
Provider interface to obtain
IndexOperations
by MongoDB collection name. - indexOps(Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns the operations that can be performed on indexes
- indexOps(Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- indexOps(Class<?>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Returns the reactive operations that can be performed on indexes
- indexOps(Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- indexOps(String) - Method in interface org.springframework.data.mongodb.core.index.IndexOperationsProvider
-
Returns the operations that can be performed on indexes.
- indexOps(String) - Method in interface org.springframework.data.mongodb.core.index.ReactiveIndexOperationsProvider
-
Returns the operations that can be performed on indexes.
- indexOps(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Returns the operations that can be performed on indexes
- indexOps(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- indexOps(String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Returns the reactive operations that can be performed on indexes
- indexOps(String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- indexOps(String, Class<?>) - Method in interface org.springframework.data.mongodb.core.index.IndexOperationsProvider
-
Returns the operations that can be performed on indexes.
- indexOps(String, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- IndexPredicate - Class in org.springframework.data.mongodb.core.index
- IndexPredicate() - Constructor for class org.springframework.data.mongodb.core.index.IndexPredicate
- IndexResolver - Interface in org.springframework.data.mongodb.core.index
-
IndexResolver
finds thoseIndexDefinition
s to be created for a given class. - inheritsFields() - Method in interface org.springframework.data.mongodb.core.aggregation.FieldsExposingAggregationOperation
- inheritsFields() - Method in interface org.springframework.data.mongodb.core.aggregation.FieldsExposingAggregationOperation.InheritsFieldsAggregationOperation
- inheritsFields() - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation
- inheritsFields() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
- init() - Method in class org.springframework.data.mongodb.config.MongoNamespaceHandler
- init() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigNamespaceHandler
- init(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator.AccumulatorInitBuilder
-
Define the
init
function for theaccumulators
initial state. - init(ScriptOperators.Function) - Method in interface org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator.AccumulatorInitBuilder
- initArgs(Object...) - Method in interface org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator.AccumulatorInitArgsBuilder
-
Define the optional
initArgs
for theScriptOperators.Accumulator.AccumulatorInitBuilder.init(String)
function. - initArgs(List<Object>) - Method in interface org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator.AccumulatorInitArgsBuilder
-
Define the optional
initArgs
for theScriptOperators.Accumulator.AccumulatorInitBuilder.init(String)
function. - initiateFind(MongoCollection<Document>, Function<MongoCollection<Document>, FindIterable<Document>>) - Method in interface org.springframework.data.mongodb.core.CursorPreparer
-
Apply query specific settings to
MongoCollection
and initate a find operation returning aFindIterable
via the givenfind
function. - initiateFind(MongoCollection<Document>, Function<MongoCollection<Document>, FindPublisher<Document>>) - Method in interface org.springframework.data.mongodb.core.FindPublisherPreparer
-
Apply query specific settings to
MongoCollection
and initate a find operation returning aFindPublisher
via the givenfind
function. - inKilometers() - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Will cause the results' distances being returned in kilometers.
- inMiles() - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Will cause the results' distances being returned in miles.
- input(String) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.SetField
-
Creates new
aggregation expression
that takes the value pointed to by given inputfield reference
. - input(String) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.First
-
Define the field to serve as source.
- input(String) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Last
-
Define the field to serve as source.
- input(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.SetField
-
Creates new
aggregation expression
that takes the value pointed to by given inputAggregationExpression
. - input(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.First
-
Define the expression building the value to serve as source.
- input(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Last
-
Define the expression building the value to serve as source.
- insert(Class<T>) - Method in interface org.springframework.data.mongodb.core.ExecutableInsertOperation
-
Start creating an insert operation for given domainType.
- insert(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- insert(Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveInsertOperation
-
Start creating an insert operation for given domainType.
- insert(Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- insert(Iterable<S>) - Method in interface org.springframework.data.mongodb.repository.MongoRepository
-
Inserts the given entities.
- insert(Iterable<S>) - Method in interface org.springframework.data.mongodb.repository.ReactiveMongoRepository
-
Inserts the given entities.
- insert(Iterable<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- insert(Iterable<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- insert(Object) - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Add a single insert to the bulk operation.
- insert(Collection<? extends T>, Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Insert a Collection of objects into a collection in a single batch write to the database.
- insert(Collection<? extends T>, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- insert(Collection<? extends T>, Class<?>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Insert a Collection of objects into a collection in a single batch write to the database.
- insert(Collection<? extends T>, Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- insert(Collection<? extends T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Insert a batch of objects into the specified collection in a single batch write to the database.
- insert(Collection<? extends T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- insert(Collection<? extends T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Insert a batch of objects into the specified collection in a single batch write to the database.
- insert(Collection<? extends T>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- insert(List<? extends Object>) - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Add a list of inserts to the bulk operation.
- insert(Publisher<S>) - Method in interface org.springframework.data.mongodb.repository.ReactiveMongoRepository
-
Inserts the given entities.
- insert(Publisher<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- insert(Mono<? extends T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Insert the object into the collection for the entity type of the object to save.
- insert(Mono<? extends T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- insert(S) - Method in interface org.springframework.data.mongodb.repository.MongoRepository
-
Inserts the given entity.
- insert(S) - Method in interface org.springframework.data.mongodb.repository.ReactiveMongoRepository
-
Inserts the given entity.
- insert(S) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- insert(S) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- insert(T) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Insert the object into the collection for the entity type of the object to save.
- insert(T) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- insert(T) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Insert the object into the collection for the entity type of the object to save.
- insert(T) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- insert(T, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Insert the object into the specified collection.
- insert(T, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- insert(T, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Insert the object into the specified collection.
- insert(T, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- INSERT - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.OutOperation.OutMode
-
Write documents to the target collection.
- INSERT - Enum constant in enum class org.springframework.data.mongodb.core.MongoActionOperation
- INSERT_LIST - Enum constant in enum class org.springframework.data.mongodb.core.MongoActionOperation
- insertAll(Collection<? extends T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Insert a mixed Collection of objects into a database collection determining the collection name to use based on the class.
- insertAll(Collection<? extends T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- insertAll(Collection<? extends T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Insert a mixed Collection of objects into a database collection determining the collection name to use based on the class.
- insertAll(Collection<? extends T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- insertAll(Mono<? extends Collection<? extends T>>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Insert a mixed Collection of objects into a database collection determining the collection name to use based on the class.
- insertAll(Mono<? extends Collection<? extends T>>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- insertAll(Mono<? extends Collection<? extends T>>, Class<?>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Insert a Collection of objects into a collection in a single batch write to the database.
- insertAll(Mono<? extends Collection<? extends T>>, Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- insertAll(Mono<? extends Collection<? extends T>>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Insert objects into the specified collection in a single batch write to the database.
- insertAll(Mono<? extends Collection<? extends T>>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- insertDocument(String, Document, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- insertDocument(String, Document, Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- insertDocumentList(String, List<Document>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- insertDocumentList(String, List<Document>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- insertDocuments() - Method in class org.springframework.data.mongodb.core.aggregation.OutOperation
-
Insert documents to the target collection.
- insertNewDocument() - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsDontMatch
-
Insert the document into the output collection.
- INSTANCE - Enum constant in enum class org.springframework.data.mongodb.core.convert.NoOpDbRefResolver
- INSTANCE - Enum constant in enum class org.springframework.data.mongodb.core.mapping.MongoPersistentProperty.PropertyToFieldNameConverter
- INSTANCE - Enum constant in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator
- instantiators - Variable in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
- INT_32 - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- INT_64 - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- int32(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
with given identifier ofbsonType : 'int'
. - INT32 - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- int64(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
with given identifier ofbsonType : 'long'
. - INT64 - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- integral() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the approximation for the mathematical integral value. - integral(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the approximation for the mathematical integral value. - integral(SetWindowFieldsOperation.WindowUnit) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the approximation for the mathematical integral value. - integralOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Integral
-
Create a new instance of
ArithmeticOperators.Integral
for the value stored at the given field holding a numeric value. - integralOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Integral
-
Create a new instance of
ArithmeticOperators.Integral
for the value provided by the given expression that resolves to a numeric value. - intercept(Object, Method, Object[], MethodProxy) - Method in class org.springframework.data.mongodb.core.convert.LazyLoadingProxyFactory.LazyLoadingInterceptor
- intersects(String...) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetIntersection
-
Creates new
SetOperators.SetIntersection
with all previously added arguments appending the given one. - intersects(String...) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetOperatorFactory
-
Creates new
AggregationExpression
that takes array of the previously mentioned field and one or more arrays and returns an array that contains the elements that appear in every of those. - intersects(AggregationExpression...) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetIntersection
-
Creates new
SetOperators.SetIntersection
with all previously added arguments appending the given one. - intersects(AggregationExpression...) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetOperatorFactory
-
Creates new
AggregationExpression
that takes array of the previously mentioned field and one or more arrays and returns an array that contains the elements that appear in every of those. - intersects(GeoJson) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates criterion using
$geoIntersects
operator which matches intersections of the givengeoJson
structure and the documents one. - intersectsArrays(String...) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$setIntersection
expression that takes array of the previously mentioned field and one or more arrays and returns an array that contains the elements that appear in every of those. - into(MergeOperation.MergeOperationTarget) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
Define the target to store results in.
- intoCollection(String) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
Required output collection name to store results to.
- intType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- InvalidMongoDbApiUsageException - Exception in org.springframework.data.mongodb
- InvalidMongoDbApiUsageException(String) - Constructor for exception org.springframework.data.mongodb.InvalidMongoDbApiUsageException
- InvalidMongoDbApiUsageException(String, Throwable) - Constructor for exception org.springframework.data.mongodb.InvalidMongoDbApiUsageException
- invoke(MethodInvocation) - Method in class org.springframework.data.mongodb.core.convert.LazyLoadingProxyFactory.LazyLoadingInterceptor
- invoke(MethodInvocation) - Method in class org.springframework.data.mongodb.SessionAwareMethodInterceptor
- is(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using equality
- IS_REACTIVE_LIBARARY_AVAILABLE - Static variable in class org.springframework.data.mongodb.aot.MongoAotPredicates
- IS_SIMPLE_TYPE - Static variable in class org.springframework.data.mongodb.aot.MongoAotPredicates
- IS_SYNC_CLIENT_PRESENT - Static variable in class org.springframework.data.mongodb.aot.MongoAotPredicates
- isActive() - Method in interface org.springframework.data.mongodb.core.messaging.Subscription
- isActive() - Method in interface org.springframework.data.mongodb.core.messaging.Task
- isAliased() - Method in interface org.springframework.data.mongodb.core.aggregation.Field
-
Returns whether the Field is aliased, which means it has a name set different from the target.
- isAliased() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.ComputedField
- isAllMatching() - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- isAllowDiskUse() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Enables writing to temporary files.
- isAnyMatching() - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- isArgumentMap() - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch
- isArray() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that takes the associated array and an check if its an array. - isArray() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$isArray
expression that takes the string representation of the previously mentioned field and checks if its an array. - isArray(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.IsArray
-
Creates new
ArrayOperators.IsArray
. - isArray(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.IsArray
-
Creates new
ArrayOperators.IsArray
. - isAssociation() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
-
Returns whether the field represents an association.
- isAssociation() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
- isAssociation() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
- isAssociationConversionNecessary(QueryMapper.Field, Object) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Returns whether the given
QueryMapper.Field
represents an association reference that together with the given value requires conversion to aDBRef
object. - isAssociationConversionNecessary(QueryMapper.Field, Object) - Method in class org.springframework.data.mongodb.core.convert.UpdateMapper
- isAsyncClient() - Static method in class org.springframework.data.mongodb.util.MongoClientVersion
- isAutoIndexCreation() - Method in class org.springframework.data.mongodb.core.mapping.MongoMappingContext
-
Returns whether auto-index creation is enabled or disabled.
- isAutoStartup() - Method in class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
- isClientSessionFailureCode(Integer) - Static method in class org.springframework.data.mongodb.util.MongoDbErrorCodes
-
Check if the given error code matches a know session related error.
- isCollectionQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactiveMongoQueryMethod
- isCountQuery() - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
-
Returns whether the query should get a count projection applied.
- isCountQuery() - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
Returns whether the query should get a count projection applied.
- isCountQuery() - Method in class org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
- isCountQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactivePartTreeMongoQuery
- isCountQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactiveStringBasedAggregation
- isCountQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactiveStringBasedMongoQuery
- isCountQuery() - Method in class org.springframework.data.mongodb.repository.query.StringBasedAggregation
- isCountQuery() - Method in class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
- isDataAccessResourceFailureCode(Integer) - Static method in class org.springframework.data.mongodb.util.MongoDbErrorCodes
- isDataIntegrityViolationCode(Integer) - Static method in class org.springframework.data.mongodb.util.MongoDbErrorCodes
- isDBObject(Object) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Checks whether the given value is a
DBObject
. - isDbReference() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- isDbReference() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
- isDbReference() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns whether the property is a
DBRef
. - isDeleteQuery() - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
-
Return weather the query should delete matching documents.
- isDeleteQuery() - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
Return weather the query should delete matching documents.
- isDeleteQuery() - Method in class org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
- isDeleteQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactivePartTreeMongoQuery
- isDeleteQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactiveStringBasedAggregation
- isDeleteQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactiveStringBasedMongoQuery
- isDeleteQuery() - Method in class org.springframework.data.mongodb.repository.query.StringBasedAggregation
- isDeleteQuery() - Method in class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
- isDocument(Object) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Checks whether the given value is a
Document
. - isDocumentReference() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- isDocumentReference() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns whether the property is a
DocumentReference
. - isDuplicateKeyCode(Integer) - Static method in class org.springframework.data.mongodb.util.MongoDbErrorCodes
- isEmpty() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationPipeline
- isEmpty() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.Outputs
- isEmpty() - Method in class org.springframework.data.mongodb.core.query.Update.Modifiers
- isEmpty() - Method in class org.springframework.data.mongodb.util.DotPath
-
Returns whether this dotpath is empty.
- isEqualTo(Object[]) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetEquals
-
Creates new
AccumulatorOperators.Sum
with all previously added arguments appending the given one. - isEqualTo(String...) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetEquals
-
Creates new
Set
with all previously added arguments appending the given one. - isEqualTo(String...) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetOperatorFactory
-
Creates new
AggregationExpression
that compares the previously mentioned field to one or more arrays and returns true if they have the same distinct elements and false otherwise. - isEqualTo(AggregationExpression...) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetEquals
-
Creates new
AccumulatorOperators.Sum
with all previously added arguments appending the given one. - isEqualTo(AggregationExpression...) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetOperatorFactory
-
Creates new
AggregationExpression
that compares the previously mentioned field to one or more arrays and returns true if they have the same distinct elements and false otherwise. - isExistingTransaction(Object) - Method in class org.springframework.data.mongodb.MongoTransactionManager
- isExistingTransaction(Object) - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
- isExistsQuery() - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
-
Returns whether the query should get an exists projection applied.
- isExistsQuery() - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
Returns whether the query should get an exists projection applied.
- isExistsQuery() - Method in class org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
- isExistsQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactivePartTreeMongoQuery
- isExistsQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactiveStringBasedAggregation
- isExistsQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactiveStringBasedMongoQuery
- isExistsQuery() - Method in class org.springframework.data.mongodb.repository.query.StringBasedAggregation
- isExistsQuery() - Method in class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
- isExplain() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Specifies to return the information on the processing of the pipeline.
- isExplicitIdProperty() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- isExplicitIdProperty() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns whether the property is explicitly marked as an identifier property of the owning
PersistentEntity
. - isExplicitLanguageProperty() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- isExplicitLanguageProperty() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns true when property being annotated with
Language
. - isGeo() - Method in class org.springframework.data.mongodb.core.index.IndexField
-
Returns whether the
IndexField
is a geo index field. - isGeoNearQuery() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
-
Returns whether the query is a geo near query.
- isGeoNearQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactiveMongoQueryMethod
- isHashed() - Method in class org.springframework.data.mongodb.core.index.IndexField
-
Returns whether the
IndexField
is a hashed. - isHashed() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
- isIdField() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
-
Returns whether the current field is the id field.
- isIdField() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
- isIdPresent(Class<?>) - Method in class org.springframework.data.mongodb.core.MappedDocument
- isIdProperty() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
-
Also considers fields as id that are of supported id type and name.
- isIdProperty() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
- isIgnoreCaseEnabled() - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- isIgnoredPath(String) - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- isImmutable() - Method in class org.springframework.data.mongodb.core.mapping.ShardKey
- isIndexCreatorFor(MappingContext<?, ?>) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator
-
Returns whether the current index creator was registered for the given
MappingContext
. - isIndexCreatorFor(MappingContext<?, ?>) - Method in class org.springframework.data.mongodb.core.index.ReactiveMongoPersistentEntityIndexCreator
-
Returns whether the current index creator was registered for the given
MappingContext
. - isIndexForFields(Collection<String>) - Method in class org.springframework.data.mongodb.core.index.IndexInfo
-
Returns whether the index is covering exactly the fields given independently of the order.
- isInternal() - Method in interface org.springframework.data.mongodb.core.aggregation.Field
- isInvalidDataAccessApiUsageCode(Integer) - Static method in class org.springframework.data.mongodb.util.MongoDbErrorCodes
- isIsolated() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
- isIsolated() - Method in class org.springframework.data.mongodb.core.query.Update
- isIsolated() - Method in interface org.springframework.data.mongodb.core.query.UpdateDefinition
-
If true prevents a write operation that affects multiple documents from yielding to other reads or writes once the first document is written.
- isJsonArray(String) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Check if a given String looks like
parsable
json array. - isJsonDocument(String) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Check if a given String looks like
parsable
json. - isKeyword(String) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Returns whether the given
String
is a MongoDB keyword. - isLanguageProperty() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- isLanguageProperty() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns true whether the property indicates the documents language either by having a
MongoPersistentProperty.getFieldName()
equal to language or being annotated withLanguage
. - isLazyReference(MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.DefaultReferenceResolver
-
Check if the association expressed by the given
property
should be resolved lazily. - isLimiting() - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
-
Return whether the query has an explicit limit set.
- isLimiting() - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
Return whether the query has an explicit limit set.
- isLimiting() - Method in class org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
- isLimiting() - Method in class org.springframework.data.mongodb.repository.query.ReactivePartTreeMongoQuery
- isLimiting() - Method in class org.springframework.data.mongodb.repository.query.ReactiveStringBasedAggregation
- isLimiting() - Method in class org.springframework.data.mongodb.repository.query.ReactiveStringBasedMongoQuery
- isLimiting() - Method in class org.springframework.data.mongodb.repository.query.StringBasedAggregation
- isLimiting() - Method in class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
- isLiteral() - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
-
Returns whether the
ExpressionNode
is a literal. - isLiteral() - Method in class org.springframework.data.mongodb.core.spel.LiteralNode
- isLogicalOperator() - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
-
Returns whether the
ExpressionNode
is a logical conjunction operation like&&, ||
. - isLogicalOperator() - Method in class org.springframework.data.mongodb.core.spel.OperatorNode
- isMap() - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
-
Returns whether the field references a
Map
. - isMathematicalOperation() - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
-
Returns whether the
ExpressionNode
is a mathematical operation. - isMathematicalOperation() - Method in class org.springframework.data.mongodb.core.spel.OperatorNode
- isModifyingQuery() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
- isModifyingQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactiveMongoQueryMethod
- isNegated() - Method in class org.springframework.data.mongodb.core.query.Term
- isNestedKeyword(Object) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Returns whether the given
Object
is a keyword, i.e. if it's aDocument
with a keyword key. - isNull() - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using null equality comparison which matches documents that either contain the item field whose value is null or that do not contain the item field.
- isNullValue() - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using a
BsonType
comparison which matches only documents that contain the item field whose value is equal toBsonType.NULL
. - iso8601() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToParts
-
Use ISO week date fields in the resulting document.
- isoDayOfWeek() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the weekday number in ISO 8601-2018 format, ranging from 1 (for Monday) to 7 (for Sunday). - isoDayOfWeek(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
-
Set the day of week to the given value which must resolve to a weekday in range
1 - 7
. - isoDayOfWeek(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDayOfWeek
-
Creates new
DateOperators.IsoDayOfWeek
. - isoDayOfWeek(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDayOfWeek
-
Creates new
DateOperators.IsoDayOfWeek
. - isoDayOfWeekOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
-
Set the day of week to the value resolved by following the given
field reference
. - isoDayOfWeekOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
-
Set the day of week to the result of the given
expression
. - isoDayWeek(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDayOfWeek
-
Creates new
DateOperators.IsoDayOfWeek
. - isOfType(Class<?>) - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
-
Returns whether the current
ExpressionNode
is backed by the given type. - isolated() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
-
Prevents a write operation that affects multiple documents from yielding to other reads or writes once the first document is written.
- isolated() - Method in class org.springframework.data.mongodb.core.query.Update
-
Prevents a write operation that affects multiple documents from yielding to other reads or writes once the first document is written.
- isOutOrMerge() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationPipeline
- isoWeek() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the week number in ISO 8601-2018 format, ranging from 1 to 53. - isoWeek(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
-
Set the week of year to the given value which must resolve to a calendar week in range
1 - 53
. - isoWeek(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoWeek
-
Creates new
DateOperators.IsoWeek
. - isoWeekOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
-
Set the week of year to the value resolved by following the given
field reference
. - isoWeekOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoWeek
-
Creates new
DateOperators.IsoWeek
. - isoWeekOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
-
Set the week of year to the result of the given
expression
. - isoWeekOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoWeek
-
Creates new
DateOperators.IsoWeek
. - isoWeekYear() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the year number in ISO 8601-2018 format. - isoWeekYear(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromPartsOperatorFactory
-
Set the week date year to the given value which must resolve to a weekday in range
0 - 9999
. - isoWeekYear(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts.IsoDateFromPartsWithYear
-
Set the week date year to the given value which must resolve to a weekday in range
0 - 9999
. - isoWeekYear(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoWeekYear
-
Creates new
DateOperators.IsoWeekYear
. - isoWeekYearOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromPartsOperatorFactory
-
Set the week date year to the value resolved by following the given
field reference
. - isoWeekYearOf(String) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts.IsoDateFromPartsWithYear
-
Set the week date year to the value resolved by following the given
field reference
. - isoWeekYearOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoWeekYear
-
Creates new
DateOperators.IsoWeekYear
. - isoWeekYearOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromPartsOperatorFactory
-
Set the week date year to the result of the given
expression
. - isoWeekYearOf(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts.IsoDateFromPartsWithYear
-
Set the week date year to the result of the given
expression
. - isoWeekYearOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoWeekYear
-
Creates new
DateOperators.Millisecond
. - isPermissionDeniedCode(Integer) - Static method in class org.springframework.data.mongodb.util.MongoDbErrorCodes
- isQueryForEntity() - Method in class org.springframework.data.mongodb.repository.query.ReactiveMongoQueryMethod
- isReactiveClientPresent() - Static method in class org.springframework.data.mongodb.util.MongoClientVersion
- isReactorPresent() - Static method in class org.springframework.data.mongodb.aot.MongoAotPredicates
- isReferingToSystemVariable(String) - Static method in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
-
Return true if the given
fieldRef
denotes a well-known system variable, false otherwise. - isRemove() - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
- isRequired() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.RequiredJsonSchemaProperty
- isRequired() - Method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
- isRestrictedTypeKey(String) - Static method in class org.springframework.data.mongodb.core.query.Query
-
Deprecated.don't call this method as the restricted type handling will undergo some significant changes going forward.
- isResumeAfter() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions
- isReturnNew() - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
- isReturnNew() - Method in class org.springframework.data.mongodb.core.FindAndReplaceOptions
-
Get the bit indicating to return the replacement document.
- isRollbackOnly() - Method in class org.springframework.data.mongodb.MongoTransactionManager.MongoTransactionObject
- isRollbackOnly() - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager.ReactiveMongoTransactionObject
- isRunning() - Method in class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
- isSharded() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentEntity
- isSharded() - Method in class org.springframework.data.mongodb.core.mapping.ShardKey
-
Return whether the shard key represents a sharded key.
- isSkipResults() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
- isSorted() - Method in class org.springframework.data.mongodb.core.query.BasicQuery
- isSorted() - Method in class org.springframework.data.mongodb.core.query.Query
-
Returns true if the
Query
has a sort parameter. - isSorted() - Method in class org.springframework.data.mongodb.core.query.TextQuery
- isSparse() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
- isSpherical() - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Returns whether spharical values will be returned.
- isStartAfter() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions
- isStreamQuery() - Method in class org.springframework.data.mongodb.repository.query.ReactiveMongoQueryMethod
- isSubsetOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetIsSubset
-
Creates new
SetOperators.SetIsSubset
with all previously added arguments appending the given one. - isSubsetOf(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 true if it is a subset of the given arrayReference. - isSubsetOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetIsSubset
-
Creates new
SetOperators.SetIsSubset
with all previously added arguments appending the given one. - isSubsetOf(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 true if it is a subset of the givenAggregationExpression
. - isSyncClientPresent() - Static method in class org.springframework.data.mongodb.util.MongoClientVersion
- isSyncClientPresent(ClassLoader) - Static method in class org.springframework.data.mongodb.aot.MongoAotPredicates
- isText() - Method in class org.springframework.data.mongodb.core.index.IndexField
-
Returns whether the
IndexField
is a text index field. - isTextScoreProperty() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- isTextScoreProperty() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns whether the property holds the documents score calculated by text search.
- isTransactionActive() - Method in interface org.springframework.data.mongodb.MongoDatabaseFactory
-
Returns if the given
MongoDatabaseFactory
is bound to aClientSession
that has anactive transaction
. - isTransactionActive() - Method in interface org.springframework.data.mongodb.ReactiveMongoDatabaseFactory
-
Returns if the given
ReactiveMongoDatabaseFactory
is bound to aClientSession
that has anactive transaction
. - isTransactionActive(MongoDatabaseFactory) - Static method in class org.springframework.data.mongodb.MongoDatabaseUtils
-
Check if the
MongoDatabaseFactory
is actually bound to aClientSession
that has an active transaction, or if aTransactionSynchronization
has been registered for theresource
and if the associatedClientSession
has anactive transaction
. - isTransactionActive(ReactiveMongoDatabaseFactory) - Static method in class org.springframework.data.mongodb.ReactiveMongoDatabaseUtils
-
Check if the
ReactiveMongoDatabaseFactory
is actually bound to aClientSession
that has an active transaction, or if aTransactionSynchronization
has been registered for theresource
and if the associatedClientSession
has anactive transaction
. - isTransactionFailureCode(Integer) - Static method in class org.springframework.data.mongodb.util.MongoDbErrorCodes
-
Check if the given error code matches a know transaction related error.
- isTransient() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
- isTypeKey(String) - Method in class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
- isTypeKey(String) - Method in interface org.springframework.data.mongodb.core.convert.MongoTypeMapper
-
Returns whether the given key is the type key.
- isTypeKey(String) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
-
Returns whether the given
String
is the type key. - isUnaryMinus() - Method in class org.springframework.data.mongodb.core.spel.OperatorNode
-
Returns whether the operator is a unary minus, e.g. -1.
- isUnaryMinus(ExpressionNode) - Method in class org.springframework.data.mongodb.core.spel.LiteralNode
-
Returns whether the given
ExpressionNode
is a unary minus. - isUnaryOperator() - Method in class org.springframework.data.mongodb.core.spel.OperatorNode
-
Returns whether the operator is unary.
- isUnique() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
- isUnique() - Method in class org.springframework.data.mongodb.core.index.IndexPredicate
- isUnwrapped() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentEntity
- isUnwrapped() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
- isUpdateObject(Document) - Static method in class org.springframework.data.mongodb.core.convert.UpdateMapper
-
Returns true if the given
Document
is an update object that uses update operators. - isUpsert() - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
- isUpsert() - Method in class org.springframework.data.mongodb.core.FindAndReplaceOptions
-
Get the bit indicating if to create a new document if not exists.
- isVersioned() - Method in interface org.springframework.data.mongodb.repository.query.MongoEntityInformation
-
Returns whether the entity uses optimistic locking.
- isVersioned() - Method in class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
- isWeighted() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexedFieldSpec
- isWildcard() - Method in class org.springframework.data.mongodb.core.index.IndexField
-
Returns whether the
IndexField
is contains a wildcard expression. - isWildcard() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
- itemCount(int) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Slice
-
Slice the number of elements.
- itemCount(int) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.Slice.SliceElementsBuilder
-
Set the number of elements given nrElements.
- items(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- items(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
-
Define the
items
allowed in the array. - items(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- itemsOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.VariableOperators.Map
-
Starts building new
VariableOperators.Map
that applies anAggregationExpression
to each item of a referenced array and returns an array with the applied results. - itemsOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.VariableOperators.Map
-
Starts building new
VariableOperators.Map
that applies anAggregationExpression
to each item of a referenced array and returns an array with the applied results. - iterate() - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
- iterator() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationResults
- iterator() - Method in class org.springframework.data.mongodb.core.aggregation.ExposedFields
- iterator() - Method in class org.springframework.data.mongodb.core.aggregation.Fields
- iterator() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
-
Deprecated.
- iterator() - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
- iterator() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
J
- JAVA_SCRIPT - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- javaScriptMode(boolean) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.Flag that toggles behavior in the map-reduce operation so as to avoid intermediate conversion to BSON between the map and reduce steps.
- javascriptType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- JSON_TYPES - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- JsonSchemaMapper - Interface in org.springframework.data.mongodb.core.convert
-
JsonSchemaMapper
allows mapping a givenDocument
containing a $jsonSchema to the fields of a given domain type. - JsonSchemaObject - Interface in org.springframework.data.mongodb.core.schema
-
Interface that can be implemented by objects that know how to serialize themselves to JSON schema using
JsonSchemaObject.toDocument()
. - JsonSchemaObject.Type - Interface in org.springframework.data.mongodb.core.schema
-
Type represents either a JSON schema type or a MongoDB specific bsonType.
- JsonSchemaObject.Type.BsonType - Class in org.springframework.data.mongodb.core.schema
- JsonSchemaObject.Type.JsonType - Class in org.springframework.data.mongodb.core.schema
- jsonSchemaObjectDelegate - Variable in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty
- JsonSchemaProperty - Interface in org.springframework.data.mongodb.core.schema
-
A property or patternProperty within a
JsonSchemaObject
oftype : 'object'
. - JsonSchemaProperty.JsonSchemaPropertyBuilder - Class in org.springframework.data.mongodb.core.schema
-
Builder for
IdentifiableJsonSchemaProperty
. - JsonType(String) - Constructor for class org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type.JsonType
- jsonTypeOf(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- jsonTypes() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- just(Collation) - Static method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
by just providing theCollation
to use. - justCollection(String) - Static method in interface org.springframework.data.mongodb.core.messaging.SubscriptionRequest.RequestOptions
-
Create options with the provided collection.
- justDatabase(String) - Static method in interface org.springframework.data.mongodb.core.messaging.SubscriptionRequest.RequestOptions
-
Create options with the provided database.
K
- KEEP - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
-
One of the allowed results of a $redact expression
- KEEP - Static variable in class org.springframework.data.mongodb.core.aggregation.RedactOperation
-
Return/Keep all fields at the current document/embedded level.
- keepExistingDocument() - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsMatch
-
Keep the existing document in the output collection.
- keyId() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Encrypted
-
Get the
keyId
to use. - keyId(String) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
- keys(Object...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
- keys(UUID...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
L
- lang(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator.AccumulatorInitBuilder
-
The language used in the
$accumulator
code. - lang(String) - Method in class org.springframework.data.mongodb.core.aggregation.ScriptOperators.Function
-
The language used in the body.
- language() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Document
-
Defines the default language to be used with this document.
- Language - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
Mark property as language field.
- last() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that return the last element in the given array. - last() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Generates a builder for an
$last
-expression for the current value.. - last() - Static method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Last
- last(int) - Static method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Last
- last(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Last
-
Returns the last element in the given array.
- last(String) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$last
-expression for the given field-reference. - last(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$last
-expression for the givenAggregationExpression
. - Last(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Last
- LAST - Enum constant in enum class org.springframework.data.mongodb.core.query.Update.Position
- lastModified() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
- lastOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Last
-
Returns the last element in the array pointed to by the given
field reference
. - lastOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Last
-
Returns the last element of the array computed buy the given
expression
. - lazy() - Element in annotation interface org.springframework.data.mongodb.core.mapping.DBRef
-
Controls whether the referenced entity should be loaded lazily.
- lazy() - Element in annotation interface org.springframework.data.mongodb.core.mapping.DocumentReference
-
Controls whether the referenced entity should be loaded lazily.
- LazyLoadingException - Exception in org.springframework.data.mongodb
- LazyLoadingException(String, Throwable) - Constructor for exception org.springframework.data.mongodb.LazyLoadingException
-
Constructor for LazyLoadingException.
- LazyLoadingInterceptor(MongoPersistentProperty, DbRefResolverCallback, Object, PersistenceExceptionTranslator) - Constructor for class org.springframework.data.mongodb.core.convert.LazyLoadingProxyFactory.LazyLoadingInterceptor
- LazyLoadingProxy - Interface in org.springframework.data.mongodb.core.convert
-
Allows direct interaction with the underlying
LazyLoadingInterceptor
. - LazyLoadingProxyAotProcessor - Class in org.springframework.data.mongodb.aot
- LazyLoadingProxyAotProcessor() - Constructor for class org.springframework.data.mongodb.aot.LazyLoadingProxyAotProcessor
- LazyLoadingProxyFactory - Class in org.springframework.data.mongodb.core.convert
-
ProxyFactory
to create a proxy forPersistentProperty.getType()
to resolve a reference lazily. - LazyLoadingProxyFactory(PersistenceExceptionTranslator) - Constructor for class org.springframework.data.mongodb.core.convert.LazyLoadingProxyFactory
- LazyLoadingProxyFactory.LazyLoadingInterceptor - Class in org.springframework.data.mongodb.core.convert
- left() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Trim
-
Remove whitespace or the specified characters from the beginning of a string.
- length() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that takes the associated array and retrieves its length. - length() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that returns the number of UTF-8 bytes in the associated string representation. - length(Range<Integer>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
-
Define the valid length range (minLength and maxLength) for a valid field.
- lengthCP() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that returns the number of UTF-8 code points in the associated string representation. - lengthOfArray(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Size
-
Creates new
ArrayOperators.Size
. - lengthOfArray(Collection<?>) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Size
-
Creates new
ArrayOperators.Size
. - lengthOfArray(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Size
-
Creates new
ArrayOperators.Size
. - lessThan(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 less than the value of the referenced field. - lessThan(String) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Lt
-
Creates new
ComparisonOperators.Lt
with all previously added arguments appending the given one. - lessThan(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 less than the expression result. - lessThan(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Lt
-
Creates new
ComparisonOperators.Lt
with all previously added arguments appending the given one. - lessThanEqualTo(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 less than or equivalent to the value of the referenced field. - lessThanEqualTo(String) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Lte
-
Creates new
ComparisonOperators.Lte
with all previously added arguments appending the given one. - lessThanEqualTo(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 less than or equivalent to the expression result. - lessThanEqualTo(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Lte
-
Creates new
ComparisonOperators.Lte
with all previously added arguments appending the given one. - lessThanEqualToValue(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 less than or equivalent to the given value. - lessThanEqualToValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Lte
-
Creates new
ComparisonOperators.Lte
with all previously added arguments appending the given one. - lessThanValue(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 less than to the given value. - lessThanValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Lt
-
Creates new
ComparisonOperators.Lt
with all previously added arguments appending the given one. - let(Collection<VariableOperators.Let.ExpressionVariable>, AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$let
expression that binds variables for use in the specified expression, and returns the result of the expression. - let(AggregationExpression, String, AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$let
expression that binds variables for use in the specified expression, and returns the result of the expression. - let(VariableOperators.Let) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
Expose the variables defined by
VariableOperators.Let
to theupdate aggregation
. - LIKE - Enum constant in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator.MatchMode
- limit(int) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Max
-
Creates new
AccumulatorOperators.Max
that returns the given number of maxmimum values ($maxN). - limit(int) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Min
-
Creates new
AccumulatorOperators.Min
that returns the given number of minimum values ($minN). - limit(int) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Bottom
-
Limits the number of returned elements to the given value.
- limit(int) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.First
-
Limits the number of returned elements to the given value.
- limit(int) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Last
-
Limits the number of returned elements to the given value.
- limit(int) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Top
-
Limits the number of returned elements to the given value.
- limit(int) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.Limit the number of objects to return from the collection that is fed into the map reduce operation Often used in conjunction with a query and sort option so as to reduce the portion of the data that will be processed.
- limit(int) - Method in class org.springframework.data.mongodb.core.query.Query
-
Limit the number of returned documents to
limit
. - limit(long) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
LimitOperation
limiting the result to the given number of elements. - limit(long) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Configures the maximum number of results to return.
- limit(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Bottom
-
Limits the number of returned elements to the value defined by the given
expression
. - limit(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.First
-
Limits the number of returned elements to the value defined by the given
expression
. - limit(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Last
-
Limits the number of returned elements to the value defined by the given
expression
. - limit(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Top
-
Limits the number of returned elements to the value defined by the given
expression
. - LimitOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the
$limit
-operation. - LimitOperation(long) - Constructor for class org.springframework.data.mongodb.core.aggregation.LimitOperation
- listen() - Method in interface org.springframework.data.mongodb.core.ReactiveChangeStreamOperation.TerminatingChangeStream
-
Start listening to changes.
- LiteralNode - Class in org.springframework.data.mongodb.core.spel
-
A node representing a literal in an expression.
- LiteralOperatorFactory(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.LiteralOperators.LiteralOperatorFactory
-
Creates new
LiteralOperators.LiteralOperatorFactory
for given value. - LiteralOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to literal aggregation operations.
- LiteralOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.LiteralOperators
- LiteralOperators.Literal - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$literal
. - LiteralOperators.LiteralOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- ln() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the natural logarithm ln (i.e loge) of the assoicated number. - ln() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$ln
expression that takes the number of the previously mentioned field and calculates the natural logarithm ln (i.e loge) of it. - lnValueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Ln
-
Creates new
ArithmeticOperators.Ln
. - lnValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Ln
-
Creates new
ArithmeticOperators.Ln
. - lnValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Ln
-
Creates new
ArithmeticOperators.Ln
. - localField(String) - Method in interface org.springframework.data.mongodb.core.aggregation.LookupOperation.LocalFieldBuilder
- localField(String) - Method in class org.springframework.data.mongodb.core.aggregation.LookupOperation.LookupOperationBuilder
- locf() - Method in class org.springframework.data.mongodb.core.aggregation.EvaluationOperators.EvaluationOperatorFactory
-
Creates new
AggregationExpression
that is a valid aggregation expression. - locfValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.EvaluationOperators.LastObservationCarriedForward
-
Creates new
EvaluationOperators.LastObservationCarriedForward
. - locfValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.EvaluationOperators.LastObservationCarriedForward
-
Creates new
EvaluationOperators.LastObservationCarriedForward
. - log(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the log of a the associated number in the specified base. - log(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Log
-
Use the given value as log base.
- log(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$log
expression that takes the number of the previously mentioned field and calculates the log of the associated number in the specified base. - log(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the log of the associated number in the specified base referenced via fieldReference. - log(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Log
-
Use the value stored at the given field as log base.
- log(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$log
expression that takes the number of the previously mentioned field and calculates the log of the associated number in the specified base. - log(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the log of the associated number in the specified base extracted by givenAggregationExpression
. - log(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Log
-
Use the evaluated value of the given
AggregationExpression
as log base. - log(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$log
expression that takes the number of the previously mentioned field and calculates the log of the associated number in the specified base. - log10() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the log base 10 for the associated number. - log10() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$log10
expression that takes the number of the previously mentioned field and calculates the log base 10. - log10ValueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Log10
-
Creates new
ArithmeticOperators.Log10
. - log10ValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Log10
-
Creates new
ArithmeticOperators.Log10
. - log10ValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Log10
-
Creates new
ArithmeticOperators.Log10
. - LOGGER - Static variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- LOGGER - Static variable in class org.springframework.data.mongodb.core.convert.QueryMapper
- LoggingEventListener - Class in org.springframework.data.mongodb.core.mapping.event
-
ApplicationListener
for Mongo mapping events logging the events. - LoggingEventListener() - Constructor for class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
- longType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- lookup() - Element in annotation interface org.springframework.data.mongodb.core.mapping.DocumentReference
-
The single document lookup query.
- lookup(String, String, String, String) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
LookupOperation
. - lookup(Field, Field, Field, Field) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
LookupOperation
for the givenFields
. - lookup(SubscriptionRequest<?, ?, ?>) - Method in class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
- lookup(SubscriptionRequest<?, ?, ?>) - Method in interface org.springframework.data.mongodb.core.messaging.MessageListenerContainer
-
Lookup the given
SubscriptionRequest
within the container and return the associatedSubscription
if present. - LookupOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$lookup
-operation. - LookupOperation(Field, Field, Field, Field) - Constructor for class org.springframework.data.mongodb.core.aggregation.LookupOperation
-
Creates a new
LookupOperation
for the givenField
s. - LookupOperation.AsBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- LookupOperation.ForeignFieldBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- LookupOperation.FromBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- LookupOperation.LocalFieldBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- LookupOperation.LookupOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder for fluent
LookupOperation
creation. - LookupOperationBuilder() - Constructor for class org.springframework.data.mongodb.core.aggregation.LookupOperation.LookupOperationBuilder
- lower() - Static method in class org.springframework.data.mongodb.core.query.Collation.CaseFirst
-
Sort lowercase before uppercase.
- lower(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ToLower
-
Creates new
StringOperators.ToLower
. - lowerValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ToLower
-
Creates new
StringOperators.ToLower
. - lowerValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ToLower
-
Creates new
StringOperators.ToLower
. - lt(Number) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- lt(Number) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
-
Set maximum to given
max
value and exclusiveMaximum to true. - lt(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$lt
expression (less than) that compares the value of the field to a given value or field. - lt(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $lt operator.
- lte(Number) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- lte(Number) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
-
Set maximum to given
max
value and exclusiveMaximum to false. - lte(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$lte
expression (less than equal) that compares the value of the field to a given value or field. - lte(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $lte operator.
- ltrim() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and trims whitespaces from the beginning. - ltrim(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and trims the given character sequence from the beginning. - ltrim(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and trims the character sequence resulting from the givenAggregationExpression
from the beginning.
M
- map(String) - Method in interface org.springframework.data.mongodb.core.ExecutableMapReduceOperation.MapReduceWithMapFunction
-
Set the Javascript map
function()
. - map(String) - Method in interface org.springframework.data.mongodb.core.ReactiveMapReduceOperation.MapReduceWithMapFunction
-
Set the Javascript map
function()
. - map(Converter<? super Collation, ? extends R>) - Method in class org.springframework.data.mongodb.core.query.Collation
- MAP - Enum constant in enum class org.springframework.data.mongodb.core.spel.MethodReferenceNode.AggregationMethodReference.ArgumentType
- mapFieldsTo(Class<?>) - Method in class org.springframework.data.mongodb.core.aggregation.UnionWithOperation
-
Set domain type used for field name mapping of property references used by the
AggregationPipeline
. - mapItemsOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.VariableOperators
-
Starts building new
VariableOperators.Map
that applies anAggregationExpression
to each item of a referenced array and returns an array with the applied results. - mapItemsOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.VariableOperators
-
Starts building new
VariableOperators.Map
that applies anAggregationExpression
to each item of a referenced array and returns an array with the applied results. - mapKeyDotReplacement - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- MappedDocument - Class in org.springframework.data.mongodb.core
-
A MongoDB document in its mapped state.
- MAPPING_CONTEXT_BEAN_NAME - Static variable in class org.springframework.data.mongodb.config.BeanNames
- mappingContext - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- mappingMongoConverter(MongoDatabaseFactory, MongoCustomConversions, MongoMappingContext) - Method in class org.springframework.data.mongodb.config.AbstractMongoClientConfiguration
- mappingMongoConverter(ReactiveMongoDatabaseFactory, MongoCustomConversions, MongoMappingContext) - Method in class org.springframework.data.mongodb.config.AbstractReactiveMongoConfiguration
- MappingMongoConverter - Class in org.springframework.data.mongodb.core.convert
-
MongoConverter
that uses aMappingContext
to do sophisticated mapping of domain objects toDocument
. - MappingMongoConverter(DbRefResolver, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- MappingMongoConverter(MongoDatabaseFactory, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Deprecated.use the constructor taking a
DbRefResolver
instead. - MappingMongoConverter.ConversionContext - Interface in org.springframework.data.mongodb.core.convert
-
Conversion context defining an interface for graph-traversal-based conversion of documents.
- MappingMongoConverter.DefaultConversionContext - Class in org.springframework.data.mongodb.core.convert
-
Conversion context holding references to simple
MappingMongoConverter.DefaultConversionContext.ValueConverter
andMappingMongoConverter.DefaultConversionContext.ContainerValueConverter
. - MappingMongoConverterParser - Class in org.springframework.data.mongodb.config
-
Bean definition parser for the
mapping-converter
element. - MappingMongoConverterParser() - Constructor for class org.springframework.data.mongodb.config.MappingMongoConverterParser
- MappingMongoEntityInformation<T,
ID> - Class in org.springframework.data.mongodb.repository.support -
MongoEntityInformation
implementation using aMongoPersistentEntity
instance to lookup the necessary information. - MappingMongoEntityInformation(MongoPersistentEntity<T>) - Constructor for class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
-
Creates a new
MappingMongoEntityInformation
for the givenMongoPersistentEntity
. - MappingMongoEntityInformation(MongoPersistentEntity<T>, Class<ID>) - Constructor for class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
-
Creates a new
MappingMongoEntityInformation
for the givenMongoPersistentEntity
and fallback identifier type. - MappingMongoEntityInformation(MongoPersistentEntity<T>, String) - Constructor for class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
-
Creates a new
MappingMongoEntityInformation
for the givenMongoPersistentEntity
and custom collection name. - mapReduce(Class<T>) - Method in interface org.springframework.data.mongodb.core.ExecutableMapReduceOperation
-
Start creating a mapReduce operation for the given domainType.
- mapReduce(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- mapReduce(Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMapReduceOperation
-
Start creating a mapReduce operation for the given domainType.
- mapReduce(Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- mapReduce(String, String, String, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Deprecated.since 3.4 in favor of
MongoOperations.aggregate(TypedAggregation, Class)
. - mapReduce(String, String, String, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- mapReduce(String, String, String, MapReduceOptions, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Deprecated.since 3.4 in favor of
MongoOperations.aggregate(TypedAggregation, Class)
. - mapReduce(String, String, String, MapReduceOptions, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- mapReduce(Query, Class<?>, Class<T>, String, String, MapReduceOptions) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Deprecated.since 3.4 in favor of
ReactiveMongoOperations.aggregate(TypedAggregation, Class)
. - mapReduce(Query, Class<?>, Class<T>, String, String, MapReduceOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- mapReduce(Query, Class<?>, String, Class<T>, String, String, MapReduceOptions) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Deprecated.since 3.4 in favor of
ReactiveMongoOperations.aggregate(TypedAggregation, Class)
. - mapReduce(Query, Class<?>, String, Class<T>, String, String, MapReduceOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- mapReduce(Query, Class<?>, String, String, String, MapReduceOptions, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Deprecated.since 3.4 in favor of
MongoTemplate.aggregate(TypedAggregation, Class)
. - mapReduce(Query, String, String, String, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Deprecated.since 3.4 in favor of
MongoOperations.aggregate(TypedAggregation, Class)
. - mapReduce(Query, String, String, String, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- mapReduce(Query, String, String, String, MapReduceOptions, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Deprecated.since 3.4 in favor of
MongoOperations.aggregate(TypedAggregation, Class)
. - mapReduce(Query, String, String, String, MapReduceOptions, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- MapReduceCounts - Class in org.springframework.data.mongodb.core.mapreduce
-
Deprecated.since 3.4 in favor of
org.springframework.data.mongodb.core.aggregation
. - MapReduceCounts(long, long, long) - Constructor for class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
-
Deprecated.Creates a new
MapReduceCounts
using the given input count, emit count, and output count. - MapReduceOptions - Class in org.springframework.data.mongodb.core.mapreduce
-
Deprecated.since 3.4 in favor of
org.springframework.data.mongodb.core.aggregation
. - MapReduceOptions() - Constructor for class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.
- MapReduceResults<T> - Class in org.springframework.data.mongodb.core.mapreduce
-
Deprecated.since 3.4 in favor of
org.springframework.data.mongodb.core.aggregation
. - MapReduceResults(List<T>, Document) - Constructor for class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
-
Deprecated.Creates a new
MapReduceResults
from the given mapped results and the raw one. - MapReduceTiming - Class in org.springframework.data.mongodb.core.mapreduce
-
Deprecated.since 3.4 in favor of
org.springframework.data.mongodb.core.aggregation
. - MapReduceTiming(long, long, long) - Constructor for class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
-
Deprecated.
- mapSchema(Document, Class<?>) - Method in interface org.springframework.data.mongodb.core.convert.JsonSchemaMapper
-
Map the required and properties fields the given
Document
containing the $jsonSchema against the given domain type. - mapSchema(Document, Class<?>) - Method in class org.springframework.data.mongodb.core.convert.MongoJsonSchemaMapper
- mapValueToTargetType(S, Class<T>, DbRefResolver) - Method in interface org.springframework.data.mongodb.core.convert.MongoConverter
-
Mapping function capable of converting values into a desired target type by eg. extracting the actual java type from a given
BsonValue
. - Mark() - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader.Mark
- match(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
MatchOperation
using the givenAggregationExpression
. - match(Criteria) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
MatchOperation
using the givenCriteria
. - match(CriteriaDefinition) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
MatchOperation
using the givenCriteriaDefinition
. - matching() - Static method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- matching(String) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
- matching(String) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- matching(String) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
-
Define the regex pattern to validate field values against.
- matching(CriteriaDefinition) - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.DistinctWithQuery
-
Set the filter
criteria
to be used. - matching(CriteriaDefinition) - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.FindWithQuery
-
Set the filter
criteria
to be used. - matching(CriteriaDefinition) - Method in interface org.springframework.data.mongodb.core.ExecutableMapReduceOperation.MapReduceWithQuery
-
Set the filter
criteria
to be used. - matching(CriteriaDefinition) - Method in interface org.springframework.data.mongodb.core.ExecutableRemoveOperation.RemoveWithQuery
-
Set the filter
criteria
to be used. - matching(CriteriaDefinition) - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.UpdateWithQuery
-
Set the filter
criteria
to be used. - matching(CriteriaDefinition) - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.DistinctWithQuery
-
Set the filter
criteria
to be used. - matching(CriteriaDefinition) - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.FindWithQuery
-
Set the filter
criteria
to be used. - matching(CriteriaDefinition) - Method in interface org.springframework.data.mongodb.core.ReactiveMapReduceOperation.MapReduceWithQuery
-
Set the filter
criteria
to be used. - matching(CriteriaDefinition) - Method in interface org.springframework.data.mongodb.core.ReactiveRemoveOperation.RemoveWithQuery
-
Set the filter
criteria
to be used. - matching(CriteriaDefinition) - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.UpdateWithQuery
-
Set the filter
criteria
to be used. - matching(Query) - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.DistinctWithQuery
-
Set the filter query to be used.
- matching(Query) - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.FindWithQuery
-
Set the filter query to be used.
- matching(Query) - Method in interface org.springframework.data.mongodb.core.ExecutableMapReduceOperation.MapReduceWithQuery
-
Set the filter query to be used.
- matching(Query) - Method in interface org.springframework.data.mongodb.core.ExecutableRemoveOperation.RemoveWithQuery
-
Define the query filtering elements.
- matching(Query) - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.UpdateWithQuery
-
Filter documents by given query.
- matching(Query) - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.DistinctWithQuery
-
Set the filter query to be used.
- matching(Query) - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.FindWithQuery
-
Set the filter query to be used.
- matching(Query) - Method in interface org.springframework.data.mongodb.core.ReactiveMapReduceOperation.MapReduceWithQuery
-
Set the filter query to be used.
- matching(Query) - Method in interface org.springframework.data.mongodb.core.ReactiveRemoveOperation.RemoveWithQuery
-
Define the query filtering elements.
- matching(Query) - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.UpdateWithQuery
-
Filter documents by given query.
- matching(Term) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
-
Adds given
Term
to criteria. - matchingAll() - Static method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- matchingAny() - Static method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- matchingAny(String...) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
-
Configures the
TextCriteria
to match any of the given words. - matchingDocumentStructure(MongoJsonSchema) - Static method in class org.springframework.data.mongodb.core.query.Criteria
-
Static factory method to create a
Criteria
matching documents against a given structure defined by theMongoJsonSchema
using ($jsonSchema
) operator. - matchingPhrase(String) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
-
Given value will treated as a single phrase.
- MatchOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the
$match
-operation. - MatchOperation(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.MatchOperation
-
Creates a new
MatchOperation
for the givenAggregationExpression
. - MatchOperation(CriteriaDefinition) - Constructor for class org.springframework.data.mongodb.core.aggregation.MatchOperation
-
Creates a new
MatchOperation
for the givenCriteriaDefinition
. - max() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AggregationExpression
that takes the associated numeric value expression and returns the maximum value. - max() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that returns the maximum value. - max() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Generates a builder for an
$max
-expression for the current value. - max() - Element in annotation interface org.springframework.data.mongodb.core.index.GeoSpatialIndexed
-
Maximum value for indexed values.
- max(int) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AggregationExpression
that takes the associated numeric value expression and returns the requested number of maximum values. - max(String) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$max
-expression that for the given field-reference. - max(String, Object) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update given key to the
value
if thevalue
is greater than the current value of the field. - max(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$max
-expression that for the givenAggregationExpression
. - maxAwaitTime() - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestOptions
- maxAwaitTime() - Method in interface org.springframework.data.mongodb.core.messaging.SubscriptionRequest.RequestOptions
-
Get the maximum wait time (the time till the next Document is emitted) to apply when reading from the collection.
- maxAwaitTime(Duration) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the cursors maximum wait time on the server (for a new Document to be emitted).
- maxDepth(long) - Method in class org.springframework.data.mongodb.core.aggregation.GraphLookupOperation.GraphLookupOperationBuilder
-
Optionally limit the number of recursions.
- maxDistance(double) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a geo-spatial criterion using a $maxDistance operation, for use with $near or $nearSphere.
- maxDistance(double) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Sets the max distance results shall have from the configured origin.
- maxDistance(double, Metric) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Sets the maximum distance supplied in a given metric.
- maxDistance(Distance) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Sets the maximum distance to the given
Distance
. - maxDocuments(long) - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings andmaxDocuments
set to given value. - maxExecutionTimeMs() - Element in annotation interface org.springframework.data.mongodb.repository.Meta
-
Set the maximum time limit in milliseconds for processing operations.
- maxItems(int) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- maxItems(int) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
-
Define the maxItems.
- maxLength(int) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- maxLength(int) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
-
Define the valid length range (maxLength) for a valid field.
- maxOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Max
-
Creates new
AccumulatorOperators.Max
. - maxOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Max
-
Creates new
AccumulatorOperators.Max
. - maxProperties(int) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- maxProperties(int) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- maxProperties(int) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
-
Define the maxProperties.
- maxTime(Duration) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Set the time limit for processing.
- maxTime(Duration) - Method in class org.springframework.data.mongodb.core.query.Query
- maxTimeMsec(long) - Method in class org.springframework.data.mongodb.core.query.Query
- maxVariable(String) - Method in class org.springframework.data.mongodb.core.query.Collation
-
Set the field that determines up to which characters are considered ignorable when alternate is
shifted
. - maybeCallAfterConvert(T, Document, String) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- maybeCallAfterConvert(T, Document, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- maybeCallAfterConvert(T, Document, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- maybeCallAfterSave(T, Document, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- maybeCallAfterSave(T, Document, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- maybeCallBeforeConvert(T, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- maybeCallBeforeConvert(T, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- maybeCallBeforeSave(T, Document, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- maybeCallBeforeSave(T, Document, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- maybeConvertList(Iterable<?>, TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- maybeEmitEvent(E) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- maybeEmitEvent(E) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- MemoryMetrics - Class in org.springframework.data.mongodb.monitor
-
JMX Metrics for Memory
- MemoryMetrics(MongoClient) - Constructor for class org.springframework.data.mongodb.monitor.MemoryMetrics
- merge() - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Obtain a
builder
instance to create a newMergeOperation
. - merge() - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and uses $mergeObjects as an accumulator within the $group stage. - merge(Object...) - Static method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.MergeObjects
-
Creates new
aggregation expression
that takes given values and combines them into a single document. - merge(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ScriptOperators.Accumulator.AccumulatorMergeBuilder
-
Set the
merge
function used to merge two internal states. - merge(Document...) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Merge the given
documents
into on in the given order. - merge(MongoJsonSchema...) - Static method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema
-
Create a new
MongoJsonSchema
merging properties from the given sources. - merge(MongoJsonSchema.ConflictResolutionFunction, MongoJsonSchema...) - Static method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema
-
Create a new
MongoJsonSchema
merging properties from the given sources. - merged(Collection<JsonSchemaProperty>) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Merges multiple
JsonSchemaProperty
with potentially different attributes into one. - mergeDocuments() - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsMatch
-
Merge the matching documents.
- mergedSchemaFor(Class<?>...) - Method in interface org.springframework.data.mongodb.core.MongoJsonSchemaCreator
-
Create a merged
MongoJsonSchema
out of the individual schemas of the given types by merging their properties into one largeschema
. - mergeInto(String) - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation
-
Simplified form to apply all default options for
$merge
(including writing to a collection in the same database). - MergeOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the
$merge
-operation. - MergeOperation(MergeOperation.MergeOperationTarget, MergeOperation.UniqueMergeId, VariableOperators.Let, MergeOperation.WhenDocumentsMatch, MergeOperation.WhenDocumentsDontMatch) - Constructor for class org.springframework.data.mongodb.core.aggregation.MergeOperation
-
Create new instance of
MergeOperation
. - MergeOperation.MergeOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder API to construct a
MergeOperation
. - MergeOperation.MergeOperationTarget - Class in org.springframework.data.mongodb.core.aggregation
-
Value Object representing the
into
field of a$merge
aggregation stage. - MergeOperation.UniqueMergeId - Class in org.springframework.data.mongodb.core.aggregation
-
Value object representing the unique id used during the merge operation to identify duplicates in the target collection.
- MergeOperation.WhenDocumentsDontMatch - Class in org.springframework.data.mongodb.core.aggregation
-
Value Object specifying how to deal with a result document that do not match an existing document in the collection based on the fields of the
on
property describing the unique identifier. - MergeOperation.WhenDocumentsMatch - Class in org.springframework.data.mongodb.core.aggregation
-
Value Object specifying how to deal with a result document that matches an existing document in the collection based on the fields of the
on
property describing the unique identifier. - MergeOperationBuilder() - Constructor for class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
- mergeValuesOf(String...) - Static method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.MergeObjects
-
Creates new
aggregation expression
that takes the givenfield references
and combines them into a single document. - mergeValuesOf(AggregationExpression...) - Static method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.MergeObjects
-
Creates new
aggregation expression
that takes the result of the givenexpressions
and combines them into a single document. - mergeWith(Object...) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.MergeObjects
-
Creates new
aggregation expression
by adding the given values (documents or mapped objects). - mergeWith(Object...) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and combines it with the given values (documents or mapped objects) into a single document. - mergeWith(Collection<MongoJsonSchema>) - Method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema
-
Create a new
MongoJsonSchema
merging properties from the given sources. - mergeWith(Collection<MongoJsonSchema>, MongoJsonSchema.ConflictResolutionFunction) - Method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema
-
Create a new
MongoJsonSchema
merging properties from the given sources. - mergeWith(MongoJsonSchema...) - Method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema
-
Create a new
MongoJsonSchema
merging properties from the given sources. - mergeWithValuesOf(String...) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.MergeObjects
-
Creates new
aggregation expression
by adding the givenfield references
. - mergeWithValuesOf(String...) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and combines it with the values of the givenfield references
into a single document. - mergeWithValuesOf(AggregationExpression...) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.MergeObjects
-
Creates new
aggregation expression
by adding the givenexpressions
. - mergeWithValuesOf(AggregationExpression...) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and combines it with the result values of the givenexpressions
into a single document. - Message<S,
T> - Interface in org.springframework.data.mongodb.core.messaging -
General message abstraction for any type of Event / Message published by MongoDB server to the client.
- Message.MessageProperties - Class in org.springframework.data.mongodb.core.messaging
- Message.MessageProperties.MessagePropertiesBuilder - Class in org.springframework.data.mongodb.core.messaging
-
Builder for
Message.MessageProperties
. - MessageListener<S,
T> - Interface in org.springframework.data.mongodb.core.messaging -
Listener interface to receive delivery of
Messages
. - MessageListenerContainer - Interface in org.springframework.data.mongodb.core.messaging
-
Internal abstraction used by the framework representing a message listener container.
- MessageProperties() - Constructor for class org.springframework.data.mongodb.core.messaging.Message.MessageProperties
- MessagePropertiesBuilder() - Constructor for class org.springframework.data.mongodb.core.messaging.Message.MessageProperties.MessagePropertiesBuilder
- Meta - Class in org.springframework.data.mongodb.core.query
-
Meta-data for
Query
instances. - Meta - Annotation Interface in org.springframework.data.mongodb.repository
- Meta() - Constructor for class org.springframework.data.mongodb.core.query.Meta
- Meta.CursorOption - Enum Class in org.springframework.data.mongodb.core.query
-
Meta.CursorOption
representsOP_QUERY
wire protocol flags to change the behavior of queries. - metadata(Document) - Method in class org.springframework.data.mongodb.gridfs.GridFsObject.Options
- metadata(Document) - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload.GridFsUploadBuilder
-
Set the file metadata.
- metadata(Document) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder
-
Set the file metadata.
- MetadataBackedField(String, MongoPersistentEntity<?>, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
-
Creates a new
QueryMapper.MetadataBackedField
with the given name,MongoPersistentEntity
andMappingContext
. - MetadataBackedField(String, MongoPersistentEntity<?>, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>, MongoPersistentProperty) - Constructor for class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
-
Creates a new
QueryMapper.MetadataBackedField
with the given name,MongoPersistentEntity
andMappingContext
with the givenMongoPersistentProperty
. - metaField() - Element in annotation interface org.springframework.data.mongodb.core.mapping.TimeSeries
-
The name of the field which contains metadata in each time series document.
- metaField(String) - Method in class org.springframework.data.mongodb.core.CollectionOptions.TimeSeriesOptions
-
Set the name of the field which contains metadata in each time series document.
- metersToRadians(double) - Static method in class org.springframework.data.mongodb.core.query.MetricConversion
-
Return
distance
in radians (on an earth like sphere). - MethodReferenceNode - Class in org.springframework.data.mongodb.core.spel
-
An
ExpressionNode
representing a method reference. - MethodReferenceNode.AggregationMethodReference - Class in org.springframework.data.mongodb.core.spel
- MethodReferenceNode.AggregationMethodReference.ArgumentType - Enum Class in org.springframework.data.mongodb.core.spel
-
The actual argument type to use when mapping parameters to MongoDB specific format.
- MetricConversion - Class in org.springframework.data.mongodb.core.query
-
Metric
andDistance
conversions using the metric system. - MetricConversion() - Constructor for class org.springframework.data.mongodb.core.query.MetricConversion
- millisecond() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the millisecond portion of a date as an integer between 0 and 999. - millisecond(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
- millisecond(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateParts
-
Set the millisecond to the given value which must resolve to a value in range
0 - 999
. - millisecond(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
- millisecond(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Millisecond
-
Creates new
DateOperators.Millisecond
. - MILLISECOND - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnits
- MILLISECOND - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnits
- millisecondOf(String) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateParts
-
Set the millisecond to the value resolved by following the given
field reference
. - millisecondOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Millisecond
-
Creates new
DateOperators.Millisecond
. - millisecondOf(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateParts
-
Set the milliseconds to the result of the given
expression
. - millisecondOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Millisecond
-
Creates new
DateOperators.Millisecond
. - min() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AggregationExpression
that takes the associated numeric value expression and returns the minimum value. - min() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that returns the minimum value. - min() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Generates a builder for an
$min
-expression for the current value. - min() - Element in annotation interface org.springframework.data.mongodb.core.index.GeoSpatialIndexed
-
Minimum value for indexed values.
- min(int) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AggregationExpression
that takes the associated numeric value expression and returns the requested number of maximum values. - min(String) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$min
-expression that for the given field-reference. - min(String, Object) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update given key to the
value
if thevalue
is less than the current value of the field. - min(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$min
-expression that for the givenAggregationExpression
. - minDistance(double) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a geospatial criterion using a $minDistance operation, for use with $near or $nearSphere.
- minDistance(double) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Sets the minimum distance results shall have from the configured origin.
- minDistance(double, Metric) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Sets the minimum distance supplied in a given metric.
- minDistance(Distance) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Sets the minimum distance to the given
Distance
. - minItems(int) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- minItems(int) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
-
Define the maxItems.
- minLength(int) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- minLength(int) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
-
Define the valid length range (minLength) for a valid field.
- minOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Min
-
Creates new
AccumulatorOperators.Min
. - minOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Min
-
Creates new
AccumulatorOperators.Min
. - minProperties(int) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- minProperties(int) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- minProperties(int) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
-
Define the minProperties.
- minus(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$subtract
expression that subtracts the given number to the previously mentioned field. - minus(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$subtract
expression that subtracts the value of the given field to the previously mentioned field. - minus(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$subtract
expression that subtracts the result of the givenAggregationExpression
from the previously mentioned field. - minute() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the minute portion of a date as a number between 0 and 59. - minute(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
- minute(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateParts
-
Set the minute to the given value which must resolve to a value in range
0 - 59
. - minute(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
- minute(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Minute
-
Creates new
DateOperators.Minute
. - MINUTE - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnits
- MINUTE - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnits
- minuteOf(String) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateParts
-
Set the minute to the value resolved by following the given
field reference
. - minuteOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Minute
-
Creates new
DateOperators.Minute
. - minuteOf(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateParts
-
Set the minute to the result of the given
expression
. - minuteOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Minute
-
Creates new
DateOperators.Minute
. - MINUTES - Enum constant in enum class org.springframework.data.mongodb.core.timeseries.Granularity
-
Medium frequency ingestion.
- mod(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that divides the associated number by another and returns the remainder. - mod(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Mod
-
Use the given value as mod base.
- mod(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$mod
expression that divides the previously mentioned field by the given number and returns the remainder. - mod(Number, Number) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $mod operator.
- mod(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that divides the associated number by another and returns the remainder. - mod(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Mod
-
Use the value stored at the given field as mod base.
- mod(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$mod
expression that divides the value of the given field by the previously mentioned field and returns the remainder. - mod(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that divides the associated number by another and returns the remainder. - mod(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Mod
-
Use evaluated value of the given
AggregationExpression
as mod base. - mod(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$mod
expression that divides the value of the previously mentioned field by the result of theAggregationExpression
. - mode(OutOperation.OutMode) - Method in class org.springframework.data.mongodb.core.aggregation.OutOperation
-
Specify how to merge the aggregation output with the target collection.
- moderateValidation() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings andvalidationLevel
set toValidationLevel.MODERATE
. - Modifiers() - Constructor for class org.springframework.data.mongodb.core.query.Update.Modifiers
- modifies(String) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
- modifies(String) - Method in class org.springframework.data.mongodb.core.query.Update
-
Determine if a given
key
will be touched on execution. - modifies(String) - Method in interface org.springframework.data.mongodb.core.query.UpdateDefinition
-
Check if a given key is modified by applying the update.
- modifyOnCreate() - Element in annotation interface org.springframework.data.mongodb.config.EnableMongoAuditing
-
Configures whether the entity shall be marked as modified on creation.
- modifyOnCreate() - Element in annotation interface org.springframework.data.mongodb.config.EnableReactiveMongoAuditing
-
Configures whether the entity shall be marked as modified on creation.
- MongoAction - Class in org.springframework.data.mongodb.core
-
Represents an action taken against the collection.
- MongoAction(WriteConcern, MongoActionOperation, String, Class<?>, Document, Document) - Constructor for class org.springframework.data.mongodb.core.MongoAction
-
Create an instance of a
MongoAction
. - MongoActionOperation - Enum Class in org.springframework.data.mongodb.core
-
Enumeration for operations on a collection.
- MongoAdmin - Class in org.springframework.data.mongodb.core
-
Mongo server administration exposed via JMX annotations
- MongoAdmin(MongoClient) - Constructor for class org.springframework.data.mongodb.core.MongoAdmin
- MongoAdminOperations - Interface in org.springframework.data.mongodb.core
- MongoAnnotationProcessor - Class in org.springframework.data.mongodb.repository.support
-
Annotation processor to create Querydsl query types for QueryDsl annotated classes.
- MongoAnnotationProcessor() - Constructor for class org.springframework.data.mongodb.repository.support.MongoAnnotationProcessor
- MongoAotPredicates - Class in org.springframework.data.mongodb.aot
- MongoAotPredicates() - Constructor for class org.springframework.data.mongodb.aot.MongoAotPredicates
- MongoAuditingBeanDefinitionParser - Class in org.springframework.data.mongodb.config
-
BeanDefinitionParser
to register aAuditingEntityCallback
to transparently set auditing information on an entity. - MongoAuditingBeanDefinitionParser() - Constructor for class org.springframework.data.mongodb.config.MongoAuditingBeanDefinitionParser
- mongoClient() - Method in class org.springframework.data.mongodb.config.AbstractMongoClientConfiguration
-
Return the
MongoClient
instance to connect to. - MongoClientFactoryBean - Class in org.springframework.data.mongodb.core
-
Convenient factory for configuring MongoDB.
- MongoClientFactoryBean() - Constructor for class org.springframework.data.mongodb.core.MongoClientFactoryBean
- MongoClientParser - Class in org.springframework.data.mongodb.config
-
Parser for
mongo-client
definitions. - MongoClientParser() - Constructor for class org.springframework.data.mongodb.config.MongoClientParser
- mongoClientSettings() - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
-
Return the
MongoClientSettings
used to create the actual MongoClient. - MongoClientSettingsFactoryBean - Class in org.springframework.data.mongodb.core
-
A factory bean for construction of a
MongoClientSettings
instance to be used with a MongoDB driver. - MongoClientSettingsFactoryBean() - Constructor for class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- MongoClientVersion - Class in org.springframework.data.mongodb.util
-
MongoClientVersion
holds information about the used mongo-java client and is used to distinguish between different versions. - MongoClientVersion() - Constructor for class org.springframework.data.mongodb.util.MongoClientVersion
- MongoCollectionUtils - Class in org.springframework.data.mongodb
-
Helper class featuring helper methods for working with MongoDb collections.
- MongoConfigurationSupport - Class in org.springframework.data.mongodb.config
-
Base class for Spring Data MongoDB to be extended for JavaConfiguration usage.
- MongoConfigurationSupport() - Constructor for class org.springframework.data.mongodb.config.MongoConfigurationSupport
- MongoConversionContext - Class in org.springframework.data.mongodb.core.convert
-
ValueConversionContext
that allows to delegate read/write to an underlyingMongoConverter
. - MongoConversionContext(MongoPersistentProperty, MongoConverter) - Constructor for class org.springframework.data.mongodb.core.convert.MongoConversionContext
- MongoConverter - Interface in org.springframework.data.mongodb.core.convert
-
Central Mongo specific converter interface which combines
MongoWriter
andEntityReader
. - MongoConverterConfigurationAdapter() - Constructor for class org.springframework.data.mongodb.core.convert.MongoCustomConversions.MongoConverterConfigurationAdapter
- MongoCredentialPropertyEditor - Class in org.springframework.data.mongodb.config
-
Parse a
String
to a Collection ofMongoCredential
. - MongoCredentialPropertyEditor() - Constructor for class org.springframework.data.mongodb.config.MongoCredentialPropertyEditor
- MongoCustomConversions - Class in org.springframework.data.mongodb.core.convert
-
Value object to capture custom conversion.
- MongoCustomConversions(List<?>) - Constructor for class org.springframework.data.mongodb.core.convert.MongoCustomConversions
-
Create a new
MongoCustomConversions
instance registering the given converters. - MongoCustomConversions(MongoCustomConversions.MongoConverterConfigurationAdapter) - Constructor for class org.springframework.data.mongodb.core.convert.MongoCustomConversions
-
Create a new
MongoCustomConversions
givenMongoCustomConversions.MongoConverterConfigurationAdapter
. - MongoCustomConversions.MongoConverterConfigurationAdapter - Class in org.springframework.data.mongodb.core.convert
-
MongoCustomConversions.MongoConverterConfigurationAdapter
encapsulates creation ofCustomConversions.ConverterConfiguration
with MongoDB specifics. - MongoDatabaseFactory - Interface in org.springframework.data.mongodb
-
Interface for factories creating
MongoDatabase
instances. - MongoDatabaseFactoryReferenceLoader - Class in org.springframework.data.mongodb.core.convert
-
ReferenceLoader
implementation using aMongoDatabaseFactory
to obtain rawdocuments
for linked entities via aReferenceLoader.DocumentReferenceQuery
. - MongoDatabaseFactoryReferenceLoader(MongoDatabaseFactory) - Constructor for class org.springframework.data.mongodb.core.convert.MongoDatabaseFactoryReferenceLoader
- MongoDatabaseFactorySupport<C> - Class in org.springframework.data.mongodb.core
-
Common base class for usage with both
MongoClients
defining common properties such as database name and exception translator. - MongoDatabaseFactorySupport(C, String, boolean, PersistenceExceptionTranslator) - Constructor for class org.springframework.data.mongodb.core.MongoDatabaseFactorySupport
-
Create a new
MongoDatabaseFactorySupport
object givenmongoClient
,databaseName
,mongoInstanceCreated
andPersistenceExceptionTranslator
. - MongoDatabaseUtils - Class in org.springframework.data.mongodb
-
Helper class for managing a
MongoDatabase
instances viaMongoDatabaseFactory
. - MongoDatabaseUtils() - Constructor for class org.springframework.data.mongodb.MongoDatabaseUtils
- MongoDataIntegrityViolationException - Exception in org.springframework.data.mongodb.core
-
Mongo-specific
DataIntegrityViolationException
. - MongoDataIntegrityViolationException(String, WriteConcernResult, MongoActionOperation) - Constructor for exception org.springframework.data.mongodb.core.MongoDataIntegrityViolationException
-
Creates a new
MongoDataIntegrityViolationException
using the given message andWriteConcernResult
. - MongoDbErrorCodes - Class in org.springframework.data.mongodb.util
-
MongoDbErrorCodes
holds MongoDB specific error codes outlined in mongo/base/error_codes.err. - MongoDbErrorCodes() - Constructor for class org.springframework.data.mongodb.util.MongoDbErrorCodes
- mongoDbFactory() - Method in class org.springframework.data.mongodb.config.AbstractMongoClientConfiguration
-
Creates a
SimpleMongoClientDatabaseFactory
to be used by theMongoTemplate
. - MongoDbFactoryParser - Class in org.springframework.data.mongodb.config
-
BeanDefinitionParser
to parsedb-factory
elements intoBeanDefinition
s. - MongoDbFactoryParser() - Constructor for class org.springframework.data.mongodb.config.MongoDbFactoryParser
- mongodbSerializer() - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
- MongoEncryptionSettingsFactoryBean - Class in org.springframework.data.mongodb.core
-
FactoryBean
for creatingAutoEncryptionSettings
using theAutoEncryptionSettings.Builder
. - MongoEncryptionSettingsFactoryBean() - Constructor for class org.springframework.data.mongodb.core.MongoEncryptionSettingsFactoryBean
- MongoEntityInformation<T,
ID> - Interface in org.springframework.data.mongodb.repository.query -
Mongo specific
EntityInformation
. - MongoEntityMetadata<T> - Interface in org.springframework.data.mongodb.repository.query
-
Extension of
EntityMetadata
to additionally expose the collection name an entity shall be persisted to. - MongoExampleMapper - Class in org.springframework.data.mongodb.core.convert
-
Mapper from
Example
to a queryDocument
. - MongoExampleMapper(MongoConverter) - Constructor for class org.springframework.data.mongodb.core.convert.MongoExampleMapper
-
Create a new
MongoTypeMapper
givenMongoConverter
. - MongoExceptionTranslator - Class in org.springframework.data.mongodb.core
-
Simple
PersistenceExceptionTranslator
for Mongo. - MongoExceptionTranslator() - Constructor for class org.springframework.data.mongodb.core.MongoExceptionTranslator
- MongoExpression - Interface in org.springframework.data.mongodb
-
Wrapper object for MongoDB expressions like
$toUpper : $name
that manifest asDocument
when passed on to the driver. - MongoHandlerObservationConvention - Interface in org.springframework.data.mongodb.observability
-
ObservationConvention
forMongoHandlerContext
. - MongoId - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
MongoId
represents a MongoDB specificId
annotation that allows customizing id conversion. - MongoJmxParser - Class in org.springframework.data.mongodb.config
- MongoJmxParser() - Constructor for class org.springframework.data.mongodb.config.MongoJmxParser
- MongoJsonSchema - Interface in org.springframework.data.mongodb.core.schema
-
Interface defining MongoDB-specific JSON schema object.
- MongoJsonSchema.ConflictResolutionFunction - Interface in org.springframework.data.mongodb.core.schema
-
A resolution function that is called on conflicting paths when trying to merge properties with different values into a single value.
- MongoJsonSchema.ConflictResolutionFunction.Path - Interface in org.springframework.data.mongodb.core.schema
- MongoJsonSchema.ConflictResolutionFunction.Resolution - Interface in org.springframework.data.mongodb.core.schema
-
The result after processing a conflict when merging schemas.
- MongoJsonSchema.MongoJsonSchemaBuilder - Class in org.springframework.data.mongodb.core.schema
-
MongoJsonSchema.MongoJsonSchemaBuilder
provides a fluent API for defining aMongoJsonSchema
. - MongoJsonSchemaCreator - Interface in org.springframework.data.mongodb.core
-
MongoJsonSchemaCreator
extracts theMongoJsonSchema
for a givenClass
by applying the following mapping rules. - MongoJsonSchemaCreator.JsonSchemaPropertyContext - Interface in org.springframework.data.mongodb.core
-
The context in which a specific
MongoJsonSchemaCreator.JsonSchemaPropertyContext.getProperty()
is encountered during schema creation. - MongoJsonSchemaCreator.PropertySpecifier - Interface in org.springframework.data.mongodb.core
- MongoJsonSchemaMapper - Class in org.springframework.data.mongodb.core.convert
-
JsonSchemaMapper
implementation using the conversion and mapping infrastructure for mapping fields to the provided domain type. - MongoJsonSchemaMapper(MongoConverter) - Constructor for class org.springframework.data.mongodb.core.convert.MongoJsonSchemaMapper
-
Create a new
MongoJsonSchemaMapper
facilitating the givenMongoConverter
. - mongoManagedTypes() - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
- MongoManagedTypes - Class in org.springframework.data.mongodb
- mongoMappingContext(MongoCustomConversions, MongoManagedTypes) - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
-
Creates a
MongoMappingContext
equipped with entity classes scanned from the mapping base package. - MongoMappingContext - Class in org.springframework.data.mongodb.core.mapping
-
Default implementation of a
MappingContext
for MongoDB usingBasicMongoPersistentEntity
andBasicMongoPersistentProperty
as primary abstractions. - MongoMappingContext() - Constructor for class org.springframework.data.mongodb.core.mapping.MongoMappingContext
-
Creates a new
MongoMappingContext
. - MongoMappingEvent<T> - Class in org.springframework.data.mongodb.core.mapping.event
-
Base
ApplicationEvent
triggered by Spring Data MongoDB. - MongoMappingEvent(T, Document, String) - Constructor for class org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent
-
Creates new
MongoMappingEvent
. - MongoMappingEventPublisher - Class in org.springframework.data.mongodb.core.index
-
An implementation of ApplicationEventPublisher that will only fire
MappingContextEvent
s for use by the index creator when MongoTemplate is used 'stand-alone', that is not declared inside a SpringApplicationContext
. - MongoMappingEventPublisher(ApplicationListener<MappingContextEvent<?, ?>>) - Constructor for class org.springframework.data.mongodb.core.index.MongoMappingEventPublisher
-
Creates a new
MongoMappingEventPublisher
for the givenApplicationListener
. - MongoMappingEventPublisher(MongoPersistentEntityIndexCreator) - Constructor for class org.springframework.data.mongodb.core.index.MongoMappingEventPublisher
-
Creates a new
MongoMappingEventPublisher
for the givenMongoPersistentEntityIndexCreator
. - MongoNamespaceHandler - Class in org.springframework.data.mongodb.config
-
NamespaceHandler
for Mongo DB configuration. - MongoNamespaceHandler() - Constructor for class org.springframework.data.mongodb.config.MongoNamespaceHandler
- MongoObservationCommandListener - Class in org.springframework.data.mongodb.observability
-
Implement MongoDB's
CommandListener
using Micrometer'sObservation
API. - MongoObservationCommandListener(ObservationRegistry) - Constructor for class org.springframework.data.mongodb.observability.MongoObservationCommandListener
-
Create a new
MongoObservationCommandListener
to recordObservation
s. - MongoObservationCommandListener(ObservationRegistry, ConnectionString) - Constructor for class org.springframework.data.mongodb.observability.MongoObservationCommandListener
-
Create a new
MongoObservationCommandListener
to recordObservation
s. - MongoOperations - Interface in org.springframework.data.mongodb.core
-
Interface that specifies a basic set of MongoDB operations.
- mongoOperator() - Method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation
- mongoOperator() - Method in class org.springframework.data.mongodb.core.aggregation.SetOperation
- MongoParameterAccessor - Interface in org.springframework.data.mongodb.repository.query
-
Mongo-specific
ParameterAccessor
exposing a maximum distance parameter. - MongoParameters - Class in org.springframework.data.mongodb.repository.query
-
Custom extension of
Parameters
discovering additional - MongoParameters(Method, boolean) - Constructor for class org.springframework.data.mongodb.repository.query.MongoParameters
- MongoParametersParameterAccessor - Class in org.springframework.data.mongodb.repository.query
-
Mongo-specific
ParametersParameterAccessor
to allow access to theDistance
parameter. - MongoParametersParameterAccessor(MongoQueryMethod, Object[]) - Constructor for class org.springframework.data.mongodb.repository.query.MongoParametersParameterAccessor
-
Creates a new
MongoParametersParameterAccessor
. - MongoPersistentEntity<T> - Interface in org.springframework.data.mongodb.core.mapping
-
MongoDB specific
PersistentEntity
abstraction. - MongoPersistentEntityIndexCreator - Class in org.springframework.data.mongodb.core.index
-
Component that inspects
MongoPersistentEntity
instances contained in the givenMongoMappingContext
for indexing metadata and ensures the indexes to be available. - MongoPersistentEntityIndexCreator(MongoMappingContext, IndexOperationsProvider) - Constructor for class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator
-
Creates a new
MongoPersistentEntityIndexCreator
for the givenMongoMappingContext
andMongoDatabaseFactory
. - MongoPersistentEntityIndexCreator(MongoMappingContext, IndexOperationsProvider, IndexResolver) - Constructor for class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator
-
Creates a new
MongoPersistentEntityIndexCreator
for the givenMongoMappingContext
andMongoDatabaseFactory
. - MongoPersistentEntityIndexResolver - Class in org.springframework.data.mongodb.core.index
-
IndexResolver
implementation inspectingMongoPersistentEntity
forMongoPersistentEntity
to be indexed. - MongoPersistentEntityIndexResolver(MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver
-
Create new
MongoPersistentEntityIndexResolver
. - MongoPersistentEntityIndexResolver.CyclicPropertyReferenceException - Exception in org.springframework.data.mongodb.core.index
- MongoPersistentEntityIndexResolver.IndexDefinitionHolder - Class in org.springframework.data.mongodb.core.index
-
Implementation of
IndexDefinition
holding additional (property)path information used for creating the index. - MongoPersistentProperty - Interface in org.springframework.data.mongodb.core.mapping
-
MongoDB specific
PersistentProperty
extension. - MongoPersistentProperty.PropertyToFieldNameConverter - Enum Class in org.springframework.data.mongodb.core.mapping
-
Simple
Converter
implementation to transform aMongoPersistentProperty
into its field name. - MongoQueryMethod - Class in org.springframework.data.mongodb.repository.query
-
Mongo specific implementation of
QueryMethod
. - MongoQueryMethod(Method, RepositoryMetadata, ProjectionFactory, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.repository.query.MongoQueryMethod
-
Creates a new
MongoQueryMethod
from the givenMethod
. - MongoRegexCreator - Enum Class in org.springframework.data.mongodb.core.query
- MongoRegexCreator.MatchMode - Enum Class in org.springframework.data.mongodb.core.query
-
Match modes for treatment of
String
values. - MongoRepository<T,
ID> - Interface in org.springframework.data.mongodb.repository -
Mongo specific
Repository
interface. - MongoRepositoryBean<T> - Class in org.springframework.data.mongodb.repository.cdi
-
CdiRepositoryBean
to create Mongo repository instances. - MongoRepositoryBean(Bean<MongoOperations>, Set<Annotation>, Class<T>, BeanManager, Optional<CustomRepositoryImplementationDetector>) - Constructor for class org.springframework.data.mongodb.repository.cdi.MongoRepositoryBean
-
Creates a new
MongoRepositoryBean
. - MongoRepositoryConfigNamespaceHandler - Class in org.springframework.data.mongodb.repository.config
-
NamespaceHandler
to register repository configuration. - MongoRepositoryConfigNamespaceHandler() - Constructor for class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigNamespaceHandler
- MongoRepositoryConfigurationExtension - Class in org.springframework.data.mongodb.repository.config
-
RepositoryConfigurationExtension
for MongoDB. - MongoRepositoryConfigurationExtension() - Constructor for class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
- MongoRepositoryExtension - Class in org.springframework.data.mongodb.repository.cdi
-
CDI extension to export Mongo repositories.
- MongoRepositoryExtension() - Constructor for class org.springframework.data.mongodb.repository.cdi.MongoRepositoryExtension
- MongoRepositoryFactory - Class in org.springframework.data.mongodb.repository.support
-
Factory to create
MongoRepository
instances. - MongoRepositoryFactory(MongoOperations) - Constructor for class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
-
Creates a new
MongoRepositoryFactory
with the givenMongoOperations
. - MongoRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,
ID>, S, ID extends Serializable> - Class in org.springframework.data.mongodb.repository.support -
FactoryBean
to createMongoRepository
instances. - MongoRepositoryFactoryBean(Class<? extends T>) - Constructor for class org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
-
Creates a new
MongoRepositoryFactoryBean
for the given repository interface. - MongoServerApiFactoryBean - Class in org.springframework.data.mongodb.core
-
FactoryBean
for creatingServerApi
using theServerApi.Builder
. - MongoServerApiFactoryBean() - Constructor for class org.springframework.data.mongodb.core.MongoServerApiFactoryBean
- MongoSessionProvider - Interface in org.springframework.data.mongodb
-
A simple interface for obtaining a
ClientSession
to be consumed byMongoOperations
and MongoDB native operations that support causal consistency and transactions. - MongoSimpleTypes - Class in org.springframework.data.mongodb.core.mapping
-
Simple constant holder for a
SimpleTypeHolder
enriched with Mongo specific simple types. - mongoTemplate(MongoDatabaseFactory, MappingMongoConverter) - Method in class org.springframework.data.mongodb.config.AbstractMongoClientConfiguration
-
Creates a
MongoTemplate
. - MongoTemplate - Class in org.springframework.data.mongodb.core
-
Primary implementation of
MongoOperations
. - MongoTemplate(MongoClient, String) - Constructor for class org.springframework.data.mongodb.core.MongoTemplate
-
Constructor used for a basic template configuration.
- MongoTemplate(MongoDatabaseFactory) - Constructor for class org.springframework.data.mongodb.core.MongoTemplate
-
Constructor used for a basic template configuration.
- MongoTemplate(MongoDatabaseFactory, MongoConverter) - Constructor for class org.springframework.data.mongodb.core.MongoTemplate
-
Constructor used for a basic template configuration.
- mongoTemplateRef() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Configures the name of the
MongoTemplate
bean to be used with the repositories detected. - MongoTransactionException - Exception in org.springframework.data.mongodb
-
A specific
ClientSessionException
related to issues with a transaction such as aborted or non existing transactions. - MongoTransactionException(String) - Constructor for exception org.springframework.data.mongodb.MongoTransactionException
-
Constructor for
MongoTransactionException
. - MongoTransactionException(String, Throwable) - Constructor for exception org.springframework.data.mongodb.MongoTransactionException
-
Constructor for
ClientSessionException
. - MongoTransactionManager - Class in org.springframework.data.mongodb
-
A
PlatformTransactionManager
implementation that managesClientSession
based transactions for a singleMongoDatabaseFactory
. - MongoTransactionManager() - Constructor for class org.springframework.data.mongodb.MongoTransactionManager
-
Create a new
MongoTransactionManager
for bean-style usage. - MongoTransactionManager(MongoDatabaseFactory) - Constructor for class org.springframework.data.mongodb.MongoTransactionManager
-
Create a new
MongoTransactionManager
obtaining sessions from the givenMongoDatabaseFactory
. - MongoTransactionManager(MongoDatabaseFactory, TransactionOptions) - Constructor for class org.springframework.data.mongodb.MongoTransactionManager
-
Create a new
MongoTransactionManager
obtaining sessions from the givenMongoDatabaseFactory
applying the givenoptions
, if present, when starting a new transaction. - MongoTransactionManager.MongoTransactionObject - Class in org.springframework.data.mongodb
-
MongoDB specific transaction object, representing a
MongoResourceHolder
. - MongoTypeMapper - Interface in org.springframework.data.mongodb.core.convert
-
Mongo-specific
TypeMapper
exposing thatDocument
s might contain a type key. - MongoValueConverter<S,
T> - Interface in org.springframework.data.mongodb.core.convert -
MongoDB-specific
PropertyValueConverter
extension. - MongoWriter<T> - Interface in org.springframework.data.mongodb.core.convert
-
A MongoWriter is responsible for converting an object of type T to the native MongoDB representation Document.
- month() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the month of a date as a number between 1 and 12. - month(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
-
Set the month to the given value which must resolve to a calendar month in range
1 - 12
. - month(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Month
-
Creates new
DateOperators.Month
. - MONTH - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnits
- MONTH - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnits
- monthOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
-
Set the month to the value resolved by following the given
field reference
. - monthOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Month
-
Creates new
DateOperators.Month
. - monthOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
-
Set the month to the result of the given
expression
. - monthOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Month
-
Creates new
DateOperators.Month
. - multipleOf(Number) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- multipleOf(Number) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
-
Set the value a valid field value must be the multiple of.
- multiply(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$multiply
expression that multiplies the given number with the previously mentioned field. - multiply(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$multiply
expression that multiplies the value of the given field with the previously mentioned field. - multiply(String, Number) - Method in class org.springframework.data.mongodb.core.query.Update
-
Multiply the value of given key by the given number.
- multiply(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$multiply
expression that multiplies the previously with the result of theAggregationExpression
. mentioned field. - multiplyBy(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that multiplies the associated number with another. - multiplyBy(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Multiply
-
Multiply by the given value.
- multiplyBy(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that multiplies the associated number with another. - multiplyBy(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Multiply
-
Multiply by the value stored at the given field.
- multiplyBy(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that multiplies the associated number with another. - multiplyBy(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Multiply
-
Multiply by the evaluated value of the given
AggregationExpression
.
N
- n(int) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.ExpMovingAvg
-
Define the number of historical documents with significant mathematical weight.
- name - Variable in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
- name() - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.TemporalUnit
- name() - Method in interface org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnit
- name() - Method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnit
- name() - Element in annotation interface org.springframework.data.mongodb.core.index.CompoundIndex
-
Index name of the index to be created either as plain value or as
template expression
. - name() - Element in annotation interface org.springframework.data.mongodb.core.index.GeoSpatialIndexed
-
Index name either as plain value or as
template expression
. - name() - Element in annotation interface org.springframework.data.mongodb.core.index.Indexed
-
Index name either as plain value or as
template expression
. - name() - Element in annotation interface org.springframework.data.mongodb.core.index.WildcardIndexed
-
Index name either as plain value or as
template expression
. - name() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Field
-
The key to be used to store the field inside the document.
- name() - Method in interface org.springframework.data.mongodb.core.timeseries.GranularityDefinition
- named(String) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
- named(String) - Method in class org.springframework.data.mongodb.core.index.Index
- named(String) - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
-
Define the name to be used when creating the index in the store.
- named(String) - Method in class org.springframework.data.mongodb.core.index.WildcardIndex
-
Set the index name to use.
- named(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Obtain a builder to create a
JsonSchemaProperty
. - NamedMongoScript - Class in org.springframework.data.mongodb.core.script
-
Deprecated.since 2.2. The
eval
command has been removed without replacement in MongoDB Server 4.2.0. - NamedMongoScript(String, String) - Constructor for class org.springframework.data.mongodb.core.script.NamedMongoScript
-
Deprecated.Creates new
NamedMongoScript
that can be saved to theMongoDatabase
instance. - NamedMongoScript(String, ExecutableMongoScript) - Constructor for class org.springframework.data.mongodb.core.script.NamedMongoScript
-
Deprecated.Creates new
NamedMongoScript
. - namedQueriesLocation() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Configures the location of where to find the Spring Data named queries properties file.
- namedQueriesLocation() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Configures the location of where to find the Spring Data named queries properties file.
- ne(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$ne
expression (not equal) that compares the value of the field to a given value or field. - ne(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $ne operator.
- near(double, double) - Static method in class org.springframework.data.mongodb.core.query.NearQuery
-
Creates a new
NearQuery
starting near the given coordinates. - near(double, double, Metric) - Static method in class org.springframework.data.mongodb.core.query.NearQuery
-
Creates a new
NearQuery
starting at the given coordinates using the givenMetric
to adapt given values to further configuration. - near(Point) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a geospatial criterion using a $near operation.
- near(Point) - Static method in class org.springframework.data.mongodb.core.query.NearQuery
-
Creates a new
NearQuery
starting at the givenPoint
. - near(Point, Metric) - Static method in class org.springframework.data.mongodb.core.query.NearQuery
-
Creates a
NearQuery
starting near the givenPoint
using the givenMetric
to adapt given values to further configuration. - near(NearQuery) - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.FindWithQuery
-
Set the filter query for the geoNear execution.
- near(NearQuery) - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.FindWithQuery
-
Set the filter query for the geoNear execution.
- Near - Annotation Interface in org.springframework.data.mongodb.repository
-
Annotation to be used for disambiguing method parameters that shall be used to trigger geo near queries.
- NearQuery - Class in org.springframework.data.mongodb.core.query
-
Builder class to build near-queries.
- nearSphere(Point) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a geospatial criterion using a $nearSphere operation.
- negate() - Method in class org.springframework.data.mongodb.core.query.Term
-
Negates the term.
- negateRaw(String) - Method in class org.springframework.data.mongodb.core.query.Term
- nested(Fields) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Defines a nested field binding for the current field.
- NEVER - Enum constant in enum class org.springframework.data.mongodb.SessionSynchronization
-
Do not participate in ongoing transactions.
- newAggregation(Class<T>, List<? extends AggregationOperation>) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
TypedAggregation
for the given type andAggregationOperation
s. - newAggregation(Class<T>, AggregationOperation...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
TypedAggregation
for the given type andAggregationOperation
s. - newAggregation(List<? extends AggregationOperation>) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
Aggregation
from the givenAggregationOperation
s. - newAggregation(AggregationOperation...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
Aggregation
from the givenAggregationOperation
s. - newAggregationOptions() - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Returns a new
AggregationOptions.Builder
. - newBucketOperation(BucketOperationSupport.Outputs) - Method in class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation
- newBucketOperation(BucketOperationSupport.Outputs) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperation
- newBucketOperation(BucketOperationSupport.Outputs) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport
-
Implementation hook to create a new bucket operation.
- newBuilder() - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond
-
Get a builder that allows fluent creation of
ConditionalOperators.Cond
. - newBuilder() - Static method in class org.springframework.data.mongodb.core.aggregation.LookupOperation.LookupOperationBuilder
-
Creates new builder for
LookupOperation
. - newBuilder() - Static method in class org.springframework.data.mongodb.core.aggregation.UnwindOperation.UnwindOperationBuilder
-
Creates new builder for
UnwindOperation
. - newInstance() - Static method in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
-
Create a new instance of
UntypedJsonSchemaObject
. - newLookup() - Static method in class org.springframework.data.mongodb.core.aggregation.LookupOperation
-
Get a builder that allows creation of
LookupOperation
. - newUnwind() - Static method in class org.springframework.data.mongodb.core.aggregation.UnwindOperation
-
Get a builder that allows creation of
LookupOperation
. - newUpdate(AggregationOperation...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
AggregationUpdate
from the givenAggregationOperation
s. - newVariable(String) - Static method in class org.springframework.data.mongodb.core.aggregation.VariableOperators.Let.ExpressionVariable
-
Create a new
VariableOperators.Let.ExpressionVariable
with given name. - nextConverted(MongoPersistentProperty) - Method in interface org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor.PotentiallyConvertingIterator
-
Returns the next element which has already been converted.
- nil() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Create a new
JsonSchemaObject
oftype : 'null'
. - nil(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty
with given identifier oftype : 'null'
. - nin(Object...) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $nin operator.
- nin(Collection<?>) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $nin operator.
- NO_OP_PREPARER - Static variable in interface org.springframework.data.mongodb.core.CursorPreparer
-
Default
CursorPreparer
just passing on the givenFindIterable
. - NO_OP_PREPARER - Static variable in interface org.springframework.data.mongodb.core.FindPublisherPreparer
-
Default
FindPublisherPreparer
just passing on the givenFindPublisher
. - NO_OP_REF_RESOLVER - Static variable in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- NO_TIMEOUT - Enum constant in enum class org.springframework.data.mongodb.core.query.Meta.CursorOption
-
Prevents the server from timing out idle cursors.
- noArrayIndex() - Method in interface org.springframework.data.mongodb.core.aggregation.UnwindOperation.IndexBuilder
-
Do not expose the array index.
- noArrayIndex() - Method in class org.springframework.data.mongodb.core.aggregation.UnwindOperation.UnwindOperationBuilder
- noCursorTimeout() - Method in class org.springframework.data.mongodb.core.query.Query
- noMapping() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Apply no domain type mapping at all taking the pipeline as-is.
- NON_NULL - Enum constant in enum class org.springframework.data.mongodb.core.mapping.Field.Write
-
Value that indicates that only properties with non-null values are to be included.
- none() - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Timezone
-
Return an empty
DateOperators.Timezone
. - none() - Static method in class org.springframework.data.mongodb.core.CollectionOptions.ValidationOptions
-
Create an empty
CollectionOptions.ValidationOptions
. - none() - Static method in class org.springframework.data.mongodb.core.convert.LazyLoadingProxyFactory.LazyLoadingInterceptor
- none() - Static method in class org.springframework.data.mongodb.core.FindAndModifyOptions
-
Static factory method returning an unmodifiable
FindAndModifyOptions
instance. - none() - Static method in class org.springframework.data.mongodb.core.FindAndReplaceOptions
-
Static factory method returning an unmodifiable
FindAndReplaceOptions
instance. - none() - Static method in class org.springframework.data.mongodb.core.mapping.ShardKey
-
ShardKey
indicating no shard key has been defined. - none() - Static method in interface org.springframework.data.mongodb.core.messaging.SubscriptionRequest.RequestOptions
-
Create empty options.
- none() - Static method in class org.springframework.data.mongodb.gridfs.GridFsObject.Options
-
Static factory to create empty options.
- NONE - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.AggregationOptions.DomainTypeMapping
-
Do not attempt to map fields against the model and treat the entire pipeline as-is.
- NONE - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnits
- NONE - Enum constant in enum class org.springframework.data.mongodb.core.WriteResultChecking
- NONE - Static variable in class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
-
Deprecated.
- nonIgnorable() - Static method in class org.springframework.data.mongodb.core.query.Collation.Alternate
-
Consider Whitespace and punctuation as base characters.
- nonSynthetic(Fields) - Static method in class org.springframework.data.mongodb.core.aggregation.ExposedFields
-
Creates non-synthetic
ExposedFields
from the givenFields
. - NoOpDbRefResolver - Enum Class in org.springframework.data.mongodb.core.convert
-
No-Operation
DBRef
resolver throwingUnsupportedOperationException
when attempting to resolve database references. - normalization(boolean) - Method in class org.springframework.data.mongodb.core.query.Collation
-
Set the flag that determines whether to check if text require normalization and to perform normalization.
- normalizationDisabled() - Method in class org.springframework.data.mongodb.core.query.Collation
-
Disable text normalization.
- normalizationEnabled() - Method in class org.springframework.data.mongodb.core.query.Collation
-
Enable text normalization.
- norOperator(Collection<Criteria>) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criteria using the
$nor
operator for all of the provided criteria. - norOperator(Criteria...) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criteria using the
$nor
operator for all of the provided criteria. - not() - Method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.BooleanOperatorFactory
-
Creates new
AggregationExpression
that evaluates a boolean and returns the opposite boolean value. - not() - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $not meta operator which affects the clause directly following
- not(String) - Static method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators
-
Creates new
AggregationExpression
that evaluates the boolean value of the referenced field and returns the opposite boolean value. - not(String) - Static method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.Not
-
Creates new
BooleanOperators.Not
that evaluates the boolean value of the referenced field and returns the opposite boolean value. - not(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators
-
Creates new
AggregationExpression
that evaluates the boolean value ofAggregationExpression
result and returns the opposite boolean value. - not(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.Not
-
Creates new
BooleanOperators.Not
that evaluates the resulting boolean value of the givenAggregationExpression
and returns the opposite boolean value. - notEqualTo(String) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.ComparisonOperatorFactory
-
Creates new
AggregationExpression
that compares two values and returns true when the values are not equivalent. - notEqualTo(String) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Ne
-
Creates new
ComparisonOperators.Ne
with all previously added arguments appending the given one. - notEqualTo(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.ComparisonOperatorFactory
-
Creates new
AggregationExpression
that compares two values and returns true when the values are not equivalent. - notEqualTo(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Ne
-
Creates new
ComparisonOperators.Ne
with all previously added arguments appending the given one. - notEqualToValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.ComparisonOperatorFactory
-
Creates new
AggregationExpression
that compares two values and returns true when the values are not equivalent. - notEqualToValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Ne
-
Creates new
ComparisonOperators.Eq
with all previously added arguments appending the given one. - notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
- notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
- notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.BooleanJsonSchemaObject
- notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject
-
The field value must not match the specified schemas.
- notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
- notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
- notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
- notMatch(JsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
-
The field value must not match the specified schemas.
- notMatching(String) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
- notMatchingAny(String...) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
- notMatchingPhrase(String) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
-
Given value will treated as a single phrase.
- NotOperatorNode - Class in org.springframework.data.mongodb.core.spel
- NotOperatorNode(OperatorNot, ExpressionState) - Constructor for class org.springframework.data.mongodb.core.spel.NotOperatorNode
- NOW - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
-
Variable for the current datetime.
- NULL - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- nullType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- number() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Create a new
JsonSchemaObject
oftype : 'number'
. - number(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
with given identifier oftype : 'number'
. - NUMBER - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- numberType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- NumericJsonSchemaProperty(String, TypedJsonSchemaObject.NumericJsonSchemaObject) - Constructor for class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- numericOrdering(boolean) - Method in class org.springframework.data.mongodb.core.query.Collation
-
Set the flag that determines whether to compare numeric strings as numbers or as strings.
- numericOrderingDisabled() - Method in class org.springframework.data.mongodb.core.query.Collation
-
Treat numeric strings as string for comparison.
- numericOrderingEnabled() - Method in class org.springframework.data.mongodb.core.query.Collation
-
Treat numeric strings as numbers for comparison.
O
- object() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Create a new
JsonSchemaObject
oftype : 'object'
. - object(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
with given identifier oftype : 'object'
. - OBJECT - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- OBJECT_ID - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- OBJECT_ID - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- objectId(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
JsonSchemaProperty
with given identifier ofbsonType : 'objectId'
. - objectIdType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- ObjectJsonSchemaObject() - Constructor for class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
- ObjectOperatorFactory(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectOperatorFactory
-
Creates new
ObjectOperators.ObjectOperatorFactory
for given value. - ObjectOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway for object expression operators.
- ObjectOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.ObjectOperators
- ObjectOperators.GetField - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$getField
. - ObjectOperators.MergeObjects - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$mergeObjects
that combines multiple documents into a single document. - ObjectOperators.ObjectOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- ObjectOperators.ObjectToArray - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$objectToArray
that converts a document to an array ofdocuments
that each contains two fields k and v. - ObjectOperators.SetField - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$setField
. - objectType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- of(Class<?>) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Create a new
JsonSchemaObject
matching the giventype
. - of(String) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.GetField
-
Creates new
aggregation expression
that takes the value pointed to by givenfield reference
. - of(String) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.First
-
Define the field to serve as source.
- of(String) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Last
-
Define the field to serve as source.
- of(String) - Static method in class org.springframework.data.mongodb.core.query.Collation.CollationLocale
-
Create new
Collation.CollationLocale
for given language. - of(String) - Static method in class org.springframework.data.mongodb.core.query.Collation
-
Create new
Collation
with locale set to the given ICU language. - of(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
-
Create a
JsonSchemaObject.Type
with its defaultrepresentation
via the name. - of(String, String) - Static method in interface org.springframework.data.mongodb.core.messaging.SubscriptionRequest.RequestOptions
-
Create options with the provided database and collection.
- of(Locale) - Static method in class org.springframework.data.mongodb.core.query.Collation
- of(Document) - Static method in class org.springframework.data.mongodb.core.index.PartialIndexFilter
-
Create new
PartialIndexFilter
for givenfilter expression
. - of(Document) - Static method in class org.springframework.data.mongodb.core.MappedDocument
- of(Document) - Static method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema
-
Create a new
MongoJsonSchema
for a given rootDocument
containing the schema definition. - of(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.GetField
-
Creates new
aggregation expression
that takes the value pointed to by givenAggregationExpression
. - of(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.First
-
Define the expression building the value to serve as source.
- of(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Last
-
Define the expression building the value to serve as source.
- of(AggregationOperation...) - Static method in class org.springframework.data.mongodb.core.aggregation.AggregationPipeline
- of(FindAndModifyOptions) - Static method in class org.springframework.data.mongodb.core.FindAndModifyOptions
-
Create new
FindAndModifyOptions
based on option of given source. - of(SubscriptionRequest.RequestOptions) - Static method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestOptions
- of(SubscriptionRequest.RequestOptions) - Static method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest.TailableCursorRequestOptions
- of(Collation.CollationLocale) - Static method in class org.springframework.data.mongodb.core.query.Collation
-
Create new
Collation
with locale set to the givenCollation.CollationLocale
. - of(CriteriaDefinition) - Static method in class org.springframework.data.mongodb.core.index.PartialIndexFilter
-
Create new
PartialIndexFilter
for givenfilter expression
. - of(Query) - Static method in class org.springframework.data.mongodb.core.query.Query
-
Create an independent copy of the given
Query
. - of(JsonSchemaObject) - Static method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema
-
Create a new
MongoJsonSchema
for a given root object. - of(JsonSchemaObject.Type) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Create a new
JsonSchemaObject
of givenJsonSchemaObject.Type
. - of(JsonSchemaObject.Type...) - Static method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject
-
Creates new
TypedJsonSchemaObject
of given types. - ofExpression(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Timezone
-
Create a
DateOperators.Timezone
for theAggregationExpression
resulting in the Olson Timezone Identifier or UTC Offset. - off() - Static method in class org.springframework.data.mongodb.core.query.Collation.CaseFirst
-
Use the default.
- ofField(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Timezone
-
Create a
DateOperators.Timezone
for theField
reference holding the Olson Timezone Identifier or UTC Offset. - offset(int) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Slice
-
Slice using offset and count.
- ofIdFields(String...) - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.UniqueMergeId
- ofType(Class<?>) - Method in class org.springframework.data.mongodb.core.schema.JsonSchemaProperty.JsonSchemaPropertyBuilder
-
Configure the
JsonSchemaObject.Type
for the property by deriving it from the giventype
. - ofType(JsonSchemaObject.Type) - Method in class org.springframework.data.mongodb.core.schema.JsonSchemaProperty.JsonSchemaPropertyBuilder
-
Configure a
JsonSchemaObject.Type
for the property. - ofValue(String, Object) - Static method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema.ConflictResolutionFunction.Resolution
-
Construct a resolution from a
key
andvalue
. - ofValue(MongoJsonSchema.ConflictResolutionFunction.Path, Object) - Static method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema.ConflictResolutionFunction.Resolution
-
Construct a resolution for a
MongoJsonSchema.ConflictResolutionFunction.Path
using the givenvalue
. - on(String...) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
Appends a single field or multiple fields that act as a unique identifier for a document.
- on(String, Sort.Direction) - Method in class org.springframework.data.mongodb.core.index.Index
- ON_ACTUAL_TRANSACTION - Enum constant in enum class org.springframework.data.mongodb.SessionSynchronization
-
Synchronize with native MongoDB transactions initiated via
MongoTransactionManager
. - onAfterConvert(AfterConvertEvent<E>) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
-
Captures
AfterConvertEvent
. - onAfterConvert(AfterConvertEvent<Object>) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
- onAfterConvert(T, Document, String) - Method in interface org.springframework.data.mongodb.core.mapping.event.AfterConvertCallback
-
Entity callback method invoked after a domain object is materialized from a
Document
. - onAfterConvert(T, Document, String) - Method in interface org.springframework.data.mongodb.core.mapping.event.ReactiveAfterConvertCallback
-
Entity callback method invoked after a domain object is materialized from a
Document
. - onAfterDelete(AfterDeleteEvent<E>) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
-
Captures
AfterDeleteEvent
. - onAfterDelete(AfterDeleteEvent<Object>) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
- onAfterLoad(AfterLoadEvent<E>) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
-
Captures
AfterLoadEvent
. - onAfterLoad(AfterLoadEvent<Object>) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
- onAfterSave(AfterSaveEvent<E>) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
-
Captures
AfterSaveEvent
. - onAfterSave(AfterSaveEvent<Object>) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
- onAfterSave(T, Document, String) - Method in interface org.springframework.data.mongodb.core.mapping.event.AfterSaveCallback
-
Entity callback method invoked after a domain object is saved.
- onAfterSave(T, Document, String) - Method in interface org.springframework.data.mongodb.core.mapping.event.ReactiveAfterSaveCallback
-
Entity callback method invoked after a domain object is saved.
- onAllFields() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
-
Define the index to span all fields using wildcard.
- onApplicationEvent(MappingContextEvent<?, ?>) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator
- onApplicationEvent(MongoMappingEvent<?>) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
- onBeforeConvert(Object, String) - Method in class org.springframework.data.mongodb.core.mapping.event.AuditingEntityCallback
- onBeforeConvert(Object, String) - Method in class org.springframework.data.mongodb.core.mapping.event.ReactiveAuditingEntityCallback
- onBeforeConvert(BeforeConvertEvent<E>) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
-
Captures
BeforeConvertEvent
. - onBeforeConvert(BeforeConvertEvent<Object>) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
- onBeforeConvert(T, String) - Method in interface org.springframework.data.mongodb.core.mapping.event.BeforeConvertCallback
-
Entity callback method invoked before a domain object is converted to be persisted.
- onBeforeConvert(T, String) - Method in interface org.springframework.data.mongodb.core.mapping.event.ReactiveBeforeConvertCallback
-
Entity callback method invoked before a domain object is converted to be persisted.
- onBeforeDelete(BeforeDeleteEvent<E>) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
-
Capture
BeforeDeleteEvent
. - onBeforeDelete(BeforeDeleteEvent<Object>) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
- onBeforeSave(BeforeSaveEvent<E>) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
-
Captures
BeforeSaveEvent
. - onBeforeSave(BeforeSaveEvent<Object>) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
- onBeforeSave(BeforeSaveEvent<Object>) - Method in class org.springframework.data.mongodb.core.mapping.event.ValidatingMongoEventListener
- onBeforeSave(T, Document, String) - Method in interface org.springframework.data.mongodb.core.mapping.event.BeforeSaveCallback
-
Entity callback method invoked before a domain object is saved.
- onBeforeSave(T, Document, String) - Method in interface org.springframework.data.mongodb.core.mapping.event.ReactiveBeforeSaveCallback
-
Entity callback method invoked before a domain object is saved.
- one() - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.TerminatingFind
-
Get exactly zero or one result.
- one() - Method in interface org.springframework.data.mongodb.core.ExecutableRemoveOperation.TerminatingRemove
-
Remove the first matching document.
- one() - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.TerminatingFind
-
Get exactly zero or one result.
- one(T) - Method in interface org.springframework.data.mongodb.core.ExecutableInsertOperation.TerminatingInsert
-
Insert exactly one object.
- one(T) - Method in interface org.springframework.data.mongodb.core.ReactiveInsertOperation.TerminatingInsert
-
Insert exactly one object.
- onEmpty() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Unwrapped
-
Set the load strategy for the unwrapped object if all contained fields yield null values.
- oneOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- oneOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- oneOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- oneOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- oneOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
- oneOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
- oneOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.BooleanJsonSchemaObject
- oneOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
- oneOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
- oneOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject
-
The field value must match exactly one of the specified schemas.
- oneOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
- oneOf(Collection<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
-
The field value must match exactly one of the specified schemas.
- oneOf(Set<JsonSchemaObject>) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- oneOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- oneOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- oneOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- oneOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- oneOf(JsonSchemaObject...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
- onErrorReturn(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Optionally specify the value to return on encountering an error during conversion.
- onErrorReturnValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Optionally specify the field holding the value to return on encountering an error during conversion.
- onErrorReturnValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Optionally specify the expression to evaluate and return on encountering an error during conversion.
- oneValue() - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.TerminatingFind
-
Get exactly zero or one result.
- onField(String) - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
-
Include given field with default weight.
- onField(String, Float) - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
-
Include given field with weight.
- onFields(String...) - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
-
Include given fields with default weight.
- onMessage(Message<S, T>) - Method in interface org.springframework.data.mongodb.core.messaging.MessageListener
-
Callback invoked on receiving
Message
. - onNullReturn(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Optionally specify the value to return when the input is null or missing.
- onNullReturn(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToString
-
Optionally specify the value to return when the date is null or missing.
- onNullReturnValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Optionally specify the field holding the value to return when the input is null or missing.
- onNullReturnValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToString
-
Optionally specify the field holding the value to return when the date is null or missing.
- onNullReturnValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Optionally specify the expression to evaluate and return when the input is null or missing.
- onNullReturnValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToString
-
Optionally specify the expression to evaluate and return when the date is null or missing.
- operation - Variable in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
- operation - Variable in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
- OperationCounters - Class in org.springframework.data.mongodb.monitor
-
JMX Metrics for Operation counters
- OperationCounters(MongoClient) - Constructor for class org.springframework.data.mongodb.monitor.OperationCounters
- OperationOutput(String, Collection<? extends Object>) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OperationOutput
-
Creates a new
BucketOperationSupport.Output
for the given field. - OperatorNode - Class in org.springframework.data.mongodb.core.spel
-
An
ExpressionNode
representing an operator. - options() - Static method in class org.springframework.data.mongodb.core.FindAndModifyOptions
-
Static factory method to create a FindAndModifyOptions instance
- options() - Static method in class org.springframework.data.mongodb.core.FindAndReplaceOptions
-
Static factory method to create a
FindAndReplaceOptions
instance. - options() - Static method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.Static factory method to create a MapReduceOptions instance
- options(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
-
Optional specify the options to use with the regular expression.
- options(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFindAll
-
Optional specify the options to use with the regular expression.
- options(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexMatch
-
Optional specify the options to use with the regular expression.
- options(GridFsObject.Options) - Method in class org.springframework.data.mongodb.gridfs.GridFsUpload.GridFsUploadBuilder
-
Set additional file information.
- options(GridFsObject.Options) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsUpload.ReactiveGridFsUploadBuilder
-
Set additional file information.
- optionsOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
-
Optional specify the reference to the
field
holding the options values to use with the regular expression. - optionsOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFindAll
-
Optional specify the reference to the
field
holding the options values to use with the regular expression. - optionsOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexMatch
-
Optional specify the reference to the
field
holding the options values to use with the regular expression. - optionsOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
-
Optional specify the
AggregationExpression
evaluating to the options values to use with the regular expression. - optionsOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFindAll
-
Optional specify the
AggregationExpression
evaluating to the options values to use with the regular expression. - optionsOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexMatch
-
Optional specify the
AggregationExpression
evaluating to the options values to use with the regular expression. - or(long) - Method in class org.springframework.data.mongodb.core.query.Update.BitwiseOperatorBuilder
-
Updates to the result of a bitwise or operation between the current value and the given one.
- or(Object...) - Static method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.Or
-
Creates new
BooleanOperators.Or
that evaluates one or more expressions and returns true if any of the expressions are true. - or(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 any of the expressions are true. - or(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 any of the expressions are true. - order() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Field
-
The order in which various fields shall be stored.
- ORDERED - Enum constant in enum class org.springframework.data.mongodb.core.BulkOperations.BulkMode
-
Perform bulk operations in sequence.
- orExpression(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.Or
-
Creates new
BooleanOperators.Or
with all previously added arguments appending the given one. - orField(String) - Method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.Or
-
Creates new
BooleanOperators.Or
with all previously added arguments appending the given one. - org.springframework.data.mongodb - package org.springframework.data.mongodb
-
Spring Data's MongoDB abstraction.
- org.springframework.data.mongodb.aot - package org.springframework.data.mongodb.aot
- org.springframework.data.mongodb.config - package org.springframework.data.mongodb.config
-
Spring XML namespace configuration for MongoDB specific repositories.
- org.springframework.data.mongodb.core - package org.springframework.data.mongodb.core
-
MongoDB core support.
- org.springframework.data.mongodb.core.aggregation - package org.springframework.data.mongodb.core.aggregation
-
Support for the MongoDB aggregation framework.
- org.springframework.data.mongodb.core.annotation - package org.springframework.data.mongodb.core.annotation
-
Core Spring Data MongoDB annotations not limited to a special use case (like Query,...).
- org.springframework.data.mongodb.core.convert - package org.springframework.data.mongodb.core.convert
-
Spring Data MongoDB specific converter infrastructure.
- org.springframework.data.mongodb.core.geo - package org.springframework.data.mongodb.core.geo
-
Support for MongoDB geo-spatial queries.
- org.springframework.data.mongodb.core.index - package org.springframework.data.mongodb.core.index
-
Support for MongoDB document indexing.
- org.springframework.data.mongodb.core.mapping - package org.springframework.data.mongodb.core.mapping
-
Infrastructure for the MongoDB document-to-object mapping subsystem.
- org.springframework.data.mongodb.core.mapping.event - package org.springframework.data.mongodb.core.mapping.event
-
Mapping event callback infrastructure for the MongoDB document-to-object mapping subsystem.
- org.springframework.data.mongodb.core.mapreduce - package org.springframework.data.mongodb.core.mapreduce
-
Support for MongoDB map-reduce operations.
- org.springframework.data.mongodb.core.messaging - package org.springframework.data.mongodb.core.messaging
-
MongoDB specific messaging support for listening to eg.
- org.springframework.data.mongodb.core.query - package org.springframework.data.mongodb.core.query
-
MongoDB specific query and update support.
- org.springframework.data.mongodb.core.schema - package org.springframework.data.mongodb.core.schema
-
MongoDB-specific JSON schema implementation classes.
- org.springframework.data.mongodb.core.script - package org.springframework.data.mongodb.core.script
-
Abstraction classes javascript function execution within MongoDB Server.
- org.springframework.data.mongodb.core.spel - package org.springframework.data.mongodb.core.spel
-
Support classes to transform SpEL expressions into MongoDB expressions.
- org.springframework.data.mongodb.core.timeseries - package org.springframework.data.mongodb.core.timeseries
- org.springframework.data.mongodb.core.validation - package org.springframework.data.mongodb.core.validation
-
MongoDB schema validation specifics.
- org.springframework.data.mongodb.gridfs - package org.springframework.data.mongodb.gridfs
-
Support for MongoDB GridFS feature.
- org.springframework.data.mongodb.monitor - package org.springframework.data.mongodb.monitor
-
MongoDB specific JMX monitoring support.
- org.springframework.data.mongodb.observability - package org.springframework.data.mongodb.observability
-
Infrastructure to provide driver observability using Micrometer.
- org.springframework.data.mongodb.repository - package org.springframework.data.mongodb.repository
-
MongoDB specific repository implementation.
- org.springframework.data.mongodb.repository.aot - package org.springframework.data.mongodb.repository.aot
-
Ahead-Of-Time processors for MongoDB repositories.
- org.springframework.data.mongodb.repository.cdi - package org.springframework.data.mongodb.repository.cdi
-
CDI support for MongoDB specific repository implementation.
- org.springframework.data.mongodb.repository.config - package org.springframework.data.mongodb.repository.config
-
Support infrastructure for the configuration of MongoDB specific repositories.
- org.springframework.data.mongodb.repository.query - package org.springframework.data.mongodb.repository.query
-
Query derivation mechanism for MongoDB specific repositories.
- org.springframework.data.mongodb.repository.support - package org.springframework.data.mongodb.repository.support
-
Support infrastructure for query derivation of MongoDB specific repositories.
- org.springframework.data.mongodb.util - package org.springframework.data.mongodb.util
-
MongoDB driver-specific utility classes for
Bson
andDBObject
interaction. - org.springframework.data.mongodb.util.aggregation - package org.springframework.data.mongodb.util.aggregation
- org.springframework.data.mongodb.util.encryption - package org.springframework.data.mongodb.util.encryption
- org.springframework.data.mongodb.util.json - package org.springframework.data.mongodb.util.json
-
MongoDB driver-specific utility classes for Json conversion.
- org.springframework.data.mongodb.util.spel - package org.springframework.data.mongodb.util.spel
- orIfNull(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.IfNull.OrBuilder
- orIfNull(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.IfNull.OrBuilder
- orOperator(Collection<Criteria>) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criteria using the
$or
operator for all of the provided criteria. - orOperator(Criteria...) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criteria using the
$or
operator for all of the provided criteria. - orValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators.Or
-
Creates new
BooleanOperators.Or
with all previously added arguments appending the given one. - otherwise(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond.OtherwiseBuilder
- otherwise(Object) - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation.RedactOperationBuilder
-
Define the outcome (anything that resolves to $$DESCEND, $$PRUNE, or $$KEEP) when the condition is not met.
- otherwiseDescend() - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation.RedactOperationBuilder
-
Return fields at the current document level and exclude embedded ones if the condition is not met.
- otherwiseKeep() - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation.RedactOperationBuilder
-
Return/Keep all fields at the current document/embedded level if the condition is not met.
- otherwisePrune() - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation.RedactOperationBuilder
-
Exclude all fields at this current document/embedded level if the condition is not met.
- otherwiseValueOf(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond.OtherwiseBuilder
- otherwiseValueOf(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond.OtherwiseBuilder
- out(String) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
OutOperation
using the given collection name. - OutOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the
$out
-operation. - OutOperation(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.OutOperation
- OutOperation.OutMode - Enum Class in org.springframework.data.mongodb.core.aggregation
-
The mode for merging the aggregation pipeline output.
- output(String...) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Bottom
-
Define fields included in the output for each element.
- output(String...) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Top
-
Define fields included in the output for each element.
- output(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder
-
Add a field capturing the result of the given
expression
to the output. - output(AggregationExpression...) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Bottom
-
Define expressions building the value included in the output for each element.
- output(AggregationExpression...) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Top
-
Define expressions building the value included in the output for each element.
- output(Fields) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Bottom
-
Define result ordering.
- output(Fields) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Top
-
Define result ordering.
- output(SetWindowFieldsOperation.WindowOutput) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder
-
Define the actual output computation.
- Output(Field) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.Output
-
Creates new
Projection
for the givenField
. - OutputBuilder(Object, T) - Constructor for class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Creates a new
BucketOperationSupport.OutputBuilder
for the given value andBucketOperationSupport
. - outputCollection(String) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.The collection where the results from the map-reduce operation will be stored.
- outputDatabase(String) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.The database where the results from the map-reduce operation will be stored.
- outputSharded(boolean) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.If true and combined with an output mode that writes to a collection, the output collection will be sharded using the _id field.
P
- ParameterBindingContext - Class in org.springframework.data.mongodb.util.json
-
Reusable context for binding parameters to a placeholder or a SpEL expression within a JSON structure.
- ParameterBindingContext(ValueProvider, SpELExpressionEvaluator) - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingContext
- ParameterBindingContext(ValueProvider, ExpressionParser, Supplier<EvaluationContext>) - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingContext
- ParameterBindingContext(ValueProvider, SpelExpressionParser, EvaluationContext) - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingContext
- ParameterBindingDocumentCodec - Class in org.springframework.data.mongodb.util.json
-
A
Codec
implementation that allows binding parameters to placeholders or SpEL expressions when decoding a JSON String. - ParameterBindingDocumentCodec() - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
-
Construct a new instance with a default
CodecRegistry
. - ParameterBindingDocumentCodec(CodecRegistry) - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
-
Construct a new instance with the given registry.
- ParameterBindingDocumentCodec(CodecRegistry, BsonTypeClassMap) - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
-
Construct a new instance with the given registry and BSON type class map.
- ParameterBindingDocumentCodec(CodecRegistry, BsonTypeClassMap, Transformer) - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingDocumentCodec
-
Construct a new instance with the given registry and BSON type class map.
- ParameterBindingJsonReader - Class in org.springframework.data.mongodb.util.json
-
Reads a JSON and evaluates placehoders and SpEL expressions.
- ParameterBindingJsonReader(String) - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
-
Constructs a new instance with the given JSON string.
- ParameterBindingJsonReader(String, Object[]) - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
-
Constructs a new instance with the given JSON string.
- ParameterBindingJsonReader(String, ParameterBindingContext) - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- ParameterBindingJsonReader(String, ValueProvider, SpelExpressionParser, Supplier<EvaluationContext>) - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- ParameterBindingJsonReader(String, ValueProvider, SpelExpressionParser, EvaluationContext) - Constructor for class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- ParameterBindingJsonReader.Context - Class in org.springframework.data.mongodb.util.json
- ParameterBindingJsonReader.Mark - Class in org.springframework.data.mongodb.util.json
- parentIsSameOperation() - Method in class org.springframework.data.mongodb.core.spel.ExpressionTransformationContextSupport
-
Returns whether the parent node is of the same operation as the current node.
- parse(String) - Static method in class org.springframework.data.mongodb.core.query.Collation
-
Parse the given
collation
string into aCollation
. - parse(String, CodecRegistryProvider) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Parse the given json to
Document
applying transformations as specified by a potentially givenCodec
. - parse(Element, ParserContext) - Method in class org.springframework.data.mongodb.config.MappingMongoConverterParser
- parse(Element, ParserContext) - Method in class org.springframework.data.mongodb.config.MongoClientParser
- parse(Element, ParserContext) - Method in class org.springframework.data.mongodb.config.MongoJmxParser
- parseAggregationPipeline(String[], ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
-
Parse the given aggregation pipeline stages applying values to placeholders to compute the actual list of
operations
. - parseAggregationPipeline(String[], MongoParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
Parse the given aggregation pipeline stages applying values to placeholders to compute the actual list of
operations
. - parseConverter(Element, ParserContext) - Method in class org.springframework.data.mongodb.config.MappingMongoConverterParser
- parseInternal(Element, ParserContext) - Method in class org.springframework.data.mongodb.config.MongoDbFactoryParser
- partial(IndexFilter) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
-
Only index the documents in a collection that meet a specified
filter expression
. - partial(IndexFilter) - Method in class org.springframework.data.mongodb.core.index.Index
-
Only index the documents in a collection that meet a specified
filter expression
. - partial(IndexFilter) - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
-
Only index the documents that meet the specified
filter expression
. - PARTIAL - Enum constant in enum class org.springframework.data.mongodb.core.query.Meta.CursorOption
-
Sets the cursor to return partial data from a query against a sharded cluster in which some shards do not respond rather than throwing an error.
- partialFilter() - Element in annotation interface org.springframework.data.mongodb.core.index.CompoundIndex
-
Only index the documents in a collection that meet a specified
filter expression
. - partialFilter() - Element in annotation interface org.springframework.data.mongodb.core.index.Indexed
-
Only index the documents in a collection that meet a specified
filter expression
. - partialFilter() - Element in annotation interface org.springframework.data.mongodb.core.index.WildcardIndexed
-
Only index the documents in a collection that meet a specified
filter expression
. - PartialIndexFilter - Class in org.springframework.data.mongodb.core.index
-
IndexFilter
implementation for usage with plainDocument
as well asCriteriaDefinition
filter expressions. - partialResults() - Method in class org.springframework.data.mongodb.core.query.Query
- partition() - Static method in interface org.springframework.data.mongodb.core.aggregation.DensifyOperation.Range
-
Add documents spanning the full value range for each partition.
- partitionBy(Object) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder
-
Partition by a value that translates to a valid mongodb expression.
- partitionBy(String...) - Method in class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyOperationBuilder
-
Set the fields used for grouping documents.
- partitionByExpression(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder
-
Specify the
expression
to group by. - partitionByField(String) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder
-
Specify the field to group by.
- partitionRange(Consumer<DensifyOperation.DensifyRange>) - Method in class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyOperationBuilder
-
Operate on full range.
- PartTreeMongoQuery - Class in org.springframework.data.mongodb.repository.query
-
RepositoryQuery
implementation for Mongo. - PartTreeMongoQuery(MongoQueryMethod, MongoOperations, ExpressionParser, QueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
- path(String) - Method in interface org.springframework.data.mongodb.core.aggregation.UnwindOperation.PathBuilder
- path(String) - Method in class org.springframework.data.mongodb.core.aggregation.UnwindOperation.UnwindOperationBuilder
- pathBuilderFor(EntityPath<E>) - Static method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
- pattern(Pattern) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
- pattern(Pattern) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFindAll
- pattern(Pattern) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexMatch
- PATTERN - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- patternProperties(JsonSchemaProperty...) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- patternProperties(JsonSchemaProperty...) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
-
Append regular expression patterns along with the
JsonSchemaObject
matching properties validating against. - PersistentEntitiesFactoryBean - Class in org.springframework.data.mongodb.config
-
Simple helper to be able to wire the
PersistentEntities
from aMappingMongoConverter
bean available in the application context. - PersistentEntitiesFactoryBean(MappingMongoConverter) - Constructor for class org.springframework.data.mongodb.config.PersistentEntitiesFactoryBean
-
Creates a new
PersistentEntitiesFactoryBean
for the givenMappingMongoConverter
. - PersistentPropertyTranslator - Class in org.springframework.data.mongodb.core.mapping
-
Utility to translate a
MongoPersistentProperty
into a corresponding property from a differentMongoPersistentEntity
by looking it up by name. - PersistentPropertyTranslator() - Constructor for class org.springframework.data.mongodb.core.mapping.PersistentPropertyTranslator
- PHRASE - Enum constant in enum class org.springframework.data.mongodb.core.query.Term.Type
- pipeline - Variable in class org.springframework.data.mongodb.core.aggregation.Aggregation
- pipeline() - Element in annotation interface org.springframework.data.mongodb.repository.Aggregation
-
Defines the aggregation pipeline to apply.
- pipeline() - Element in annotation interface org.springframework.data.mongodb.repository.Update
-
Takes a MongoDB JSON string representation of an aggregation pipeline to define the update stages to be executed.
- pipeline(List<AggregationOperation>) - Method in class org.springframework.data.mongodb.core.aggregation.UnionWithOperation
-
Set the aggregation pipeline stages to apply to the specified collection.
- pipeline(AggregationOperation...) - Method in class org.springframework.data.mongodb.core.aggregation.UnionWithOperation
-
Set the aggregation pipeline stages to apply to the specified collection.
- pipeline(AggregationPipeline) - Method in class org.springframework.data.mongodb.core.aggregation.UnionWithOperation
-
Set the
AggregationPipeline
to apply to the specified collection. - place(int) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Round
-
The place to round to.
- placeOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Round
-
The place to round to defined by via a field reference that resolves to an integer between -20 and 100, exclusive.
- placeOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Round
-
The place to round to defined by an expression that resolves to an integer between -20 and 100, exclusive.
- plus(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$add
expression that adds the given number to the previously mentioned field. - plus(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates an
$add
expression that adds the value of the given field to the previously mentioned field. - pop(String, Update.Position) - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
- pop(String, Update.Position) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update using the $pop update modifier
- populateId(MongoPersistentProperty, DBRef, Object) - Method in interface org.springframework.data.mongodb.core.convert.DbRefProxyHandler
- populateIdIfNecessary(T, Object) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Populates the id property of the saved object, if it's not set already.
- position(String, int) - Method in class org.springframework.data.mongodb.core.query.Field
-
The array field must appear in the query.
- POSITIONAL_OPERATOR - Static variable in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
- possibleValues(Number...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- possibleValues(Object...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- possibleValues(Object...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- possibleValues(Object...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
- possibleValues(String...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- possibleValues(Collection<? extends Object>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
- possibleValues(Collection<? extends Object>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.BooleanJsonSchemaObject
- possibleValues(Collection<? extends Object>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
- possibleValues(Collection<? extends Object>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
- possibleValues(Collection<? extends Object>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject
-
enumerates all possible values of the field.
- possibleValues(Collection<? extends Object>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
- possibleValues(Collection<? extends Object>) - Method in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
-
enumerates all possible values of the field.
- possibleValues(Collection<Number>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- possibleValues(Collection<Object>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- possibleValues(Collection<Object>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- possibleValues(Collection<Object>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
- possibleValues(Collection<String>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
- possibleValues(Set<Object>) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- postProcess(BeanDefinitionBuilder, AnnotationRepositoryConfigurationSource) - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
- postProcess(BeanDefinitionBuilder, AnnotationRepositoryConfigurationSource) - Method in class org.springframework.data.mongodb.repository.config.ReactiveMongoRepositoryConfigurationExtension
- postProcess(BeanDefinitionBuilder, XmlRepositoryConfigurationSource) - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
- postProcess(BeanDefinitionBuilder, XmlRepositoryConfigurationSource) - Method in class org.springframework.data.mongodb.repository.config.ReactiveMongoRepositoryConfigurationExtension
- potentiallyConvertFullText(Object) - Method in class org.springframework.data.mongodb.repository.query.MongoParametersParameterAccessor
- potentiallyCreateMappingContext(Element, ParserContext, BeanDefinition, String) - Static method in class org.springframework.data.mongodb.config.MappingMongoConverterParser
- potentiallyCreateMappingContext(Element, ParserContext, BeanDefinition, String, boolean) - Static method in class org.springframework.data.mongodb.config.MappingMongoConverterParser
- potentiallyEscapeMapKey(String) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Potentially replaces dots in the given map key with the configured map key replacement if configured or aborts conversion if none is configured.
- potentiallyUnescapeMapKey(String) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Translates the map key replacements in the given key just read with a dot in case a map key replacement has been configured.
- pow(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that raises the associated number to the specified exponent. - pow(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Pow
-
Pow by the given value.
- pow(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$pow
expression that takes the number of the previously mentioned field and raises it by the specified exponent. - pow(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that raises the associated number to the specified exponent. - pow(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Pow
-
Pow by the value stored at the given field.
- pow(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$pow
expression that takes the number of the previously mentioned field and raises it by the specified exponent. - pow(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that raises the associated number to the specified exponent. - pow(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Pow
-
Pow by the evaluated value of the given
AggregationExpression
. - pow(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$pow
expression that Takes the number of the previously mentioned field and raises it by the specified exponent. - POWERSOF2 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- preAndPostImages(boolean) - Static method in class org.springframework.data.mongodb.core.CollectionOptions.CollectionChangeStreamOptions
-
Output the version of a document before and after changes (the document pre- and post-images).
- prefix() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Unwrapped.Empty
- prefix() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Unwrapped.Nullable
- prefix() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Unwrapped
- PrefixingDelegatingAggregationOperationContext - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationOperationContext
implementation prefixing non-command keys on root level with the given prefix. - PrefixingDelegatingAggregationOperationContext(AggregationOperationContext, String) - Constructor for class org.springframework.data.mongodb.core.aggregation.PrefixingDelegatingAggregationOperationContext
- PrefixingDelegatingAggregationOperationContext(AggregationOperationContext, String, Collection<String>) - Constructor for class org.springframework.data.mongodb.core.aggregation.PrefixingDelegatingAggregationOperationContext
- prepare(FindIterable<Document>) - Method in interface org.springframework.data.mongodb.core.CursorPreparer
-
Prepare the given cursor (apply limits, skips and so on).
- prepare(FindPublisher<Document>) - Method in interface org.springframework.data.mongodb.core.FindPublisherPreparer
-
Prepare the given cursor (apply limits, skips and so on).
- prepareBindingContext(String, ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
-
Create the
binding context
used for SpEL evaluation. - prepareCollection(MongoCollection<Document>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Prepare the collection before any processing is done using it.
- prepareCollection(MongoCollection<Document>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Prepare the collection before any processing is done using it.
- prepareDatabase(MongoDatabase) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- prepareDatabase(MongoDatabase) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- prepareFactory(Class<?>) - Static method in class org.springframework.data.mongodb.core.convert.LazyLoadingProxyFactory
-
Create the
ProxyFactory
for the given type, already adding required additional interfaces. - prepareWriteConcern(MongoAction) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Prepare the WriteConcern before any processing is done using it.
- prepareWriteConcern(MongoAction) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Prepare the WriteConcern before any processing is done using it.
- preserveNullAndEmptyArrays() - Method in interface org.springframework.data.mongodb.core.aggregation.UnwindOperation.EmptyArraysBuilder
-
Output documents if the array is null or empty.
- preserveNullAndEmptyArrays() - Method in class org.springframework.data.mongodb.core.aggregation.UnwindOperation.UnwindOperationBuilder
- previousOperation() - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
A pointer to the previous
AggregationOperation
. - previousOperation() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Projects the result of the previous operation onto the current field.
- primary() - Static method in interface org.springframework.data.mongodb.core.query.Collation.ComparisonLevel
-
Primary level of comparison.
- processDocument(Document) - Method in interface org.springframework.data.mongodb.core.DocumentCallbackHandler
- project(Class<?>) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
ProjectionOperation
including all top level fields of the given givenClass
. - project(String...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
ProjectionOperation
including the given fields. - project(String, Object...) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ExpressionProjectionOperationBuilder
- project(String, Object...) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Adds a generic projection for the current field.
- project(Fields) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
ProjectionOperation
including the givenFields
. - project(MongoExpression) - Method in class org.springframework.data.mongodb.core.query.Field
-
Project a given
MongoExpression
to afield
included in the result. - project(EntityProjection<R, ?>, Bson) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- project(EntityProjection<R, ?>, Bson) - Method in interface org.springframework.data.mongodb.core.convert.MongoConverter
-
Apply a projection to
Bson
and return the projection return typeR
. - projectAs(MongoExpression, String) - Method in class org.springframework.data.mongodb.core.query.Field
-
Project a given
MongoExpression
to afield
included in the result. - ProjectionOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$project
-operation. - ProjectionOperation() - Constructor for class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
-
Creates a new empty
ProjectionOperation
. - ProjectionOperation(Class<?>) - Constructor for class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
-
Creates a new
ProjectionOperation
including all top level fields of the giventype
. - ProjectionOperation(Fields) - Constructor for class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
-
Creates a new
ProjectionOperation
including the givenFields
. - ProjectionOperation.ArrayProjectionOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder for
array
projections. - ProjectionOperation.ExpressionProjectionOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
An
ProjectionOperation.ProjectionOperationBuilder
that is used for SpEL expression based projections. - ProjectionOperation.ProjectionOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder for
ProjectionOperation
s on a field. - ProjectionOperationBuilder(Object, ProjectionOperation, ProjectionOperation.ProjectionOperationBuilder.OperationProjection) - Constructor for class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Creates a new
ProjectionOperation.ProjectionOperationBuilder
for the field with the given value on top of the givenProjectionOperation
. - ProjectionOperationBuilder(String, ProjectionOperation, ProjectionOperation.ProjectionOperationBuilder.OperationProjection) - Constructor for class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Creates a new
ProjectionOperation.ProjectionOperationBuilder
for the field with the given name on top of the givenProjectionOperation
. - properties(JsonSchemaProperty...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- properties(JsonSchemaProperty...) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- properties(JsonSchemaProperty...) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
-
Append the objects properties along with the
JsonSchemaObject
validating against. - propertiesCount(Range<Integer>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- propertiesCount(Range<Integer>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
-
Define the minProperties and maxProperties via the given
Range
.
In-/Exclusions viarange bounds
are not taken into account. - property(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.PropertyExpression
-
Define a result property for an
AggregationExpression
used inArrayOperators.Reduce
. - property(String) - Method in interface org.springframework.data.mongodb.core.MongoJsonSchemaCreator
-
Entry point to specify additional behavior for a given path.
- property(JsonSchemaProperty) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- property(JsonSchemaProperty) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
-
Append the objects property along with the
JsonSchemaObject
validating against. - PropertyExpression(String, AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.PropertyExpression
- PRUNE - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
-
One of the allowed results of a $redact expression
- PRUNE - Static variable in class org.springframework.data.mongodb.core.aggregation.RedactOperation
-
Exclude all fields at this current document/embedded level.
- publishEvent(Object) - Method in class org.springframework.data.mongodb.core.index.MongoMappingEventPublisher
- publishEvent(ApplicationEvent) - Method in class org.springframework.data.mongodb.core.index.MongoMappingEventPublisher
- publishTo(MessageListener<ChangeStreamDocument<Document>, ? super T>) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the
MessageListener
eventmessages
will be published to. - publishTo(MessageListener<Document, ? super T>) - Method in class org.springframework.data.mongodb.core.messaging.TailableCursorRequest.TailableCursorRequestBuilder
-
Set the
MessageListener
eventmessages
will be published to. - pull(String, Object) - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
- pull(String, Object) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update using the $pull update modifier
- pullAll(String, Object[]) - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
- pullAll(String, Object[]) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update using the $pullAll update modifier
- punct() - Method in class org.springframework.data.mongodb.core.query.Collation.AlternateWithMaxVariable
-
Consider both whitespaces and punctuation as ignorable.
- push() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Generates a builder for an
$push
-expression for the current value. - push(Object) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$push
-expression for the given value. - push(String) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$push
-expression for the given field-reference. - push(String) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update using
$push
modifier. - push(String, Object) - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
- push(String, Object) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update using the $push update modifier
Q
- QUARTER - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnits
- QUARTER - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnits
- quaternary() - Static method in interface org.springframework.data.mongodb.core.query.Collation.ComparisonLevel
-
Quaternary Level.
- query(Class<T>) - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation
-
Start creating a find operation for the given domainType.
- query(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- query(Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation
-
Start creating a find operation for the given domainType.
- query(Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- query(CriteriaDefinition) - Static method in class org.springframework.data.mongodb.core.query.Query
-
Static factory method to create a
Query
using the providedCriteriaDefinition
. - query(Query) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Adds an actual query to the
NearQuery
to restrict the objects considered for the actual near operation. - Query - Class in org.springframework.data.mongodb.core.query
-
MongoDB Query object representing criteria, projection, sorting and query hints.
- Query - Annotation Interface in org.springframework.data.mongodb.repository
-
Annotation to declare finder queries directly on repository methods.
- Query() - Constructor for class org.springframework.data.mongodb.core.query.Query
- Query(CriteriaDefinition) - Constructor for class org.springframework.data.mongodb.core.query.Query
-
Creates a new
Query
using the givenCriteriaDefinition
. - QuerydslMongoPredicateExecutor<T> - Class in org.springframework.data.mongodb.repository.support
-
MongoDB-specific
QuerydslPredicateExecutor
that allows executionPredicate
s in various forms. - QuerydslMongoPredicateExecutor(MongoEntityInformation<T, ?>, MongoOperations) - Constructor for class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
-
Creates a new
QuerydslMongoPredicateExecutor
for the givenMongoEntityInformation
andMongoOperations
. - QuerydslMongoPredicateExecutor(MongoEntityInformation<T, ?>, MongoOperations, EntityPathResolver) - Constructor for class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
-
Creates a new
QuerydslMongoPredicateExecutor
for the givenMongoEntityInformation
,MongoOperations
andEntityPathResolver
. - QuerydslRepositorySupport - Class in org.springframework.data.mongodb.repository.support
-
Base class to create repository implementations based on Querydsl.
- QuerydslRepositorySupport(MongoOperations) - Constructor for class org.springframework.data.mongodb.repository.support.QuerydslRepositorySupport
-
Creates a new
QuerydslRepositorySupport
for the givenMongoOperations
. - queryLookupStrategy() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Returns the key of the
QueryLookupStrategy
to be used for lookup queries for query methods. - queryLookupStrategy() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Returns the key of the
QueryLookupStrategy
to be used for lookup queries for query methods. - QueryMapper - Class in org.springframework.data.mongodb.core.convert
-
A helper class to encapsulate any modifications of a Query object before it gets submitted to the database.
- QueryMapper(MongoConverter) - Constructor for class org.springframework.data.mongodb.core.convert.QueryMapper
-
Creates a new
QueryMapper
with the givenMongoConverter
. - QueryMapper.AssociationConverter - Class in org.springframework.data.mongodb.core.convert
-
Converter to skip all properties after an association property was rendered.
- QueryMapper.Field - Class in org.springframework.data.mongodb.core.convert
-
Value object to represent a field and its meta-information.
- QueryMapper.MetadataBackedField - Class in org.springframework.data.mongodb.core.convert
-
Extension of
QueryMapper.Field
to be backed with mapping metadata. - querySettingsEquals(Query) - Method in class org.springframework.data.mongodb.core.query.Query
-
Tests whether the settings of the given
Query
are equal to this query. - queryText(TextCriteria) - Static method in class org.springframework.data.mongodb.core.query.TextQuery
-
Creates new
TextQuery
searching for givenTextCriteria
. - quotePhrase(String) - Method in class org.springframework.data.mongodb.core.query.Term
R
- R10 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- R20 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- R40 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- R5 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- R80 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- RADIANS - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.AngularUnit
- rand() - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators
-
Creates new
AggregationExpression
that returns a random float between0
and1
each time it is called. - Rand() - Constructor for class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Rand
- range() - Static method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.Windows
-
Create a range window based on the
sort value
of the current document via a fluent API. - range(Object, Object, SetWindowFieldsOperation.WindowUnit) - Static method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.Windows
-
Create a range window defined based on sort expression.
- range(String...) - Static method in class org.springframework.data.mongodb.core.mapping.ShardKey
-
Create a new
ShardingStrategy.RANGE
shard key. - range(Range<Integer>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- range(Range<Integer>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
-
Define the minItems and maxItems via the given
Range
.
In-/Exclusions viarange bounds
are not taken into account. - range(DensifyOperation.Range) - Method in class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyOperationBuilder
-
Set the operational range.
- RANGE - Enum constant in enum class org.springframework.data.mongodb.core.mapping.ShardingStrategy
-
Ranged sharding involves dividing data into ranges based on the shard key values.
- rangeStartingAt(long) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.RangeOperator
-
Start creating new
ArrayOperators.RangeOperator
. - rangeStartingAt(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.RangeOperator
-
Start creating new
ArrayOperators.RangeOperator
. - rangeStartingAt(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.RangeOperator
-
Start creating new
ArrayOperators.RangeOperator
. - RangeWindow(Object, Object, SetWindowFieldsOperation.WindowUnit) - Constructor for class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindow
- RangeWindowBuilder() - Constructor for class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindowBuilder
- rank() - Static method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators
-
Obtain the document position (including gaps) relative to others (rank).
- Rank() - Constructor for class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Rank
- ReactiveAfterConvertCallback<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. - ReactiveAfterSaveCallback<T> - Interface in org.springframework.data.mongodb.core.mapping.event
-
Entity callback triggered after save of a
Document
. - ReactiveAggregationOperation - Interface in org.springframework.data.mongodb.core
-
ReactiveAggregationOperation
allows creation and execution of reactive MongoDB aggregation operations in a fluent API style. - ReactiveAggregationOperation.AggregationOperationWithAggregation<T> - Interface in org.springframework.data.mongodb.core
-
Define the aggregation with pipeline stages.
- ReactiveAggregationOperation.AggregationOperationWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Collection override (optional).
- ReactiveAggregationOperation.ReactiveAggregation<T> - Interface in org.springframework.data.mongodb.core
- ReactiveAggregationOperation.TerminatingAggregationOperation<T> - Interface in org.springframework.data.mongodb.core
-
Trigger execution by calling one of the terminating methods.
- ReactiveAuditingEntityCallback - Class in org.springframework.data.mongodb.core.mapping.event
-
Reactive
EntityCallback
to populate auditing related fields on an entity about to be saved. - ReactiveAuditingEntityCallback(ObjectFactory<ReactiveIsNewAwareAuditingHandler>) - Constructor for class org.springframework.data.mongodb.core.mapping.event.ReactiveAuditingEntityCallback
-
Creates a new
ReactiveAuditingEntityCallback
using the givenMappingContext
andAuditingHandler
provided by the givenObjectFactory
. - ReactiveBeforeConvertCallback<T> - Interface in org.springframework.data.mongodb.core.mapping.event
-
Callback being invoked before a domain object is converted to be persisted.
- ReactiveBeforeSaveCallback<T> - Interface in org.springframework.data.mongodb.core.mapping.event
-
Entity callback triggered before save of a document.
- ReactiveChangeStreamOperation - Interface in org.springframework.data.mongodb.core
-
ReactiveChangeStreamOperation
allows creation and execution of reactive MongoDB Change Stream operations in a fluent API style. - ReactiveChangeStreamOperation.ChangeStreamWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Collection override (optional).
- ReactiveChangeStreamOperation.ChangeStreamWithFilterAndProjection<T> - Interface in org.springframework.data.mongodb.core
-
Provide a filter for limiting results (optional).
- ReactiveChangeStreamOperation.ChangeStreamWithOptions<T> - Interface in org.springframework.data.mongodb.core
-
Provide some options.
- ReactiveChangeStreamOperation.ReactiveChangeStream<T> - Interface in org.springframework.data.mongodb.core
-
ReactiveChangeStreamOperation.ReactiveChangeStream
provides methods for constructing change stream operations in a fluent way. - ReactiveChangeStreamOperation.ResumingChangeStream<T> - Interface in org.springframework.data.mongodb.core
-
Resume a change stream.
- ReactiveChangeStreamOperation.TerminatingChangeStream<T> - Interface in org.springframework.data.mongodb.core
-
Compose change stream execution by calling one of the terminating methods.
- ReactiveCollectionCallback<T> - Interface in org.springframework.data.mongodb.core
- ReactiveDatabaseCallback<T> - Interface in org.springframework.data.mongodb.core
- ReactiveFindOperation - Interface in org.springframework.data.mongodb.core
-
ReactiveFindOperation
allows creation and execution of reactive MongoDB find operations in a fluent API style. - ReactiveFindOperation.DistinctWithProjection - Interface in org.springframework.data.mongodb.core
-
Result type override.
- ReactiveFindOperation.DistinctWithQuery<T> - Interface in org.springframework.data.mongodb.core
-
Result restrictions.
- ReactiveFindOperation.FindDistinct - Interface in org.springframework.data.mongodb.core
-
Distinct Find support.
- ReactiveFindOperation.FindWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Collection override (optional).
- ReactiveFindOperation.FindWithProjection<T> - Interface in org.springframework.data.mongodb.core
-
Result type override (optional).
- ReactiveFindOperation.FindWithQuery<T> - Interface in org.springframework.data.mongodb.core
-
Provide a
Query
override (optional). - ReactiveFindOperation.ReactiveFind<T> - Interface in org.springframework.data.mongodb.core
-
ReactiveFindOperation.ReactiveFind
provides methods for constructing lookup operations in a fluent way. - ReactiveFindOperation.TerminatingDistinct<T> - Interface in org.springframework.data.mongodb.core
-
Terminating distinct find operations.
- ReactiveFindOperation.TerminatingFind<T> - Interface in org.springframework.data.mongodb.core
-
Compose find execution by calling one of the terminating methods.
- ReactiveFindOperation.TerminatingFindNear<T> - Interface in org.springframework.data.mongodb.core
-
Compose geonear execution by calling one of the terminating methods.
- ReactiveFluentMongoOperations - Interface in org.springframework.data.mongodb.core
-
Stripped down interface providing access to a fluent API that specifies a basic set of reactive MongoDB operations.
- ReactiveGridFsOperations - Interface in org.springframework.data.mongodb.gridfs
-
Collection of operations to store and read files from MongoDB GridFS using reactive infrastructure.
- ReactiveGridFsResource - Class in org.springframework.data.mongodb.gridfs
-
Reactive
GridFSFile
basedResource
implementation. - ReactiveGridFsResource(Object, String, GridFsObject.Options, GridFSDownloadPublisher) - Constructor for class org.springframework.data.mongodb.gridfs.ReactiveGridFsResource
-
Creates a new, absent
ReactiveGridFsResource
. - ReactiveGridFsResource(String, GridFSDownloadPublisher) - Constructor for class org.springframework.data.mongodb.gridfs.ReactiveGridFsResource
-
Creates a new, absent
ReactiveGridFsResource
. - ReactiveGridFsTemplate - Class in org.springframework.data.mongodb.gridfs
-
ReactiveGridFsOperations
implementation to store content into MongoDB GridFS. - ReactiveGridFsTemplate(DataBufferFactory, ReactiveMongoDatabaseFactory, MongoConverter, String) - Constructor for class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
-
Creates a new
ReactiveGridFsTemplate
using the givenDataBufferFactory
,ReactiveMongoDatabaseFactory
andMongoConverter
. - ReactiveGridFsTemplate(ReactiveMongoDatabaseFactory, MongoConverter) - Constructor for class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
-
Creates a new
ReactiveGridFsTemplate
using the givenReactiveMongoDatabaseFactory
andMongoConverter
. - ReactiveGridFsTemplate(ReactiveMongoDatabaseFactory, MongoConverter, String) - Constructor for class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
-
Creates a new
ReactiveGridFsTemplate
using the givenReactiveMongoDatabaseFactory
andMongoConverter
. - ReactiveGridFsUpload<ID> - Class in org.springframework.data.mongodb.gridfs
-
Upload descriptor for a GridFS file upload.
- ReactiveGridFsUpload.ReactiveGridFsUploadBuilder<T> - Class in org.springframework.data.mongodb.gridfs
-
Builder to create
ReactiveGridFsUpload
in a fluent way. - ReactiveIndexOperations - Interface in org.springframework.data.mongodb.core.index
-
Index operations on a collection.
- ReactiveIndexOperationsProvider - Interface in org.springframework.data.mongodb.core.index
-
Provider interface to obtain
ReactiveIndexOperations
by MongoDB collection name. - ReactiveInsertOperation - Interface in org.springframework.data.mongodb.core
-
ReactiveInsertOperation
allows creation and execution of reactive MongoDB insert and bulk insert operations in a fluent API style. - ReactiveInsertOperation.InsertWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Collection override (optional).
- ReactiveInsertOperation.ReactiveInsert<T> - Interface in org.springframework.data.mongodb.core
- ReactiveInsertOperation.TerminatingInsert<T> - Interface in org.springframework.data.mongodb.core
-
Compose insert execution by calling one of the terminating methods.
- ReactiveMapReduceOperation - Interface in org.springframework.data.mongodb.core
-
ReactiveMapReduceOperation
allows creation and execution of MongoDB mapReduce operations in a fluent API style. - ReactiveMapReduceOperation.MapReduceWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Collection override (Optional).
- ReactiveMapReduceOperation.MapReduceWithMapFunction<T> - Interface in org.springframework.data.mongodb.core
-
Provide the Javascript
function()
used to map matching documents. - ReactiveMapReduceOperation.MapReduceWithOptions<T> - Interface in org.springframework.data.mongodb.core
-
Additional mapReduce options (Optional).
- ReactiveMapReduceOperation.MapReduceWithProjection<T> - Interface in org.springframework.data.mongodb.core
-
Result type override (Optional).
- ReactiveMapReduceOperation.MapReduceWithQuery<T> - Interface in org.springframework.data.mongodb.core
-
Input document filter query (Optional).
- ReactiveMapReduceOperation.MapReduceWithReduceFunction<T> - Interface in org.springframework.data.mongodb.core
-
Provide the Javascript
function()
used to reduce matching documents. - ReactiveMapReduceOperation.ReactiveMapReduce<T> - Interface in org.springframework.data.mongodb.core
-
ReactiveMapReduceOperation.ReactiveMapReduce
provides methods for constructing reactive mapReduce operations in a fluent way. - ReactiveMapReduceOperation.TerminatingMapReduce<T> - Interface in org.springframework.data.mongodb.core
-
Trigger mapReduce execution by calling one of the terminating methods.
- reactiveMongoClient() - Method in class org.springframework.data.mongodb.config.AbstractReactiveMongoConfiguration
-
Return the Reactive Streams
MongoClient
instance to connect to. - ReactiveMongoClientFactoryBean - Class in org.springframework.data.mongodb.core
-
Convenient factory for configuring a reactive streams
MongoClient
. - ReactiveMongoClientFactoryBean() - Constructor for class org.springframework.data.mongodb.core.ReactiveMongoClientFactoryBean
- ReactiveMongoContext - Class in org.springframework.data.mongodb.core
-
ReactiveMongoContext
utilizes and enriches the ReactorContext
with information potentially required for e.g. - ReactiveMongoContext() - Constructor for class org.springframework.data.mongodb.core.ReactiveMongoContext
- ReactiveMongoDatabaseFactory - Interface in org.springframework.data.mongodb
-
Interface for factories creating reactive
MongoDatabase
instances. - ReactiveMongoDatabaseUtils - Class in org.springframework.data.mongodb
-
Helper class for managing reactive
MongoDatabase
instances viaReactiveMongoDatabaseFactory
. - ReactiveMongoDatabaseUtils() - Constructor for class org.springframework.data.mongodb.ReactiveMongoDatabaseUtils
- reactiveMongoDbFactory() - Method in class org.springframework.data.mongodb.config.AbstractReactiveMongoConfiguration
-
Creates a
ReactiveMongoDatabaseFactory
to be used by theReactiveMongoOperations
. - ReactiveMongoOperations - Interface in org.springframework.data.mongodb.core
-
Interface that specifies a basic set of MongoDB operations executed in a reactive way.
- ReactiveMongoPersistentEntityIndexCreator - Class in org.springframework.data.mongodb.core.index
-
Component that inspects
MongoPersistentEntity
instances contained in the givenMongoMappingContext
for indexing metadata and ensures the indexes to be available using reactive infrastructure. - ReactiveMongoPersistentEntityIndexCreator(MongoMappingContext, ReactiveIndexOperationsProvider) - Constructor for class org.springframework.data.mongodb.core.index.ReactiveMongoPersistentEntityIndexCreator
-
Creates a new
ReactiveMongoPersistentEntityIndexCreator
for the givenMongoMappingContext
,ReactiveIndexOperationsProvider
. - ReactiveMongoPersistentEntityIndexCreator(MongoMappingContext, ReactiveIndexOperationsProvider, IndexResolver) - Constructor for class org.springframework.data.mongodb.core.index.ReactiveMongoPersistentEntityIndexCreator
-
Creates a new
ReactiveMongoPersistentEntityIndexCreator
for the givenMongoMappingContext
,ReactiveIndexOperationsProvider
, andIndexResolver
. - ReactiveMongoQueryMethod - Class in org.springframework.data.mongodb.repository.query
-
Reactive specific implementation of
MongoQueryMethod
. - ReactiveMongoQueryMethod(Method, RepositoryMetadata, ProjectionFactory, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.repository.query.ReactiveMongoQueryMethod
-
Creates a new
ReactiveMongoQueryMethod
from the givenMethod
. - ReactiveMongoRepository<T,
ID> - Interface in org.springframework.data.mongodb.repository -
Mongo specific
Repository
interface with reactive support. - ReactiveMongoRepositoryConfigurationExtension - Class in org.springframework.data.mongodb.repository.config
-
Reactive
RepositoryConfigurationExtension
for MongoDB. - ReactiveMongoRepositoryConfigurationExtension() - Constructor for class org.springframework.data.mongodb.repository.config.ReactiveMongoRepositoryConfigurationExtension
- ReactiveMongoRepositoryFactory - Class in org.springframework.data.mongodb.repository.support
-
Factory to create
ReactiveMongoRepository
instances. - ReactiveMongoRepositoryFactory(ReactiveMongoOperations) - Constructor for class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactory
-
Creates a new
ReactiveMongoRepositoryFactory
with the givenReactiveMongoOperations
. - ReactiveMongoRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,
ID>, S, ID extends Serializable> - Class in org.springframework.data.mongodb.repository.support -
FactoryBean
to createReactiveMongoRepository
instances. - ReactiveMongoRepositoryFactoryBean(Class<? extends T>) - Constructor for class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactoryBean
-
Creates a new
ReactiveMongoRepositoryFactoryBean
for the given repository interface. - reactiveMongoTemplate(ReactiveMongoDatabaseFactory, MappingMongoConverter) - Method in class org.springframework.data.mongodb.config.AbstractReactiveMongoConfiguration
-
Creates
ReactiveMongoOperations
. - ReactiveMongoTemplate - Class in org.springframework.data.mongodb.core
-
Primary implementation of
ReactiveMongoOperations
. - ReactiveMongoTemplate(MongoClient, String) - Constructor for class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Constructor used for a basic template configuration.
- ReactiveMongoTemplate(ReactiveMongoDatabaseFactory) - Constructor for class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Constructor used for a basic template configuration.
- ReactiveMongoTemplate(ReactiveMongoDatabaseFactory, MongoConverter) - Constructor for class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Constructor used for a basic template configuration.
- ReactiveMongoTemplate(ReactiveMongoDatabaseFactory, MongoConverter, Consumer<Throwable>) - Constructor for class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Constructor used for a basic template configuration.
- reactiveMongoTemplateRef() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Configures the name of the
MongoTemplate
bean to be used with the repositories detected. - ReactiveMongoTransactionManager - Class in org.springframework.data.mongodb
-
A
ReactiveTransactionManager
implementation that managesClientSession
based transactions for a singleReactiveMongoDatabaseFactory
. - ReactiveMongoTransactionManager() - Constructor for class org.springframework.data.mongodb.ReactiveMongoTransactionManager
-
Create a new
ReactiveMongoTransactionManager
for bean-style usage. - ReactiveMongoTransactionManager(ReactiveMongoDatabaseFactory) - Constructor for class org.springframework.data.mongodb.ReactiveMongoTransactionManager
-
Create a new
ReactiveMongoTransactionManager
obtaining sessions from the givenReactiveMongoDatabaseFactory
. - ReactiveMongoTransactionManager(ReactiveMongoDatabaseFactory, TransactionOptions) - Constructor for class org.springframework.data.mongodb.ReactiveMongoTransactionManager
-
Create a new
ReactiveMongoTransactionManager
obtaining sessions from the givenReactiveMongoDatabaseFactory
applying the givenoptions
, if present, when starting a new transaction. - ReactiveMongoTransactionManager.ReactiveMongoTransactionObject - Class in org.springframework.data.mongodb
-
MongoDB specific transaction object, representing a
MongoResourceHolder
. - ReactivePartTreeMongoQuery - Class in org.springframework.data.mongodb.repository.query
-
Reactive PartTree
RepositoryQuery
implementation for Mongo. - ReactivePartTreeMongoQuery(ReactiveMongoQueryMethod, ReactiveMongoOperations, ExpressionParser, ReactiveQueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.mongodb.repository.query.ReactivePartTreeMongoQuery
- ReactiveQuerydslMongoPredicateExecutor<T> - Class in org.springframework.data.mongodb.repository.support
-
MongoDB-specific
QuerydslPredicateExecutor
that allows executionPredicate
s in various forms. - ReactiveQuerydslMongoPredicateExecutor(MongoEntityInformation<T, ?>, ReactiveMongoOperations) - Constructor for class org.springframework.data.mongodb.repository.support.ReactiveQuerydslMongoPredicateExecutor
-
Creates a new
ReactiveQuerydslMongoPredicateExecutor
for the givenMongoEntityInformation
andReactiveMongoOperations
. - ReactiveQuerydslMongoPredicateExecutor(MongoEntityInformation<T, ?>, ReactiveMongoOperations, EntityPathResolver) - Constructor for class org.springframework.data.mongodb.repository.support.ReactiveQuerydslMongoPredicateExecutor
-
Creates a new
ReactiveQuerydslMongoPredicateExecutor
for the givenMongoEntityInformation
,ReactiveMongoOperations
andEntityPathResolver
. - ReactiveRemoveOperation - Interface in org.springframework.data.mongodb.core
-
ReactiveRemoveOperation
allows creation and execution of reactive MongoDB remove / findAndRemove operations in a fluent API style. - ReactiveRemoveOperation.ReactiveRemove<T> - Interface in org.springframework.data.mongodb.core
- ReactiveRemoveOperation.RemoveWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Collection override (optional).
- ReactiveRemoveOperation.RemoveWithQuery<T> - Interface in org.springframework.data.mongodb.core
-
Provide a
Query
override (optional). - ReactiveRemoveOperation.TerminatingRemove<T> - Interface in org.springframework.data.mongodb.core
-
Compose remove execution by calling one of the terminating methods.
- ReactiveSessionCallback<T> - Interface in org.springframework.data.mongodb.core
-
Callback interface for executing operations within a
ClientSession
using reactive infrastructure. - ReactiveSessionScoped - Interface in org.springframework.data.mongodb.core
-
Gateway interface to execute
ClientSession
bound operations against MongoDB via aReactiveSessionCallback
. - ReactiveStringBasedAggregation - Class in org.springframework.data.mongodb.repository.query
-
A reactive
RepositoryQuery
to use a plain JSON String to create anaggregation
pipeline to actually execute. - ReactiveStringBasedAggregation(ReactiveMongoQueryMethod, ReactiveMongoOperations, ExpressionParser, ReactiveQueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.mongodb.repository.query.ReactiveStringBasedAggregation
- ReactiveStringBasedMongoQuery - Class in org.springframework.data.mongodb.repository.query
-
Query to use a plain JSON String to create the
Query
to actually execute. - ReactiveStringBasedMongoQuery(String, ReactiveMongoQueryMethod, ReactiveMongoOperations, ExpressionParser, ReactiveQueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.mongodb.repository.query.ReactiveStringBasedMongoQuery
-
Creates a new
ReactiveStringBasedMongoQuery
for the givenString
,MongoQueryMethod
,MongoOperations
,SpelExpressionParser
andReactiveExtensionAwareQueryMethodEvaluationContextProvider
. - ReactiveStringBasedMongoQuery(ReactiveMongoQueryMethod, ReactiveMongoOperations, ExpressionParser, ReactiveQueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.mongodb.repository.query.ReactiveStringBasedMongoQuery
- ReactiveUpdateOperation - Interface in org.springframework.data.mongodb.core
-
ReactiveUpdateOperation
allows creation and execution of reactive MongoDB update / findAndModify / findAndReplace operations in a fluent API style. - ReactiveUpdateOperation.FindAndModifyWithOptions<T> - Interface in org.springframework.data.mongodb.core
-
Define
FindAndModifyOptions
(optional). - ReactiveUpdateOperation.FindAndReplaceWithOptions<T> - Interface in org.springframework.data.mongodb.core
-
Define
FindAndReplaceOptions
. - ReactiveUpdateOperation.FindAndReplaceWithProjection<T> - Interface in org.springframework.data.mongodb.core
-
Result type override (Optional).
- ReactiveUpdateOperation.ReactiveUpdate<T> - Interface in org.springframework.data.mongodb.core
- ReactiveUpdateOperation.TerminatingFindAndModify<T> - Interface in org.springframework.data.mongodb.core
-
Compose findAndModify execution by calling one of the terminating methods.
- ReactiveUpdateOperation.TerminatingFindAndReplace<T> - Interface in org.springframework.data.mongodb.core
-
Compose findAndReplace execution by calling one of the terminating methods.
- ReactiveUpdateOperation.TerminatingUpdate<T> - Interface in org.springframework.data.mongodb.core
-
Compose update execution by calling one of the terminating methods.
- ReactiveUpdateOperation.UpdateWithCollection<T> - Interface in org.springframework.data.mongodb.core
-
Explicitly define the name of the collection to perform operation in (optional).
- ReactiveUpdateOperation.UpdateWithQuery<T> - Interface in org.springframework.data.mongodb.core
-
Define a filter query for the
Update
(optional). - ReactiveUpdateOperation.UpdateWithUpdate<T> - Interface in org.springframework.data.mongodb.core
-
Declare the
Update
to apply. - read(Class<S>, Bson) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- read(Object, TypeInformation<?>) - Method in interface org.springframework.data.mongodb.core.convert.ReferenceResolver.MongoEntityReader
-
Read values from the given source into an object defined via the given
TypeInformation
. - read(Object, TypeInformation<T>) - Method in class org.springframework.data.mongodb.core.convert.MongoConversionContext
- read(TypeInformation<S>, Bson) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- readAliasFrom(Bson) - Method in class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper.DocumentTypeAliasAccessor
- readBsonType() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- readCollectionOrArray(MappingMongoConverter.ConversionContext, Collection<?>, TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Reads the given
Collection
into a collection of the givenTypeInformation
. - ReadConcernPropertyEditor - Class in org.springframework.data.mongodb.config
-
Parse a
String
to aReadConcern
. - ReadConcernPropertyEditor() - Constructor for class org.springframework.data.mongodb.config.ReadConcernPropertyEditor
- readDocument(MappingMongoConverter.ConversionContext, Bson, TypeInformation<? extends S>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Conversion method to materialize an object from a
document
. - readMap(MappingMongoConverter.ConversionContext, Bson, TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- ReadPreferenceAware - Interface in org.springframework.data.mongodb.core
-
Interface to be implemented by any object that wishes to expose the
ReadPreference
. - ReadPreferencePropertyEditor - Class in org.springframework.data.mongodb.config
-
Parse a
String
to aReadPreference
. - ReadPreferencePropertyEditor() - Constructor for class org.springframework.data.mongodb.config.ReadPreferencePropertyEditor
- readReference(MongoPersistentProperty, Object, ReferenceLookupDelegate.LookupFunction, ReferenceResolver.MongoEntityReader) - Method in class org.springframework.data.mongodb.core.convert.ReferenceLookupDelegate
-
Read the reference expressed by the given property.
- redact(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
RedactOperation
that can restrict the content of a document based on information stored within the document itself. - RedactOperation - Class in org.springframework.data.mongodb.core.aggregation
-
RedactOperation
allows to restrict the content of aDocument
based on information stored within itself. - RedactOperation(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.RedactOperation
-
Create new
RedactOperation
. - RedactOperation.RedactOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder to create new instance of
RedactOperation
. - reduce(String) - Method in interface org.springframework.data.mongodb.core.ExecutableMapReduceOperation.MapReduceWithReduceFunction
-
Set the Javascript map
function()
. - reduce(String) - Method in interface org.springframework.data.mongodb.core.ReactiveMapReduceOperation.MapReduceWithReduceFunction
-
Set the Javascript map
function()
. - reduce(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Start creating new
AggregationExpression
that applies anAggregationExpression
to each element in an array and combines them into a single value. - reduce(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.ReduceBuilder
-
Define the
AggregationExpression
to apply to each element in the input array in left-to-right order. - reduce(ArrayOperators.Reduce.PropertyExpression...) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Start creating new
AggregationExpression
that applies anAggregationExpression
to each element in an array and combines them into a single value. - reduce(ArrayOperators.Reduce.PropertyExpression...) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.ReduceBuilder
-
Define the
ArrayOperators.Reduce.PropertyExpression
s to apply to each element in the input array in left-to-right order. - ReferenceCollection(String, String) - Constructor for class org.springframework.data.mongodb.core.convert.ReferenceResolver.ReferenceCollection
- ReferenceLoader - Interface in org.springframework.data.mongodb.core.convert
-
The
ReferenceLoader
obtains rawdocuments
for linked entities via aReferenceLoader.DocumentReferenceQuery
. - ReferenceLoader.DocumentReferenceQuery - Interface in org.springframework.data.mongodb.core.convert
-
The
ReferenceLoader.DocumentReferenceQuery
defines the criteria by whichdocuments
should be matched applying potentially given order criteria. - referenceLookupDelegate - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- ReferenceLookupDelegate - Class in org.springframework.data.mongodb.core.convert
-
A common delegate for
ReferenceResolver
implementations to resolve a reference to one/many target documents that are converted to entities. - ReferenceLookupDelegate(MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>, SpELContext) - Constructor for class org.springframework.data.mongodb.core.convert.ReferenceLookupDelegate
-
Create a new
ReferenceLookupDelegate
. - ReferenceResolver - Interface in org.springframework.data.mongodb.core.convert
-
The
ReferenceResolver
allows to load and convert linked entities. - ReferenceResolver.MongoEntityReader - Interface in org.springframework.data.mongodb.core.convert
-
Domain type conversion callback interface that allows to read the
source
object into a mapped object. - ReferenceResolver.ReferenceCollection - Class in org.springframework.data.mongodb.core.convert
-
ReferenceResolver.ReferenceCollection
is a value object that contains information about the target database and collection name of an association. - referringTo(String) - Method in enum class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.Variable
-
Create a
Field
reference to a given property prefixed with theArrayOperators.Reduce.Variable
identifier. - regex(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
-
Specify the regular expression to apply.
- regex(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFindAll
-
Specify the regular expression to apply.
- regex(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexMatch
-
Specify the regular expression to apply.
- regex(String) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using a $regex operator.
- regex(String, String) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using a $regex and $options operator.
- regex(Pattern) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Syntactical sugar for
Criteria.is(Object)
making obvious that we create a regex predicate. - regex(BsonRegularExpression) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Use a MongoDB native
BsonRegularExpression
. - REGEX - Enum constant in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator.MatchMode
-
Treats strings as regular expression patterns
- regexFind(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and applies the given regular expression to find the document with the first match.
NOTE: Requires MongoDB 4.0 or later. - regexFind(String, String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and applies the regular expression with the options specified in the argument to find the document with the first match. - regexFind(Pattern) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes thePattern
and applies the regular expression with the options specified in the argument to find the document with the first match. - regexFind(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and applies the regular expression resulting from the givenAggregationExpression
to find the document with the first match.
NOTE: Requires MongoDB 4.0 or later. - RegexFind(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
- regexFindAll(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and applies the given regular expression to find all the documents with the match.
NOTE: Requires MongoDB 4.0 or later. - regexFindAll(String, String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and applies the regular expression with the options specified in the argument to find all the documents with the match. - regexFindAll(Pattern) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes aPattern
and applies the regular expression with the options specified in the argument to find all the documents with the match. - regexFindAll(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and applies the regular expression resulting from the givenAggregationExpression
to find all the documents with the match..
NOTE: Requires MongoDB 4.0 or later. - RegexFindAll(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFindAll
- RegexFlags - Class in org.springframework.data.mongodb.util
-
Utility to translate
regex flags
to MongoDB regex options and vice versa. - regexMatch(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and applies the given regular expression to find if a match is found or not.
NOTE: Requires MongoDB 4.0 or later. - regexMatch(String, String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and applies the regular expression with the options specified in the argument to find if a match is found or not. - regexMatch(Pattern) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes aPattern
and applies the regular expression with the options specified in the argument to find if a match is found or not. - regexMatch(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and applies the regular expression resulting from the givenAggregationExpression
to find if a match is found or not.
NOTE: Requires MongoDB 4.0 or later. - RegexMatch(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexMatch
- regexOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
-
Specify the reference to the
field
holding the regular expression to apply. - regexOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFindAll
-
Specify the reference to the
field
holding the regular expression to apply. - regexOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexMatch
-
Specify the reference to the
field
holding the regular expression to apply. - regexOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
-
Specify the
AggregationExpression
evaluating to the regular expression to apply. - regexOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFindAll
-
Specify the
AggregationExpression
evaluating to the regular expression to apply. - regexOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexMatch
-
Optional specify the
AggregationExpression
evaluating to the regular expression to apply. - regexType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- register(SubscriptionRequest<S, ? super T, ? extends SubscriptionRequest.RequestOptions>, Class<T>) - Method in class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
- register(SubscriptionRequest<S, ? super T, ? extends SubscriptionRequest.RequestOptions>, Class<T>) - Method in interface org.springframework.data.mongodb.core.messaging.MessageListenerContainer
-
Register a new
SubscriptionRequest
in the container. - register(SubscriptionRequest<S, ? super T, ? extends SubscriptionRequest.RequestOptions>, Class<T>, ErrorHandler) - Method in class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
- register(SubscriptionRequest<S, ? super T, ? extends SubscriptionRequest.RequestOptions>, Class<T>, ErrorHandler) - Method in interface org.springframework.data.mongodb.core.messaging.MessageListenerContainer
-
Register a new
SubscriptionRequest
in the container. - register(SubscriptionRequest<T, Object, ? extends SubscriptionRequest.RequestOptions>) - Method in interface org.springframework.data.mongodb.core.messaging.MessageListenerContainer
-
Register a new
SubscriptionRequest
in the container. - register(SubscriptionRequest, Task) - Method in class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
- register(ExecutableMongoScript) - Method in interface org.springframework.data.mongodb.core.ScriptOperations
-
Deprecated.Store given
ExecutableMongoScript
generating a syntheitcal name so that it can be called by it subsequently. - register(NamedMongoScript) - Method in interface org.springframework.data.mongodb.core.ScriptOperations
-
Deprecated.Registers the given
NamedMongoScript
in the database. - registerConverter(Converter<?, ?>) - Method in class org.springframework.data.mongodb.core.convert.MongoCustomConversions.MongoConverterConfigurationAdapter
-
Add a custom
Converter
implementation. - registerConverterFactory(ConverterFactory<?, ?>) - Method in class org.springframework.data.mongodb.core.convert.MongoCustomConversions.MongoConverterConfigurationAdapter
-
Add a custom
ConverterFactory
implementation. - registerConverters(Collection<?>) - Method in class org.springframework.data.mongodb.core.convert.MongoCustomConversions.MongoConverterConfigurationAdapter
-
Add
converters
,factories
,converter-aware objects
, andgeneric converters
. - registerJmxComponents(String, Element, ParserContext) - Method in class org.springframework.data.mongodb.config.MongoJmxParser
- registerLazyLoadingProxyIfNeeded(Class<?>, GenerationContext) - Method in class org.springframework.data.mongodb.aot.LazyLoadingProxyAotProcessor
- registerPropertyValueConverterFactory(PropertyValueConverterFactory) - Method in class org.springframework.data.mongodb.core.convert.MongoCustomConversions.MongoConverterConfigurationAdapter
-
Add a custom/default
PropertyValueConverterFactory
implementation used to servePropertyValueConverter
. - REGULAR_EXPRESSION - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- RELAXED - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.AggregationOptions.DomainTypeMapping
-
Fields that do not exist in the model are treated as-is.
- relaxedMapping() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Apply a relaxed domain type mapping considering
Field
annotations using the user provided name if a referenced field does not exist. - RelaxedTypeBasedAggregationOperationContext - Class in org.springframework.data.mongodb.core.aggregation
-
A
TypeBasedAggregationOperationContext
with less restrictive field reference handling, suppressingInvalidPersistentPropertyPath
exceptions when resolving mapped field names. - RelaxedTypeBasedAggregationOperationContext(Class<?>, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>, QueryMapper) - Constructor for class org.springframework.data.mongodb.core.aggregation.RelaxedTypeBasedAggregationOperationContext
-
Creates a new
TypeBasedAggregationOperationContext
for the given type,MappingContext
andQueryMapper
. - remove(boolean) - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
- remove(Class<T>) - Method in interface org.springframework.data.mongodb.core.ExecutableRemoveOperation
-
Start creating a remove operation for the given domainType.
- remove(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- remove(Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- remove(Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveRemoveOperation
-
Start creating a remove operation for the given domainType.
- remove(Object) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Remove the given object from the collection by id and (if applicable) its
Version
. - remove(Object) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- remove(Object) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Remove the given object from the collection by id.
- remove(Object) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- remove(Object, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Removes the given object from the given collection by id and (if applicable) its
Version
. - remove(Object, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- remove(Object, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Removes the given object from the given collection.
- remove(Object, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- remove(String) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch
- remove(List<Query>) - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Add a list of remove operations to the bulk operation.
- remove(Subscription) - Method in class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
- remove(Subscription) - Method in interface org.springframework.data.mongodb.core.messaging.MessageListenerContainer
-
Unregister a given
Subscription
from the container. - remove(Query) - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Add a single remove operation to the bulk operation.
- remove(Query, Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Remove all documents that match the provided query document criteria from the collection used to store the entityClass.
- remove(Query, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- remove(Query, Class<?>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Remove all documents that match the provided query document criteria from the collection used to store the entityClass.
- remove(Query, Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- remove(Query, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Remove all documents that match the provided query document criteria from the collection used to store the entityClass.
- remove(Query, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- remove(Query, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Remove all documents that match the provided query document criteria from the collection used to store the entityClass.
- remove(Query, Class<?>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- remove(Query, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Remove all documents from the specified collection that match the provided query document criteria.
- remove(Query, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- remove(Query, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Remove all documents from the specified collection that match the provided query document criteria.
- remove(Query, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- remove(Mono<? extends Object>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Remove the given object from the collection by id.
- remove(Mono<? extends Object>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- remove(Mono<? extends Object>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Removes the given object from the given collection.
- remove(Mono<? extends Object>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- REMOVE - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
-
Variable that evaluates to a missing value.
- REMOVE - Enum constant in enum class org.springframework.data.mongodb.core.MongoActionOperation
- REMOVE - Static variable in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
A variable to conditionally exclude a field.
- removeField(String) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and obtains the value of the field with matching name. - removeNullId(Bson) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Remove
_id : null
from the givenBson
if present. - rename(String, String) - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
- rename(String, String) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update using the $rename update modifier
- REPLACE - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.OutOperation.OutMode
-
Update on any document in the target collection with the same uniqueKey.
- REPLACE_COLLECTION - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.OutOperation.OutMode
-
Replaces the to collection with the output from the aggregation pipeline.
- replaceAll(String, String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and replaces all occurrences of the search string with the given replacement. - replaceAll(AggregationExpression, String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and replaces all occurrences of the search string computed by the givenAggregationExpression
with the given replacement. - ReplaceAll(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceAll
- replaceCollection() - Method in class org.springframework.data.mongodb.core.aggregation.OutOperation
-
Replace the target collection.
- replaceDocument() - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsMatch
-
Replace the existing document in the output collection with the matching results document.
- replaceDocuments() - Method in class org.springframework.data.mongodb.core.aggregation.OutOperation
-
Replace/Upsert documents in the target collection.
- replacement(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceAll
-
The string to use to replace the first matched instance of
find
in input. - replacement(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceOne
-
The string to use to replace the first matched instance of
find
in input. - replacementOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceOne
-
Specifies the reference to the
field
holding the string to use to replace the first matched instance offind
in input. - replacementOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceOne
-
Specifies the
AggregationExpression
evaluating to the string to use to replace the first matched instance offind
ininput
. - replacementValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceAll
-
Specifies the reference to the
field
holding the string to use to replace the first matched instance offind
in input. - replacementValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceAll
-
Specifies the
AggregationExpression
evaluating to the string to use to replace the first matched instance offind
in input. - replaceOne(String, String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and replaces the first occurrence of the search string with the given replacement. - replaceOne(AggregationExpression, String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and replaces the first occurrence of the search string computed by the givenAggregationExpression
with the given replacement. - replaceOne(Query, Object) - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Add a single replace operation to the bulk operation.
- replaceOne(Query, Object, FindAndReplaceOptions) - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Add a single replace operation to the bulk operation.
- ReplaceOne(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceOne
- replaceRoot() - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Factory method to create a new
ReplaceRootOperation.ReplaceRootDocumentOperationBuilder
to configure aReplaceRootOperation
. - replaceRoot(String) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Factory method to create a new
ReplaceRootOperation
for the field with the given name. - replaceRoot(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Factory method to create a new
ReplaceRootOperation
for the field with the givenAggregationExpression
. - ReplaceRootDocumentOperation() - Constructor for class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootDocumentOperation
-
Creates an empty
ReplaceRootOperation.ReplaceRootDocumentOperation
. - ReplaceRootDocumentOperation(ReplaceRootOperation.ReplaceRootDocumentOperation, ReplaceRootOperation.ReplacementDocument) - Constructor for class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootDocumentOperation
-
Creates an extended
ReplaceRootOperation.ReplaceRootDocumentOperation
that combinesReplaceRootOperation.ReplacementDocument
s from the currentOperation and extension operation. - ReplaceRootDocumentOperationBuilder(ReplaceRootOperation.ReplaceRootDocumentOperation, Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootDocumentOperationBuilder
- ReplaceRootOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$replaceRoot
-operation. - ReplaceRootOperation(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation
-
Creates a new
ReplaceRootOperation
given theAggregationExpression
pointing to a document. - ReplaceRootOperation(Field) - Constructor for class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation
-
Creates a new
ReplaceRootOperation
given theField
field name. - ReplaceRootOperation(ReplaceRootOperation.Replacement) - Constructor for class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation
-
Creates a new
ReplaceRootOperation
given theReplaceRootOperation.Replacement
. - ReplaceRootOperation.Replacement - Interface in org.springframework.data.mongodb.core.aggregation
-
Replacement object that results in a replacement document or an expression that results in a document.
- ReplaceRootOperation.ReplaceRootDocumentOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$replaceRoot
-operation to result in a composable replacement document. - ReplaceRootOperation.ReplaceRootDocumentOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder for
ReplaceRootOperation.ReplaceRootDocumentOperation
to populateReplaceRootOperation.ReplacementDocument
- ReplaceRootOperation.ReplaceRootOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder for
ReplaceRootOperation
. - ReplaceRootOperationBuilder() - Constructor for class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootOperationBuilder
- replaceWith(Object) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
-
$replaceWith
replaces the input document with the value. - replaceWith(ReplaceWithOperation) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
-
$replaceWith
replaces the input document with the specified document. - replaceWith(T) - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.UpdateWithUpdate
-
Specify
replacement
object. - replaceWith(T) - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.UpdateWithUpdate
-
Specify
replacement
object. - ReplaceWithOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$replaceRoot
-operation. - ReplaceWithOperation(ReplaceRootOperation.Replacement) - Constructor for class org.springframework.data.mongodb.core.aggregation.ReplaceWithOperation
-
Creates new instance of
ReplaceWithOperation
. - replaceWithResourceIfNecessary(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- replaceWithValue(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ReplaceWithOperation
-
Creates new instance of
ReplaceWithOperation
. - replaceWithValueOf(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ReplaceWithOperation
- repositoryBaseClass() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Configure the repository base class to be used to create repository proxies for this particular configuration.
- repositoryBaseClass() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Configure the repository base class to be used to create repository proxies for this particular configuration.
- repositoryFactoryBeanClass() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Returns the
FactoryBean
class to be used for each repository instance. - repositoryFactoryBeanClass() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Returns the
FactoryBean
class to be used for each repository instance. - repositoryImplementationPostfix() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Returns the postfix to be used when looking up custom repository implementations.
- repositoryImplementationPostfix() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Returns the postfix to be used when looking up custom repository implementations.
- representation() - Method in class org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type.BsonType
- representation() - Method in class org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type.JsonType
- representation() - Method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
-
Get the
JsonSchemaObject.Type
representation. - required(String...) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty
- required(String...) - Method in class org.springframework.data.mongodb.core.schema.MongoJsonSchema.MongoJsonSchemaBuilder
- required(String...) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
-
Define the Object’s required properties.
- required(JsonSchemaProperty) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Turns the given
JsonSchemaProperty
into a required on. - reset() - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader.Mark
- resolve(MongoPersistentProperty) - Method in interface org.springframework.data.mongodb.core.convert.DbRefResolverCallback
-
Resolve the final object for the given
MongoPersistentProperty
. - resolve(MongoAction) - Method in interface org.springframework.data.mongodb.core.WriteConcernResolver
-
Resolve the
WriteConcern
given theMongoAction
. - resolveConflict(MongoJsonSchema.ConflictResolutionFunction.Path, Object, Object) - Method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema.ConflictResolutionFunction
-
Resolve the conflict for two values under the same
path
. - resolveDbRef(MongoPersistentProperty, DBRef, DbRefResolverCallback, DbRefProxyHandler) - Method in interface org.springframework.data.mongodb.core.convert.DbRefResolver
-
Resolves the given
DBRef
into an object of the givenMongoPersistentProperty
's type. - resolveDbRef(MongoPersistentProperty, DBRef, DbRefResolverCallback, DbRefProxyHandler) - Method in class org.springframework.data.mongodb.core.convert.DefaultDbRefResolver
- resolveDbRef(MongoPersistentProperty, DBRef, DbRefResolverCallback, DbRefProxyHandler) - Method in enum class org.springframework.data.mongodb.core.convert.NoOpDbRefResolver
- resolveEntity(MongoPersistentProperty) - Method in interface org.springframework.data.mongodb.core.MongoJsonSchemaCreator.JsonSchemaPropertyContext
-
Obtain the
MongoPersistentEntity
for a given property. - resolveId(Element, AbstractBeanDefinition, ParserContext) - Method in class org.springframework.data.mongodb.config.MongoDbFactoryParser
- resolveIndexFor(Class<?>) - Method in interface org.springframework.data.mongodb.core.index.IndexResolver
-
Find and create
IndexDefinition
s for properties of givenTypeInformation
. - resolveIndexFor(TypeInformation<?>) - Method in interface org.springframework.data.mongodb.core.index.IndexResolver
-
Find and create
IndexDefinition
s for properties of givenTypeInformation
. - resolveIndexFor(TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver
- resolveIndexForEntity(MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver
-
Resolve the
IndexDefinition
s for a given root entity by traversingMongoPersistentProperty
scanning for index annotationsIndexed
,CompoundIndex
andGeospatialIndex
. - resolveKeyId(String, Supplier<EvaluationContext>) - Static method in class org.springframework.data.mongodb.util.encryption.EncryptionUtils
-
Resolve a given plain
String
value into the store native keyId format, considering potentialexpressions
. - resolveProxyType(Class<?>, Supplier<LazyLoadingProxyFactory.LazyLoadingInterceptor>) - Static method in class org.springframework.data.mongodb.core.convert.LazyLoadingProxyFactory
-
Predict the proxy target type.
- resolveReference(MongoPersistentProperty, Object, ReferenceLookupDelegate, ReferenceResolver.MongoEntityReader) - Method in class org.springframework.data.mongodb.core.convert.DefaultReferenceResolver
- resolveReference(MongoPersistentProperty, Object, ReferenceLookupDelegate, ReferenceResolver.MongoEntityReader) - Method in enum class org.springframework.data.mongodb.core.convert.NoOpDbRefResolver
- resolveReference(MongoPersistentProperty, Object, ReferenceLookupDelegate, ReferenceResolver.MongoEntityReader) - Method in interface org.springframework.data.mongodb.core.convert.ReferenceResolver
-
Resolve the association defined via the given property from a given source value.
- resolveValue(Bson, String) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Resolve a the value for a given key.
- restoreOrder(Iterable<Document>) - Method in interface org.springframework.data.mongodb.core.convert.ReferenceLoader.DocumentReferenceQuery
-
Restore the order of fetched documents.
- restrict(Class<?>, Class<?>...) - Method in class org.springframework.data.mongodb.core.query.Query
-
Restricts the query to only return documents instances that are exactly of the given types.
- restrict(CriteriaDefinition) - Method in class org.springframework.data.mongodb.core.aggregation.GraphLookupOperation.GraphLookupOperationBuilder
-
Optionally add a query specifying conditions to the recursive search.
- restrictions - Variable in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
- resumeAfter(Object) - Method in interface org.springframework.data.mongodb.core.ReactiveChangeStreamOperation.ResumingChangeStream
-
Resume the change stream after a given point.
- resumeAfter(BsonValue) - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
-
Set the resume token after which to continue emitting notifications.
- resumeAfter(BsonValue) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the resume token after which to continue emitting notifications.
- resumeAt(Object) - Method in interface org.springframework.data.mongodb.core.ReactiveChangeStreamOperation.ResumingChangeStream
-
Resume the change stream at a given point.
- resumeAt(Instant) - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
-
Set the cluster time to resume from.
- resumeAt(Instant) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the cluster time at which to resume listening.
- resumeAt(BsonTimestamp) - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
-
Set the cluster time to resume from.
- resumeToken(BsonValue) - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
-
Set the resume token (typically a
BsonDocument
containing abinary token
) after which to start with listening. - resumeToken(BsonValue) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the resume token (typically a
BsonDocument
containing abinary token
) after which to start with listening. - returnFullDocumentBeforeChange() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
-
Return the full document before being changed if it is available.
- returnFullDocumentOnUpdate() - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
-
Set the
FullDocument
lookup toFullDocument.UPDATE_LOOKUP
. - returnNew() - Method in class org.springframework.data.mongodb.core.FindAndReplaceOptions
-
Return the replacement document.
- returnNew(boolean) - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
- returnPropertyIfBetterIdPropertyCandidateOrNull(MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
-
As a general note: An implicit id property has a name that matches "id" or "_id".
- reverse() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that returns an array with the elements in reverse order. - reverseArrayOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ReverseArray
-
Creates new
ArrayOperators.ReverseArray
given fieldReference. - reverseArrayOf(Collection<?>) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ReverseArray
-
Creates new
ArrayOperators.ReverseArray
. - reverseArrayOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ReverseArray
-
Creates new
ArrayOperators.ReverseArray
givenAggregationExpression
. - right() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Trim
-
Remove whitespace or the specified characters from the end of a string.
- ROOT - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
-
Variable that references the root document.
- ROOT - Static variable in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
References the root document, i.e. the top-level document, currently being processed in the aggregation pipeline stage.
- round() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that rounds a number to a whole integer or to a specified decimal place. - round(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Round
-
Round the given numeric (integer, double, decimal, or long) value.
- roundToPlace(int) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that rounds a number to a specified decimal place. - roundValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Round
-
Round the value of the field that resolves to an integer, double, decimal, or long.
- roundValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Round
-
Round the outcome of the given expression hat resolves to an integer, double, decimal, or long.
- rtrim() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and trims whitespaces from the end. - rtrim(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and trims the given character sequence from the end. - rtrim(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and trims the character sequence resulting from the givenAggregationExpression
from the end. - RUNNING - Enum constant in enum class org.springframework.data.mongodb.core.messaging.Task.State
S
- sample(long) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
SampleOperation
to select the specified number of documents from its input randomly. - SampleOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the
$sample
-operation. - SampleOperation(long) - Constructor for class org.springframework.data.mongodb.core.aggregation.SampleOperation
- sampleRate(double) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $sampleRate operator.
- save(Mono<? extends T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Save the object to the collection for the entity type of the object to save.
- save(Mono<? extends T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- save(Mono<? extends T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Save the object to the specified collection.
- save(Mono<? extends T>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- save(S) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- save(S) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- save(T) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Save the object to the collection for the entity type of the object to save.
- save(T) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- save(T) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Save the object to the collection for the entity type of the object to save.
- save(T) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- save(T, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Save the object to the specified collection.
- save(T, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- save(T, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Save the object to the specified collection.
- save(T, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- SAVE - Enum constant in enum class org.springframework.data.mongodb.core.MongoActionOperation
- saveAll(Iterable<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- saveAll(Iterable<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- saveAll(Publisher<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- saveDocument(String, Document, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- saveDocument(String, Document, Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- scanForEntities(String) - Method in class org.springframework.data.mongodb.config.MongoConfigurationSupport
-
Scans the given base package for entities, i.e.
- schema(MongoJsonSchema) - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings andvalidationOptions
set to givenMongoJsonSchema
. - schema(MongoJsonSchema) - Static method in interface org.springframework.data.mongodb.core.validation.Validator
-
Creates a new
Validator
checking documents against the structure defined inMongoJsonSchema
. - schemaDocument() - Method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema
-
Create the
Document
defining the schema. - schemaValidationAction(ValidationAction) - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings andvalidationAction
set givenValidationAction
. - schemaValidationLevel(ValidationLevel) - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings andvalidationLevel
set givenValidationLevel
. - scopeVariables(Map<String, Object>) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.Key-value pairs that are placed into JavaScript global scope and can be accessed from map, reduce, and finalize scripts.
- SCRIPT - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- ScriptOperations - Interface in org.springframework.data.mongodb.core
-
Deprecated.since 2.2. The
eval
command has been removed without replacement in MongoDB Server 4.2.0. - ScriptOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to $function and $accumulator aggregation operations.
- ScriptOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.ScriptOperators
- ScriptOperators.Accumulator - Class in org.springframework.data.mongodb.core.aggregation
-
ScriptOperators.Accumulator
defines a custom aggregation $accumulator operator, one that maintains its state (e.g. totals, maximums, minimums, and related data) as documents progress through the pipeline, in JavaScript. - ScriptOperators.Accumulator.AccumulatorAccumulateArgsBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ScriptOperators.Accumulator.AccumulatorAccumulateBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ScriptOperators.Accumulator.AccumulatorFinalizeBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ScriptOperators.Accumulator.AccumulatorInitArgsBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ScriptOperators.Accumulator.AccumulatorInitBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ScriptOperators.Accumulator.AccumulatorMergeBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- ScriptOperators.Function - Class in org.springframework.data.mongodb.core.aggregation
-
ScriptOperators.Function
defines a custom aggregation $function in JavaScript. - scriptOps() - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Deprecated.since 2.2. The
eval
command has been removed without replacement in MongoDB Server 4.2.0. - scriptOps() - Method in class org.springframework.data.mongodb.core.MongoTemplate
- SEARCH_META - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
-
A variable that stores the metadata results of an Atlas Search query.
- second() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the second portion of a date as a number between 0 and 59, but can be 60 to account for leap seconds. - second(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
- second(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateParts
-
Set the second to the given value which must resolve to a value in range
0 - 59
. - second(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
- second(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Second
-
Creates new
DateOperators.Second
. - SECOND - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnits
- SECOND - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnits
- secondary() - Static method in interface org.springframework.data.mongodb.core.query.Collation.ComparisonLevel
-
Secondary level of comparison.
- SECONDARY_READS - Enum constant in enum class org.springframework.data.mongodb.core.query.Meta.CursorOption
-
Allows querying of a replica.
- secondOf(String) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateParts
-
Set the second to the value resolved by following the given
field reference
. - secondOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Second
-
Creates new
DateOperators.Second
. - secondOf(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateParts
-
Set the second to the result of the given
expression
. - secondOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Second
-
Creates new
DateOperators.Second
. - SECONDS - Enum constant in enum class org.springframework.data.mongodb.core.timeseries.Granularity
-
High frequency ingestion.
- SelectionOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to selection operators such as $bottom.
- SelectionOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.SelectionOperators
- SelectionOperators.Bottom - Class in org.springframework.data.mongodb.core.aggregation
-
AbstractAggregationExpression
to return the bottom element according to the specifiedorder
. - SelectionOperators.First - Class in org.springframework.data.mongodb.core.aggregation
-
AbstractAggregationExpression
to return the $firstN elements. - SelectionOperators.Last - Class in org.springframework.data.mongodb.core.aggregation
-
AbstractAggregationExpression
to return the $lastN elements. - SelectionOperators.Top - Class in org.springframework.data.mongodb.core.aggregation
-
AbstractAggregationExpression
to return the top element according to the specifiedorder
. - SerializationUtils - Class in org.springframework.data.mongodb.core.query
-
Utility methods for JSON serialization.
- serializers() - Static method in class org.springframework.data.mongodb.core.geo.GeoJsonModule
-
Obtain a
Module
containingserializers
for the followingGeoJson
types:GeoJsonPoint
GeoJsonMultiPoint
GeoJsonLineString
GeoJsonMultiLineString
GeoJsonPolygon
GeoJsonMultiPolygon
- serializeToJsonSafely(Object) - Static method in class org.springframework.data.mongodb.core.query.SerializationUtils
-
Serializes the given object into pseudo-JSON meaning it's trying to create a JSON representation as far as possible but falling back to the given object's
Object.toString()
method if it's not serializable. - serializeValue(Object) - Static method in class org.springframework.data.mongodb.core.query.SerializationUtils
- SERIES_1_2_5 - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
- ServerAddressPropertyEditor - Class in org.springframework.data.mongodb.config
-
Parse a
String
to aServerAddress
array. - ServerAddressPropertyEditor() - Constructor for class org.springframework.data.mongodb.config.ServerAddressPropertyEditor
- ServerInfo - Class in org.springframework.data.mongodb.monitor
-
Expose basic server information via JMX
- ServerInfo(MongoClient) - Constructor for class org.springframework.data.mongodb.monitor.ServerInfo
- SessionAwareMethodInterceptor<D,
C> - Class in org.springframework.data.mongodb -
MethodInterceptor
implementation looking up and invoking an alternative target method havingClientSession
as its first argument. - SessionAwareMethodInterceptor(ClientSession, T, Class<? extends ClientSession>, Class<D>, SessionAwareMethodInterceptor.ClientSessionOperator<D>, Class<C>, SessionAwareMethodInterceptor.ClientSessionOperator<C>) - Constructor for class org.springframework.data.mongodb.SessionAwareMethodInterceptor
-
Create a new SessionAwareMethodInterceptor for given target.
- SessionAwareMethodInterceptor.ClientSessionOperator<T> - Interface in org.springframework.data.mongodb
-
Represents an operation upon two operands of the same type, producing a result of the same type as the operands accepting
ClientSession
. - SessionCallback<T> - Interface in org.springframework.data.mongodb.core
-
Callback interface for executing operations within a
ClientSession
. - SessionScoped - Interface in org.springframework.data.mongodb.core
-
Gateway interface to execute
ClientSession
bound operations against MongoDB via aSessionCallback
. - SessionSynchronization - Enum Class in org.springframework.data.mongodb
-
SessionSynchronization
is used along withMongoTemplate
to define in which type of transactions to participate if any. - set(Object, Object) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperation
-
Append the value for a specific field to the operation.
- set(String) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
-
Fluent API variant for
$set
adding a singlepipeline operation
every time. - set(String) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperation.FieldAppender
-
Define the field to set.
- set(String) - Static method in class org.springframework.data.mongodb.core.aggregation.SetOperation
-
Concatenate another field to set.
- set(String, Object) - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
- set(String, Object) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update using the $set update modifier
- set(SetOperation) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
-
Adds new fields to documents.
- setAllowDiskUse(Boolean) - Method in class org.springframework.data.mongodb.core.query.Meta
-
Enables writing to temporary files for aggregation stages and queries.
- setApplicationContext(ApplicationContext) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- setApplicationContext(ApplicationContext) - Method in class org.springframework.data.mongodb.core.mapping.MongoMappingContext
- setApplicationContext(ApplicationContext) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- setApplicationContext(ApplicationContext) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- setApplicationName(String) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setAsText(String) - Method in class org.springframework.data.mongodb.config.ConnectionStringPropertyEditor
- setAsText(String) - Method in class org.springframework.data.mongodb.config.MongoCredentialPropertyEditor
- setAsText(String) - Method in class org.springframework.data.mongodb.config.ReadConcernPropertyEditor
- setAsText(String) - Method in class org.springframework.data.mongodb.config.ReadPreferencePropertyEditor
- setAsText(String) - Method in class org.springframework.data.mongodb.config.ServerAddressPropertyEditor
- setAsText(String) - Method in class org.springframework.data.mongodb.config.UUidRepresentationPropertyEditor
- setAsText(String) - Method in class org.springframework.data.mongodb.config.WriteConcernPropertyEditor
-
Parse a string to a
WriteConcern
. - setAutoEncryptionSettings(AutoEncryptionSettings) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setAutoIndexCreation(boolean) - Method in class org.springframework.data.mongodb.core.mapping.MongoMappingContext
-
Enables/disables auto-index creation.
- setBypassAutoEncryption(boolean) - Method in class org.springframework.data.mongodb.core.MongoEncryptionSettingsFactoryBean
- setClusterConnectionMode(ClusterConnectionMode) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
-
????
- setClusterHosts(ServerAddress[]) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setClusterLocalThresholdMS(long) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setClusterRequiredReplicaSetName(String) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setClusterServerSelectionTimeoutMS(long) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setClusterSrvHost(String) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setCodecRegistry(CodecRegistry) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setCodecRegistryProvider(CodecRegistryProvider) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Configure a
CodecRegistryProvider
that provides native MongoDBcodecs
for reading values. - setComment(String) - Method in class org.springframework.data.mongodb.core.query.Meta
-
Add a comment to the query that is propagated to the profile log.
- setConnectionString(ConnectionString) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
- setConnectionString(String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoClientFactoryBean
-
Configures the connection string.
- setCreateIndexesForQueryMethods(boolean) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
-
Configures whether to automatically create indexes for the properties referenced in a query method.
- setCreateIndexesForQueryMethods(boolean) - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactoryBean
-
Configures whether to automatically create indexes for the properties referenced in a query method.
- setCredential(MongoCredential[]) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
-
Set the list of credentials to be used when creating
MongoClient
. - setCursorBatchSize(int) - Method in class org.springframework.data.mongodb.core.query.Meta
-
Apply the batch size (number of documents to return in each response) for a query.
- setCusterRequiredClusterType(ClusterType) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setCustomConversions(CustomConversions) - Method in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
-
Registers the given custom conversions with the converter.
- setDatabaseFactory(ReactiveMongoDatabaseFactory) - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
-
Set the
ReactiveMongoDatabaseFactory
that this instance should manage transactions for. - setDates() - Element in annotation interface org.springframework.data.mongodb.config.EnableMongoAuditing
-
Configures whether the creation and modification dates are set.
- setDates() - Element in annotation interface org.springframework.data.mongodb.config.EnableReactiveMongoAuditing
-
Configures whether the creation and modification dates are set.
- setDbFactory(MongoDatabaseFactory) - Method in class org.springframework.data.mongodb.MongoTransactionManager
-
Set the
MongoDatabaseFactory
that this instance should manage transactions for. - setDeprecationErrors(Boolean) - Method in class org.springframework.data.mongodb.core.MongoServerApiFactoryBean
- setDirection(IndexDirection) - Method in class org.springframework.data.mongodb.core.index.IndexPredicate
- setEntityCallbacks(EntityCallbacks) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- setEntityCallbacks(EntityCallbacks) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- setEntityCallbacks(ReactiveEntityCallbacks) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Set the
ReactiveEntityCallbacks
instance to use when invokingcallbacks
like theReactiveBeforeSaveCallback
. - setEntityLifecycleEventsEnabled(boolean) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Configure whether lifecycle events such as
AfterLoadEvent
,BeforeSaveEvent
, etc. should be published or whether emission should be suppressed. - setEntityLifecycleEventsEnabled(boolean) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Configure whether lifecycle events such as
AfterLoadEvent
,BeforeSaveEvent
, etc. should be published or whether emission should be suppressed. - setEvaluationContextProvider(EvaluationContextProvider) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver
-
Set the
EvaluationContextProvider
used for obtaining theEvaluationContext
used to computeexpressions
. - setExceptionTranslator(PersistenceExceptionTranslator) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
-
Configures the
PersistenceExceptionTranslator
to use. - setExceptionTranslator(PersistenceExceptionTranslator) - Method in class org.springframework.data.mongodb.core.ReactiveMongoClientFactoryBean
-
Configures the
PersistenceExceptionTranslator
to use. - setExtraOptions(Map<String, Object>) - Method in class org.springframework.data.mongodb.core.MongoEncryptionSettingsFactoryBean
- setField(String) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and obtains the value of the field with matching name. - SetField(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.ObjectOperators.SetField
- setFieldNamingStrategy(FieldNamingStrategy) - Method in class org.springframework.data.mongodb.core.mapping.MongoMappingContext
-
Configures the
FieldNamingStrategy
to be used to determine the field name if no manual mapping is applied. - setFieldsObject(Document) - Method in class org.springframework.data.mongodb.core.query.BasicQuery
-
Set the fields (projection)
Document
. - setHost(String) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
-
Configures the host to connect to.
- setHost(String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoClientFactoryBean
-
Configures the host to connect to.
- setInstantiators(EntityInstantiators) - Method in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
-
Registers
EntityInstantiators
to customize entity instantiation. - setKeyVaultClientSettings(MongoClientSettings) - Method in class org.springframework.data.mongodb.core.MongoEncryptionSettingsFactoryBean
- setKeyVaultNamespace(String) - Method in class org.springframework.data.mongodb.core.MongoEncryptionSettingsFactoryBean
- setKmsProviders(Map<String, Map<String, Object>>) - Method in class org.springframework.data.mongodb.core.MongoEncryptionSettingsFactoryBean
- setMapKeyDotReplacement(String) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Configure the characters dots potentially contained in a
Map
shall be replaced with. - setMappingContext(MappingContext<?, ?>) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
- setMappingContext(MappingContext<?, ?>) - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactoryBean
- setMaxTime(Duration) - Method in class org.springframework.data.mongodb.core.query.Meta
-
Set the maximum time limit for processing operations.
- setMaxTimeMsec(long) - Method in class org.springframework.data.mongodb.core.query.Meta
-
Set the maximum time limit in milliseconds for processing operations.
- setMeta(Meta) - Method in class org.springframework.data.mongodb.core.query.Query
- setMongoClientSettings(MongoClientSettings) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
-
Set the
MongoClientSettings
to be used when creatingMongoClient
. - setMongoClientSettings(MongoClientSettings) - Method in class org.springframework.data.mongodb.core.ReactiveMongoClientFactoryBean
-
Configures the mongo client settings.
- setMongoOperations(MongoOperations) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
-
Configures the
MongoOperations
to be used. - setName(String) - Method in class org.springframework.data.mongodb.core.index.IndexPredicate
- setOnInsert(String, Object) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update using the $setOnInsert update modifier
- SetOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Adds new fields to documents.
- SetOperation(Object, Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.SetOperation
-
Create new instance of
SetOperation
- SetOperation.FieldAppender - Class in org.springframework.data.mongodb.core.aggregation
- SetOperation.FieldAppender.ValueAppender - Interface in org.springframework.data.mongodb.core.aggregation
- SetOperatorFactory(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.SetOperators.SetOperatorFactory
-
Creates new
SetOperators.SetOperatorFactory
for given fieldReference. - SetOperatorFactory(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.SetOperators.SetOperatorFactory
-
Creates new
SetOperators.SetOperatorFactory
for givenAggregationExpression
. - SetOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to Set expressions which perform set operation on arrays, treating arrays as sets.
- SetOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.SetOperators
- SetOperators.AllElementsTrue - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$allElementsTrue
. - SetOperators.AnyElementTrue - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$anyElementTrue
. - SetOperators.SetDifference - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$setDifference
. - SetOperators.SetEquals - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$setEquals
. - SetOperators.SetIntersection - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$setIntersection
. - SetOperators.SetIsSubset - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$setIsSubset
. - SetOperators.SetOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- SetOperators.SetUnion - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$setUnion
. - setOptions(TransactionOptions) - Method in class org.springframework.data.mongodb.MongoTransactionManager
-
Set the
TransactionOptions
to be applied when starting transactions. - setOptions(TransactionOptions) - Method in class org.springframework.data.mongodb.ReactiveMongoTransactionManager
-
Set the
TransactionOptions
to be applied when starting transactions. - setPoolMaintenanceFrequencyMS(long) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setPoolMaintenanceInitialDelayMS(long) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setPoolMaxConnectionIdleTimeMS(long) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setPoolMaxConnectionLifeTimeMS(long) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setPoolMaxSize(int) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setPoolMaxWaitTimeMS(long) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setPoolMinSize(int) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setPort(int) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
-
Configures the port to connect to.
- setPort(int) - Method in class org.springframework.data.mongodb.core.ReactiveMongoClientFactoryBean
-
Configures the port to connect to.
- setPropertyValueConversions(PropertyValueConversions) - Method in class org.springframework.data.mongodb.core.convert.MongoCustomConversions.MongoConverterConfigurationAdapter
-
Optionally set the
PropertyValueConversions
to be applied during mapping. - setReactiveMongoOperations(ReactiveMongoOperations) - Method in class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactoryBean
-
Configures the
ReactiveMongoOperations
to be used. - setReadConcern(ReadConcern) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setReadPreference(ReadPreference) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setReadPreference(ReadPreference) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Used by @{link
MongoTemplate.prepareCollection(MongoCollection)
to set theReadPreference
before any operations are performed. - setReadPreference(ReadPreference) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Used by {@link {@link #prepareCollection(MongoCollection)} to set the
ReadPreference
before any operations are performed. - setReplicaSet(String) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
- setRetryReads(Boolean) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setRetryWrites(Boolean) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setSchemaMap(Map<String, BsonDocument>) - Method in class org.springframework.data.mongodb.core.MongoEncryptionSettingsFactoryBean
- setScoreFieldName(String) - Method in class org.springframework.data.mongodb.core.query.TextQuery
-
Set the fieldname used for scoring.
- setServerApi(ServerApi) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setServerHeartbeatFrequencyMS(long) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setServerMinHeartbeatFrequencyMS(long) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setSession(Context, Publisher<ClientSession>) - Static method in class org.springframework.data.mongodb.core.ReactiveMongoContext
-
Sets the
ClientSession
into the ReactorContext
. - setSessionSynchronization(SessionSynchronization) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Define if
MongoTemplate
should participate in transactions. - setSessionSynchronization(SessionSynchronization) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Define if
ReactiveMongoTemplate
should participate in transactions. - setSocketConnectTimeoutMS(int) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setSocketReadTimeoutMS(int) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setSocketReceiveBufferSize(int) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setSocketSendBufferSize(int) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setSortObject(Document) - Method in class org.springframework.data.mongodb.core.query.BasicQuery
-
Set the sort
Document
. - setSslEnabled(Boolean) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setSslInvalidHostNameAllowed(Boolean) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setSslProvider(String) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setState(AbstractBsonReader.State) - Method in class org.springframework.data.mongodb.util.json.ParameterBindingJsonReader
- setStreamFactoryFactory(StreamFactoryFactory) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setStrict(Boolean) - Method in class org.springframework.data.mongodb.core.MongoServerApiFactoryBean
- setTypeMapper(MongoTypeMapper) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Configures the
MongoTypeMapper
to be used to add type information toDocument
s created by the converter and how to lookup type information fromDocument
s when reading them. - setUnique(boolean) - Method in class org.springframework.data.mongodb.core.index.IndexPredicate
- setuUidRepresentation(UuidRepresentation) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setValue(Object) - Method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema.ConflictResolutionFunction.Resolution
- setVersion(String) - Method in class org.springframework.data.mongodb.core.MongoServerApiFactoryBean
- SetWindowFieldsOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the
setWindowFields
-operation. - SetWindowFieldsOperation(Object, AggregationOperation, SetWindowFieldsOperation.WindowOutput) - Constructor for class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation
-
Create a new
SetWindowFieldsOperation
with given args. - SetWindowFieldsOperation.ComputedField - Class in org.springframework.data.mongodb.core.aggregation
-
A
Field
that the result of a computation done via anAggregationExpression
. - SetWindowFieldsOperation.DocumentWindow - Class in org.springframework.data.mongodb.core.aggregation
-
SetWindowFieldsOperation.Window
implementation based on the current document. - SetWindowFieldsOperation.DocumentWindowBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder API for a
SetWindowFieldsOperation.RangeWindow
. - SetWindowFieldsOperation.RangeWindow - Class in org.springframework.data.mongodb.core.aggregation
-
SetWindowFieldsOperation.Window
implementation based on the sort fields. - SetWindowFieldsOperation.RangeWindowBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder API for a
SetWindowFieldsOperation.RangeWindow
. - SetWindowFieldsOperation.SetWindowFieldsOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
A fluent builder to create a
SetWindowFieldsOperation
. - SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.As - Interface in org.springframework.data.mongodb.core.aggregation
-
Interface to capture field name used to capture the computation result.
- SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.WindowChoice - Interface in org.springframework.data.mongodb.core.aggregation
-
Interface to capture an optional
SetWindowFieldsOperation.Window
applicable to the field computation. - SetWindowFieldsOperation.Window - Interface in org.springframework.data.mongodb.core.aggregation
-
A
SetWindowFieldsOperation.Window
to be used forComputedField
. - SetWindowFieldsOperation.WindowOutput - Class in org.springframework.data.mongodb.core.aggregation
-
SetWindowFieldsOperation.WindowOutput
defines output of $setWindowFields stage by defining thefield(s)
to append to the documents in the output. - SetWindowFieldsOperation.Windows - Interface in org.springframework.data.mongodb.core.aggregation
- SetWindowFieldsOperation.WindowUnit - Interface in org.springframework.data.mongodb.core.aggregation
-
The actual time unit to apply to a
SetWindowFieldsOperation.Window
. - SetWindowFieldsOperation.WindowUnits - Enum Class in org.springframework.data.mongodb.core.aggregation
-
Quick access to available
units
. - SetWindowFieldsOperationBuilder() - Constructor for class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder
- setWriteConcern(WriteConcern) - Method in class org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean
- setWriteConcern(WriteConcern) - Method in class org.springframework.data.mongodb.core.MongoDatabaseFactorySupport
-
Configures the
WriteConcern
to be used on theMongoDatabase
instance being created. - setWriteConcern(WriteConcern) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Configures the
WriteConcern
to be used with the template. - setWriteConcern(WriteConcern) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Configures the
WriteConcern
to be used with the template. - setWriteConcern(WriteConcern) - Method in class org.springframework.data.mongodb.core.SimpleReactiveMongoDatabaseFactory
-
Configures the
WriteConcern
to be used on theMongoDatabase
instance being created. - setWriteConcernResolver(WriteConcernResolver) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Configures the
WriteConcernResolver
to be used with the template. - setWriteConcernResolver(WriteConcernResolver) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Configures the
WriteConcernResolver
to be used with the template. - setWriteResultChecking(WriteResultChecking) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Configures the
WriteResultChecking
to be used with the template. - setWriteResultChecking(WriteResultChecking) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Configures the
WriteResultChecking
to be used with the template. - Sharded - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
The
Sharded
annotation provides meta information about the actual distribution of data. - shardingStrategy() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Sharded
-
The sharding strategy to use for distributing data across sharded clusters.
- ShardingStrategy - Enum Class in org.springframework.data.mongodb.core.mapping
- shardKey() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Sharded
-
The shard key determines the distribution of the collection's documents among the cluster's shards.
- ShardKey - Class in org.springframework.data.mongodb.core.mapping
-
Value object representing an entities Shard Key used to distribute documents across a sharded MongoDB cluster.
- shift(int) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.DocumentOperatorsFactory
-
Creates new
AggregationExpression
that applies the expression to a document at specified position relative to the current document. - shift(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
-
Specifies the field to evaluate and return.
- shift(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Shift
-
Specifies the
expression
to evaluate and return. - shifted() - Static method in class org.springframework.data.mongodb.core.query.Collation.Alternate
-
Whitespace and punctuation are not considered base characters and are only distinguished at strength.
- shouldCreatePersistentEntityFor(TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.mapping.MongoMappingContext
- shouldGenerateId() - Method in class org.springframework.data.mongodb.config.MongoAuditingBeanDefinitionParser
- simple() - Static method in class org.springframework.data.mongodb.core.query.Collation
-
Create a
Collation
using simple binary comparison. - SimpleMongoClientDatabaseFactory - Class in org.springframework.data.mongodb.core
-
Factory to create
MongoDatabase
instances from aMongoClient
instance. - SimpleMongoClientDatabaseFactory(MongoClient, String) - Constructor for class org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory
-
Creates a new
SimpleMongoClientDatabaseFactory
instance from the givenMongoClient
. - SimpleMongoClientDatabaseFactory(ConnectionString) - Constructor for class org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory
-
Creates a new
SimpleMongoClientDatabaseFactory
instance from the givenMongoClient
. - SimpleMongoClientDatabaseFactory(String) - Constructor for class org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory
-
Creates a new
SimpleMongoClientDatabaseFactory
instance for the givenconnectionString
. - SimpleMongoRepository<T,
ID> - Class in org.springframework.data.mongodb.repository.support -
Repository base implementation for Mongo.
- SimpleMongoRepository(MongoEntityInformation<T, ID>, MongoOperations) - Constructor for class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
- SimpleReactiveMongoDatabaseFactory - Class in org.springframework.data.mongodb.core
-
Factory to create
MongoDatabase
instances from aMongoClient
instance. - SimpleReactiveMongoDatabaseFactory(ConnectionString) - Constructor for class org.springframework.data.mongodb.core.SimpleReactiveMongoDatabaseFactory
-
Creates a new
SimpleReactiveMongoDatabaseFactory
instance from the givenConnectionString
. - SimpleReactiveMongoDatabaseFactory(MongoClient, String) - Constructor for class org.springframework.data.mongodb.core.SimpleReactiveMongoDatabaseFactory
-
Creates a new
SimpleReactiveMongoDatabaseFactory
instance from the givenMongoClient
. - SimpleReactiveMongoRepository<T,
ID extends Serializable> - Class in org.springframework.data.mongodb.repository.support -
Reactive repository base implementation for Mongo.
- SimpleReactiveMongoRepository(MongoEntityInformation<T, ID>, ReactiveMongoOperations) - Constructor for class org.springframework.data.mongodb.repository.support.SimpleReactiveMongoRepository
- simpleToBsonValue(Object) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Convert a given simple value (eg.
- sin() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the sine of a numeric value given inradians
. - sin(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sin
-
Creates a new
AggregationExpression
that calculates the sine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - sin(Object, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sin
-
Creates a new
AggregationExpression
that calculates the sine of a value that is measured in the givenunit
. - sin(ArithmeticOperators.AngularUnit) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the sine of a numeric value in the givenunit
. - SINGLE - Enum constant in enum class org.springframework.data.mongodb.core.spel.MethodReferenceNode.AggregationMethodReference.ArgumentType
- sinh() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the sine of a numeric value given inradians
. - sinh(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sinh
-
Creates a new
AggregationExpression
that calculates the hyperbolic sine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - sinh(Object, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sinh
-
Creates a new
AggregationExpression
that calculates the hyperbolic sine of a value that is measured in the givenunit
. - sinh(ArithmeticOperators.AngularUnit) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the sine of a numeric value. - sinhOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sinh
-
Creates a new
AggregationExpression
that calculates the hyperbolic sine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - sinhOf(String, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sinh
-
Creates a new
AggregationExpression
that calculates the hyperbolic sine of a value that is measured in the givenunit
. - sinhOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sinh
-
Creates a new
AggregationExpression
that calculates the hyperbolic sine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - sinhOf(AggregationExpression, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sinh
-
Creates a new
AggregationExpression
that calculates the hyperbolic sine of a value that is measured in the givenunit
. - sinOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sin
-
Creates a new
AggregationExpression
that calculates the sine of a value that is measured inradians
. - sinOf(String, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sin
-
Creates a new
AggregationExpression
that calculates the sine of a value that is measured in the givenunit
. - sinOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sin
-
Creates a new
AggregationExpression
that calculates the sine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - sinOf(AggregationExpression, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sin
-
Creates a new
AggregationExpression
that calculates the sine of a value that is measured in the givenunit
. - size() - Method in class org.springframework.data.mongodb.core.aggregation.Fields
- size() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$size
expression that returns the size of the array held by the given field. - size() - Method in class org.springframework.data.mongodb.core.mapping.ShardKey
- size(int) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $size operator.
- size(long) - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings andsize
set to given value. - skip() - Static method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema.ConflictResolutionFunction.Resolution
-
Obtain a
MongoJsonSchema.ConflictResolutionFunction.Resolution
that will skip the entry and proceed computation. - skip(long) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
SkipOperation
skipping the given number of elements. - skip(long) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Configures the number of results to skip.
- skip(long) - Method in class org.springframework.data.mongodb.core.query.Query
-
Set number of documents to skip before returning results.
- SKIP - Static variable in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema.ConflictResolutionFunction.Resolution
-
Resolution
- skipNullAndEmptyArrays() - Method in interface org.springframework.data.mongodb.core.aggregation.UnwindOperation.EmptyArraysBuilder
-
Do not output documents if the array is null or empty.
- skipNullAndEmptyArrays() - Method in class org.springframework.data.mongodb.core.aggregation.UnwindOperation.UnwindOperationBuilder
- SkipOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$skip
-operation. - SkipOperation(long) - Constructor for class org.springframework.data.mongodb.core.aggregation.SkipOperation
-
Creates a new
SkipOperation
skipping the given number of elements. - skipOutput() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Run the aggregation, but do NOT read the aggregation result from the store.
- slice() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that takes the associated array and selects a subset from it. - slice(int) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$slice
expression that returns a subset of the array held by the given field. - slice(int) - Method in class org.springframework.data.mongodb.core.query.Update.PushOperatorBuilder
-
Propagates
$slice
to$push
. - slice(int, int) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$slice
expression that returns a subset of the array held by the given field. - slice(String, int) - Method in class org.springframework.data.mongodb.core.query.Field
-
Project a
$slice
of the arrayfield
using the firstsize
elements. - slice(String, int, int) - Method in class org.springframework.data.mongodb.core.query.Field
-
Project a
$slice
of the arrayfield
using the firstsize
elements starting atoffset
. - sliceArrayOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Slice
-
Creates new
ArrayOperators.Slice
. - sliceArrayOf(Collection<?>) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Slice
-
Creates new
ArrayOperators.Slice
. - sliceArrayOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Slice
-
Creates new
ArrayOperators.Slice
. - sort() - Element in annotation interface org.springframework.data.mongodb.core.mapping.DocumentReference
-
A specific sort.
- sort() - Element in annotation interface org.springframework.data.mongodb.repository.Query
-
Defines a default sort order for the given query.
NOTE: The so set defaults can be altered / overwritten using an explicitSort
argument of the query method. - sort(Sort) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Factory method to create a new
SortOperation
for the givenSort
. - sort(Sort) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that takes the associated array and sorts it by the givenorder
. - sort(Sort) - Method in class org.springframework.data.mongodb.core.query.Update.PushOperatorBuilder
-
Propagates
$sort
to$push
. - sort(Sort.Direction) - Method in class org.springframework.data.mongodb.core.query.Update.PushOperatorBuilder
-
Propagates
$sort
to$push
. - sort(Sort.Direction, String...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
- sortArray(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.SortArray
-
Returns the given array.
- sortArrayOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.SortArray
-
Sorts the elements in the array pointed to by the given
field reference
. - sortArrayOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.SortArray
-
Sorts the elements of the array computed buy the given
expression
. - sortBy(String...) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder
-
Sort
ascending
by the given fields. - sortBy(Sort) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Bottom
-
Define result ordering.
- sortBy(Sort) - Method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Top
-
Define result ordering.
- sortBy(Sort) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder
-
Set the sort order.
- sortBy(SortOperation) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder
-
Set the
SortOperation
to use. - sortByCount(String) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
SortByCountOperation
given groupByField. - sortByCount(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
SortByCountOperation
givengroup and sort expression
. - SortByCountOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$sortByCount
-operation. - SortByCountOperation(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.SortByCountOperation
-
Creates a new
SortByCountOperation
given agroup-by expression
. - SortByCountOperation(Field) - Constructor for class org.springframework.data.mongodb.core.aggregation.SortByCountOperation
-
Creates a new
SortByCountOperation
given agroup-by field
. - sortByScore() - Method in class org.springframework.data.mongodb.core.query.TextQuery
-
Add sorting by text score.
- SortOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$sort
-operation. - SortOperation(Sort) - Constructor for class org.springframework.data.mongodb.core.aggregation.SortOperation
-
Creates a new
SortOperation
for the givenSort
instance. - space() - Method in class org.springframework.data.mongodb.core.query.Collation.AlternateWithMaxVariable
-
Only consider whitespaces as ignorable.
- sparse() - Element in annotation interface org.springframework.data.mongodb.core.index.CompoundIndex
-
If set to true index will skip over any document that is missing the indexed field.
- sparse() - Method in class org.springframework.data.mongodb.core.index.Index
-
Skip over any document that is missing the indexed field.
- sparse() - Element in annotation interface org.springframework.data.mongodb.core.index.Indexed
-
If set to true index will skip over any document that is missing the indexed field.
- Sphere - Class in org.springframework.data.mongodb.core.geo
-
Represents a geospatial sphere value.
- Sphere(Circle) - Constructor for class org.springframework.data.mongodb.core.geo.Sphere
-
Creates a Sphere from the given
Circle
. - Sphere(Point, double) - Constructor for class org.springframework.data.mongodb.core.geo.Sphere
-
Creates a Sphere around the given center
Point
with the given radius. - Sphere(Point, Distance) - Constructor for class org.springframework.data.mongodb.core.geo.Sphere
-
Creates a Sphere around the given center
Point
with the given radius. - spherical(boolean) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Configures whether to return spherical values for the actual distance.
- split(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Split
-
Use given
String
as delimiter. - split(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that divides the associated string representation into an array of substrings based on the given delimiter. - split(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Split
-
Use value resulting from
AggregationExpression
as delimiter. - split(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that divides the associated string representation into an array of substrings based on a delimiter resulting from the givenAggregationExpression
. - split(Field) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Split
-
Use value of referenced field as delimiter.
- split(Field) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that divides the associated string representation into an array of substrings based on the delimiter resulting from the referenced field.. - SpringDataMongoDB - Class in org.springframework.data.mongodb
-
Class that exposes the SpringData MongoDB specific information like the current
Version
ordriver information
. - SpringDataMongoDB() - Constructor for class org.springframework.data.mongodb.SpringDataMongoDB
- SpringDataMongodbQuery<T> - Class in org.springframework.data.mongodb.repository.support
-
Spring Data specific simple
Fetchable
Query
implementation. - SpringDataMongodbQuery(MongoOperations, Class<? extends T>) - Constructor for class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
-
Creates a new
SpringDataMongodbQuery
. - SpringDataMongodbQuery(MongoOperations, Class<? extends T>, String) - Constructor for class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
-
Creates a new
SpringDataMongodbQuery
to query the given collection. - sqrt() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the square root of the associated number. - sqrt() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$sqrt
expression that takes the number of the previously mentioned field and calculates the square root. - sqrtOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sqrt
-
Creates new
ArithmeticOperators.Sqrt
. - sqrtOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sqrt
-
Creates new
ArithmeticOperators.Sqrt
. - sqrtOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Sqrt
-
Creates new
ArithmeticOperators.Sqrt
. - stage(String) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
AggregationOperation
taking the givenjson value
as is. - stage(Bson) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Creates a new
AggregationOperation
taking the givenbson value
as is. - start() - Method in class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
- startAfter(Object) - Method in interface org.springframework.data.mongodb.core.ReactiveChangeStreamOperation.ResumingChangeStream
-
Start the change stream after a given point.
- startAfter(BsonValue) - Method in class org.springframework.data.mongodb.core.ChangeStreamOptions.ChangeStreamOptionsBuilder
-
Set the resume token after which to start emitting notifications.
- startAfter(BsonValue) - Method in class org.springframework.data.mongodb.core.messaging.ChangeStreamRequest.ChangeStreamRequestBuilder
-
Set the resume token after which to start emitting notifications.
- STARTING - Enum constant in enum class org.springframework.data.mongodb.core.messaging.Task.State
- STARTING_WITH - Enum constant in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator.MatchMode
-
Matches string starting with pattern
- startingWith(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory.ReduceInitialValueBuilder
-
Define the initial cumulative value set before in is applied to the first element of the input array.
- startOfWeek(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateDiff
-
Set the start day of the week if the unit if measure is set to week.
- startOfWeek(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateTrunc
-
Define the weeks starting day if
DateOperators.DateTrunc.to(String)
resolves to week. - startOfWeek(DayOfWeek) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateTrunc
-
Define the weeks starting day if
DateOperators.DateTrunc.to(String)
resolves to week. - startWith(Object...) - Method in interface org.springframework.data.mongodb.core.aggregation.GraphLookupOperation.StartWithBuilder
-
Set the startWith as either fieldReferences,
Fields
,Document
orAggregationExpression
to apply the$graphLookup
to. - startWith(String...) - Method in interface org.springframework.data.mongodb.core.aggregation.GraphLookupOperation.StartWithBuilder
-
Set the startWith fieldReferences to apply the
$graphLookup
to. - startWith(AggregationExpression...) - Method in interface org.springframework.data.mongodb.core.aggregation.GraphLookupOperation.StartWithBuilder
-
Set the startWith expressions to apply the
$graphLookup
to. - stdDevPop() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AggregationExpression
that takes the associated numeric value expression and calculates the population standard deviation of the input values. - stdDevPop() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the population standard deviation of the input values. - stdDevPop(String) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$stdDevPop
-expression that for the given field-reference. - stdDevPop(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$stdDevPop
-expression that for the givenAggregationExpression
. - stdDevPopOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.StdDevPop
-
Creates new
AccumulatorOperators.StdDevPop
. - stdDevPopOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.StdDevPop
-
Creates new
AccumulatorOperators.StdDevPop
with all previously added arguments appending the given one. - stdDevSamp() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AggregationExpression
that takes the associated numeric value expression and calculates the sample standard deviation of the input values. - stdDevSamp() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the sample standard deviation of the input values. - stdDevSamp(String) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$stdDevSamp
-expression that for the given field-reference. - stdDevSamp(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$stdDevSamp
-expression that for the givenAggregationExpression
. - stdDevSampOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.StdDevSamp
-
Creates new
AccumulatorOperators.StdDevSamp
. - stdDevSampOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.StdDevSamp
-
Creates new
AccumulatorOperators.StdDevSamp
. - stop() - Method in class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
- stop(Runnable) - Method in class org.springframework.data.mongodb.core.messaging.DefaultMessageListenerContainer
- store(InputStream, Object) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Stores the given content into a file with the given name.
- store(InputStream, String) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Stores the given content into a file with the given name.
- store(InputStream, String, Object) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Stores the given content into a file with the given name using the given metadata.
- store(InputStream, String, String) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Stores the given content into a file with the given name and content type.
- store(InputStream, String, String, Object) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Stores the given content into a file with the given name and content type using the given metadata.
- store(InputStream, String, String, Object) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
- store(InputStream, String, String, Document) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Stores the given content into a file with the given name and content type using the given metadata.
- store(InputStream, String, Document) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Stores the given content into a file with the given name using the given metadata.
- store(InputStream, Document) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
-
Stores the given content into a file with the given name.
- store(Publisher<DataBuffer>, Object) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Stores the given content into a file applying the given metadata.
- store(Publisher<DataBuffer>, String) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Stores the given content into a file with the given name.
- store(Publisher<DataBuffer>, String, Object) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Stores the given content into a file with the given name using the given metadata.
- store(Publisher<DataBuffer>, String, String) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Stores the given content into a file with the given name and content type.
- store(Publisher<DataBuffer>, String, String, Object) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Stores the given content into a file with the given name and content type using the given metadata.
- store(Publisher<DataBuffer>, String, String, Object) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
- store(Publisher<DataBuffer>, String, String, Document) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Stores the given content into a file with the given name and content type using the given metadata.
- store(Publisher<DataBuffer>, String, Document) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Stores the given content into a file with the given name using the given metadata.
- store(Publisher<DataBuffer>, Document) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
-
Stores the given content into a file applying the given metadata.
- store(GridFsObject<T, InputStream>) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
- store(GridFsObject<T, InputStream>) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
- store(GridFsObject<T, Publisher<DataBuffer>>) - Method in interface org.springframework.data.mongodb.gridfs.ReactiveGridFsOperations
- store(GridFsObject<T, Publisher<DataBuffer>>) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
- strcasecmp(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrCaseCmp
- strCaseCmp(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$strcasecmp
expression that takes the string representation of the previously mentioned field and performs case-insensitive comparison to the given value. - strCaseCmp(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and performs case-insensitive comparison to the given value. - strCaseCmp(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$strcasecmp
expression that takes the string representation of the previously mentioned field and performs case-insensitive comparison to the result of the givenAggregationExpression
. - strcasecmpValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrCaseCmp
- strcasecmpValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrCaseCmp
- strCaseCmpValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$strcasecmp
expression that takes the string representation of the previously mentioned field and performs case-insensitive comparison to the referenced fieldRef. - strCaseCmpValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and performs case-insensitive comparison to the referenced fieldReference. - strCaseCmpValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and performs case-insensitive comparison to the result of the givenAggregationExpression
. - stream() - Method in interface org.springframework.data.mongodb.core.ExecutableAggregationOperation.TerminatingAggregation
-
Apply pipeline operations as specified and stream all matching elements.
- stream() - Method in interface org.springframework.data.mongodb.core.ExecutableFindOperation.TerminatingFind
-
Stream all matching elements.
- stream() - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
- stream(Query, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Executes the given
Query
on the entity collection of the specifiedentityType
backed by a Mongo DBFindIterable
. - stream(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- stream(Query, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Executes the given
Query
on the entity collection of the specifiedentityType
and collection backed by a Mongo DBFindIterable
. - stream(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- strength(int) - Method in class org.springframework.data.mongodb.core.query.Collation
-
Set the level of comparison to perform.
- strength(Collation.ComparisonLevel) - Method in class org.springframework.data.mongodb.core.query.Collation
-
Set the level of comparison to perform.
- STRICT - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.AggregationOptions.DomainTypeMapping
-
Mapping throws errors for non-existent, but referenced fields.
- strictMapping() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
-
Apply a strict domain type mapping considering
Field
annotations throwing errors for non-existent, but referenced fields. - strictValidation() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings andvalidationLevel
set toValidationLevel.STRICT
. - string() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Create a new
JsonSchemaObject
oftype : 'string'
. - string(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty
with given identifier oftype : 'string'
. - STRING - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- STRING - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- StringBasedAggregation - Class in org.springframework.data.mongodb.repository.query
-
AbstractMongoQuery
implementation to run string-based aggregations usingAggregation
. - StringBasedAggregation(MongoQueryMethod, MongoOperations, ExpressionParser, QueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.mongodb.repository.query.StringBasedAggregation
- StringBasedMongoQuery - Class in org.springframework.data.mongodb.repository.query
-
Query to use a plain JSON String to create the
Query
to actually execute. - StringBasedMongoQuery(String, MongoQueryMethod, MongoOperations, ExpressionParser, QueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
-
Creates a new
StringBasedMongoQuery
for the givenString
,MongoQueryMethod
,MongoOperations
,SpelExpressionParser
andQueryMethodEvaluationContextProvider
. - StringBasedMongoQuery(MongoQueryMethod, MongoOperations, ExpressionParser, QueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
-
Creates a new
StringBasedMongoQuery
for the givenMongoQueryMethod
,MongoOperations
,SpelExpressionParser
andQueryMethodEvaluationContextProvider
. - stringLengthOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrLenBytes
-
Creates new
StringOperators.StrLenBytes
. - stringLengthOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrLenBytes
-
Creates new
StringOperators.StrLenBytes
. - stringLengthOfCP(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrLenCP
-
Creates new
StringOperators.StrLenCP
. - stringLengthOfCP(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrLenCP
-
Creates new
StringOperators.StrLenCP
. - StringOperatorFactory(String) - Constructor for class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
StringOperators.StringOperatorFactory
for given fieldReference. - StringOperatorFactory(AggregationExpression) - Constructor for class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
StringOperators.StringOperatorFactory
for givenAggregationExpression
. - StringOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to String aggregation operations.
- StringOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.StringOperators
- StringOperators.Concat - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$concat
. - StringOperators.IndexOfBytes - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$indexOfBytes
. - StringOperators.IndexOfBytes.SubstringBuilder - Class in org.springframework.data.mongodb.core.aggregation
- StringOperators.IndexOfCP - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$indexOfCP
. - StringOperators.IndexOfCP.SubstringBuilder - Class in org.springframework.data.mongodb.core.aggregation
- StringOperators.LTrim - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$ltrim
which removes whitespace or the specified characters from the beginning of a string. - StringOperators.RegexFind - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$regexFind
which applies a regular expression (regex) to a string and returns information on the first matched substring. - StringOperators.RegexFindAll - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$regexFindAll
which applies a regular expression (regex) to a string and returns information on all the matched substrings. - StringOperators.RegexMatch - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$regexMatch
which applies a regular expression (regex) to a string and returns a boolean that indicates if a match is found or not. - StringOperators.ReplaceAll - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$replaceAll
which replaces all instances of a search string in an input string with a replacement string. - StringOperators.ReplaceOne - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$replaceOne
which replaces the first instance of a search string in an input string with a replacement string. - StringOperators.RTrim - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$rtrim
which removes whitespace or the specified characters from the end of a string. - StringOperators.Split - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$split
. - StringOperators.StrCaseCmp - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$strcasecmp
. - StringOperators.StringOperatorFactory - Class in org.springframework.data.mongodb.core.aggregation
- StringOperators.StrLenBytes - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$strLenBytes
. - StringOperators.StrLenCP - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$strLenCP
. - StringOperators.Substr - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$substr
. - StringOperators.SubstrCP - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$substrCP
. - StringOperators.ToLower - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$toLower
. - StringOperators.ToUpper - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$toUpper
. - StringOperators.Trim - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$trim
which removes whitespace or the specified characters from the beginning and end of a string. - StringToWriteConcernConverter - Class in org.springframework.data.mongodb.config
-
Converter to create
WriteConcern
instances from String representations. - StringToWriteConcernConverter() - Constructor for class org.springframework.data.mongodb.config.StringToWriteConcernConverter
- stringType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- stringValue(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Concat
-
Creates new
StringOperators.Concat
. - stringValue(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrCaseCmp
-
Creates new
StringOperators.StrCaseCmp
. - Subscription - Interface in org.springframework.data.mongodb.core.messaging
- SubscriptionRequest<S,
T, O extends SubscriptionRequest.RequestOptions> - Interface in org.springframework.data.mongodb.core.messaging -
The actual
SubscriptionRequest
sent to theMessageListenerContainer
. - SubscriptionRequest.RequestOptions - Interface in org.springframework.data.mongodb.core.messaging
-
Options for specifying the behaviour of the
SubscriptionRequest
. - subsetOfArray(String) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$setIsSubset
expression that takes array of the previously mentioned field and returns true if it is a subset of the given array. - substring(int) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$substr
expression that Takes the string representation of the previously mentioned field and returns a substring starting at a specified index position. - substring(int) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and returns a substring starting at a specified index position. - substring(int) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Substr
- substring(int, int) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$substr
expression that takes the string representation of the previously mentioned field and returns a substring starting at a specified index position including the specified number of characters. - substring(int, int) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and returns a substring starting at a specified index position including the specified number of characters. - substring(int, int) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Substr
- substringCP(int) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and returns a substring starting at a specified code point index position. - substringCP(int) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.SubstrCP
- substringCP(int, int) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and returns a substring starting at a specified code point index position including the specified number of code points. - substringCP(int, int) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.SubstrCP
- subtract(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that subtracts value from the associated number. - subtract(Number) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Subtract
-
Subtract the given value.
- subtract(Object, String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that subtracts the given value (in units). - subtract(Object, DateOperators.TemporalUnit) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that subtracts the given value (in units). - subtract(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that subtracts value of given from the associated number. - subtract(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Subtract
-
Subtract the value stored at the given field.
- subtract(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that subtracts value of given from the associated number. - subtract(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Subtract
-
Subtract the evaluated value of the given
AggregationExpression
. - subtractValue(Object, String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateSubtract
-
Subtract the number of units from a
start date
. - subtractValueOf(String, String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that subtracts the value stored at the given field (in units). - subtractValueOf(String, String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateSubtract
-
Subtract the number of units from a field from a
start date
. - subtractValueOf(String, DateOperators.TemporalUnit) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that subtracts the value stored at the given field (in units). - subtractValueOf(AggregationExpression, String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that subtracts the value of the givenexpression
(in units). - subtractValueOf(AggregationExpression, String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateSubtract
-
Subtract the number of units of the result of the given
expression
from astart date
. - subtractValueOf(AggregationExpression, DateOperators.TemporalUnit) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that subtracts the value of the givenexpression
(in units). - sum() - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.AccumulatorOperatorFactory
-
Creates new
AggregationExpression
that takes the associated numeric value expression and calculates and returns the sum. - sum() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates and returns the sum of numeric values. - sum() - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Generates a builder for a
$sum
-expression for the current value. - sum(Number) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
-
Generates a builder for a
$sum
-expression for the given value. - sum(String) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for a$sum
-expression for the given field-reference. - sum(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
-
Generates an
GroupOperation.GroupOperationBuilder
for an$sum
-expression for the givenAggregationExpression
. - sumOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Sum
-
Creates new
AccumulatorOperators.Sum
. - sumOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Sum
-
Creates new
AccumulatorOperators.Sum
. - supportsBson(Object) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Returns the given source can be used/converted as
Bson
. - supportsContext(Observation.Context) - Method in interface org.springframework.data.mongodb.observability.MongoHandlerObservationConvention
- switchCases(List<ConditionalOperators.Switch.CaseOperator>) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch
-
Creates new
ConditionalOperators.Switch
. - switchCases(List<ConditionalOperators.Switch.CaseOperator>) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators
-
Creates new
AggregationExpression
that evaluates a series ofConditionalOperators.Switch.CaseOperator
expressions. - switchCases(ConditionalOperators.Switch.CaseOperator...) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch
-
Creates new
ConditionalOperators.Switch
. - switchCases(ConditionalOperators.Switch.CaseOperator...) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators
-
Creates new
AggregationExpression
that evaluates a series ofConditionalOperators.Switch.CaseOperator
expressions. - synthetic(Fields) - Static method in class org.springframework.data.mongodb.core.aggregation.ExposedFields
-
Creates synthetic
ExposedFields
from the givenFields
. - SystemVariable - Enum Class in org.springframework.data.mongodb.core.aggregation
-
Describes the system variables available in MongoDB aggregation framework pipeline expressions.
T
- tail() - Method in interface org.springframework.data.mongodb.core.ReactiveFindOperation.TerminatingFind
-
Get all matching elements using a
tailable cursor
. - tail(Query, Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Map the results of an ad-hoc query on the collection for the entity class to a stream of objects of the specified type.
- tail(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- tail(Query, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Map the results of an ad-hoc query on the collection for the entity class to a stream of objects of the specified type.
- tail(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- Tailable - Annotation Interface in org.springframework.data.mongodb.repository
-
Annotation to declare an infinite stream using MongoDB's
tailable
cursors. - TailableCursorRequest<T> - Class in org.springframework.data.mongodb.core.messaging
-
SubscriptionRequest
implementation to be used to listen to query results in a Capped Collection using a Tailable Cursor. - TailableCursorRequest(MessageListener<Document, ? super T>, SubscriptionRequest.RequestOptions) - Constructor for class org.springframework.data.mongodb.core.messaging.TailableCursorRequest
- TailableCursorRequest.TailableCursorRequestBuilder<T> - Class in org.springframework.data.mongodb.core.messaging
-
Builder for creating
TailableCursorRequest
. - TailableCursorRequest.TailableCursorRequestOptions - Class in org.springframework.data.mongodb.core.messaging
-
SubscriptionRequest.RequestOptions
implementation specific to aTailableCursorRequest
. - TailableCursorRequest.TailableCursorRequestOptions.TailableCursorRequestOptionsBuilder - Class in org.springframework.data.mongodb.core.messaging
-
Builder for creating
TailableCursorRequest.TailableCursorRequestOptions
. - tan() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the tangent of a numeric value given inradians
. - tan(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tan
-
Creates a new
AggregationExpression
that calculates the tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - tan(Object, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tan
-
Creates a new
AggregationExpression
that calculates the tangent of a value that is measured in the givenunit
. - tan(ArithmeticOperators.AngularUnit) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the tangent of a numeric value in the givenunit
. - tanh() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the hyperbolic tangent of a numeric value given inradians
. - tanh(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tanh
-
Creates a new
AggregationExpression
that calculates the hyperbolic tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - tanh(Object, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tanh
-
Creates a new
AggregationExpression
that calculates the hyperbolic tangent of a value that is measured in the givenunit
. - tanh(ArithmeticOperators.AngularUnit) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that calculates the hyperbolic tangent of a numeric value. - tanhOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tanh
-
Creates a new
AggregationExpression
that calculates the hyperbolic tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - tanhOf(String, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tanh
-
Creates a new
AggregationExpression
that calculates the hyperbolic tangent of a value that is measured in the givenunit
. - tanhOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tanh
-
Creates a new
AggregationExpression
that calculates the hyperbolic tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - tanhOf(AggregationExpression, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tanh
-
Creates a new
AggregationExpression
that calculates the hyperbolic tangent of a value that is measured in the givenunit
. - tanOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tan
-
Creates a new
AggregationExpression
that calculates the tangent of a value that is measured inradians
. - tanOf(String, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tan
-
Creates a new
AggregationExpression
that calculates the tangent of a value that is measured in the givenunit
. - tanOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tan
-
Creates a new
AggregationExpression
that calculates the tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
. - tanOf(AggregationExpression, ArithmeticOperators.AngularUnit) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Tan
-
Creates a new
AggregationExpression
that calculates the tangent of a value that is measured in the givenunit
. - target(MergeOperation.MergeOperationTarget) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
Define the target to store results in.
- targetType() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Field
-
The actual desired target type the field should be stored as.
- targetType() - Element in annotation interface org.springframework.data.mongodb.core.mapping.MongoId
-
Get the preferred _id type to be used.
- Task - Interface in org.springframework.data.mongodb.core.messaging
-
The actual
Task
to run within theMessageListenerContainer
. - Task.State - Enum Class in org.springframework.data.mongodb.core.messaging
-
The
Task.State
defining the lifecycle phase the actualTask
. - Term - Class in org.springframework.data.mongodb.core.query
-
A
Term
defines one or multiple wordsTerm.Type.WORD
or phrasesTerm.Type.PHRASE
to be used in the context of full text search. - Term(String) - Constructor for class org.springframework.data.mongodb.core.query.Term
-
Creates a new
Term
ofTerm.Type.WORD
. - Term(String, Term.Type) - Constructor for class org.springframework.data.mongodb.core.query.Term
- Term.Type - Enum Class in org.springframework.data.mongodb.core.query
- tertiary() - Static method in interface org.springframework.data.mongodb.core.query.Collation.ComparisonLevel
-
Tertiary level of comparison.
- TestAggregationContext - Class in org.springframework.data.mongodb.util.aggregation
- text(String, Float) - Static method in class org.springframework.data.mongodb.core.index.IndexField
-
Creates a text
IndexField
for the given key. - TextCriteria - Class in org.springframework.data.mongodb.core.query
-
Implementation of
CriteriaDefinition
to be used for full text search. - TextCriteria() - Constructor for class org.springframework.data.mongodb.core.query.TextCriteria
-
Creates a new
TextCriteria
. - TextIndexDefinition - Class in org.springframework.data.mongodb.core.index
-
IndexDefinition
to span multiple keys for text search. - TextIndexDefinition.TextIndexDefinitionBuilder - Class in org.springframework.data.mongodb.core.index
-
TextIndexDefinition.TextIndexDefinitionBuilder
helps defining options for creatingTextIndexDefinition
. - TextIndexDefinition.TextIndexedFieldSpec - Class in org.springframework.data.mongodb.core.index
- TextIndexDefinitionBuilder() - Constructor for class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
- TextIndexed - Annotation Interface in org.springframework.data.mongodb.core.index
-
TextIndexed
marks a field to be part of the text index. - TextIndexedFieldSpec(String) - Constructor for class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexedFieldSpec
-
Create new
TextIndexDefinition.TextIndexedFieldSpec
for given fieldname without any weight. - TextIndexedFieldSpec(String, Float) - Constructor for class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexedFieldSpec
-
Create new
TextIndexDefinition.TextIndexedFieldSpec
for given fieldname and weight. - TextQuery - Class in org.springframework.data.mongodb.core.query
-
Query
implementation to be used to for performing full text searches. - TextQuery(String) - Constructor for class org.springframework.data.mongodb.core.query.TextQuery
- TextQuery(String, String) - Constructor for class org.springframework.data.mongodb.core.query.TextQuery
-
Creates new
TextQuery
inlanguage
. - TextQuery(String, Locale) - Constructor for class org.springframework.data.mongodb.core.query.TextQuery
-
Creates new
TextQuery
using thelocale
s language.
For a full list of supported languages see the mongdodb reference manual for Text Search Languages. - TextQuery(TextCriteria) - Constructor for class org.springframework.data.mongodb.core.query.TextQuery
-
Creates new
TextQuery
for givenTextCriteria
. - TextScore - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
TextScore
marks the property to be considered as the on server calculated textScore when doing full text search. - then(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond.ThenBuilder
- then(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.ConditionalOperatorFactory
-
Creates new
AggregationExpression
that evaluates a boolean expression to return one of the two specified return expressions. - then(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.IfNull.ThenBuilder
- then(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch.CaseOperator.ThenBuilder
-
Set the then value.
- then(Object) - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation.RedactOperationBuilder
-
Define the outcome (anything that resolves to $$DESCEND, $$PRUNE, or $$KEEP) when the condition is met.
- thenDescend() - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation.RedactOperationBuilder
-
Return fields at the current document level and exclude embedded ones if the condition is met.
- thenKeep() - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation.RedactOperationBuilder
-
Return/Keep all fields at the current document/embedded level if the condition is met.
- thenPrune() - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation.RedactOperationBuilder
-
Exclude all fields at this current document/embedded level if the condition is met.
- thenValueOf(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond.ThenBuilder
- thenValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.ConditionalOperatorFactory
-
Creates new
AggregationExpression
that evaluates a boolean expression to return one of the two specified return expressions. - thenValueOf(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.IfNull.ThenBuilder
- thenValueOf(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond.ThenBuilder
- thenValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.ConditionalOperatorFactory
-
Creates new
AggregationExpression
that evaluates a boolean expression to return one of the two specified return expressions. - thenValueOf(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.IfNull.ThenBuilder
- THIS - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.Variable
- timeField() - Element in annotation interface org.springframework.data.mongodb.core.mapping.TimeSeries
-
Name of the property which contains the date in each time series document.
- timeSeries(String) - Static method in class org.springframework.data.mongodb.core.CollectionOptions
-
Quick way to set up
CollectionOptions
for a Time Series collection. - timeSeries(String) - Static method in class org.springframework.data.mongodb.core.CollectionOptions.TimeSeriesOptions
-
Create a new instance of
CollectionOptions.TimeSeriesOptions
using the given field as its timeField. - timeSeries(CollectionOptions.TimeSeriesOptions) - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with the givenCollectionOptions.TimeSeriesOptions
. - TimeSeries - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
Identifies a domain object to be persisted to a MongoDB Time Series collection.
- timestamp() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Create a new
JsonSchemaObject
oftype : 'timestamp'
. - timestamp(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.TimestampJsonSchemaProperty
with given identifier oftype : 'timestamp'
. - TIMESTAMP - Enum constant in enum class org.springframework.data.mongodb.core.mapping.FieldType
- TIMESTAMP - Static variable in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- timestampType() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
- TimezonedDateAggregationExpression(Object) - Constructor for class org.springframework.data.mongodb.core.aggregation.DateOperators.TimezonedDateAggregationExpression
- to(int) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Specify the conversion target type via its numeric representation.
- to(long) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.RangeOperator.RangeOperatorBuilder
-
Creates new
ArrayOperators.RangeOperator
. - to(Number) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.DocumentWindowBuilder
-
The upper (inclusive) range limit based on current document.
- to(Number) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindowBuilder
-
The upper (inclusive) range limit value to add to the value based on the sortBy field.
- to(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.RangeOperator.RangeOperatorBuilder
-
Creates new
ArrayOperators.RangeOperator
. - to(String) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Specify the conversion target type via its
String
representation. - to(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateTrunc
-
Define the unit of time.
- to(String) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.DocumentWindowBuilder
- to(String) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindowBuilder
-
The upper (inclusive) range limit based on the sortBy field.
- to(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.RangeOperator.RangeOperatorBuilder
-
Creates new
ArrayOperators.RangeOperator
. - to(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateTrunc
-
Define the unit of time via an
AggregationExpression
. - to(JsonSchemaObject.Type) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Specify the conversion target type.
- toArray() - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectOperatorFactory
-
Creates new
aggregation expression
that takes the associated value and converts it to an array ofdocuments
that contain two fields k and v each. - toArray(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectToArray
-
Creates new
aggregation expression
that takes the given value and converts it to an array. - toBoolean(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToBool
-
Creates new
ConvertOperators.ToBool
using the given value as input. - toBsonType() - Method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
-
Get the bsonType representation of the given type.
- toCaseInsensitiveMatch(Object) - Method in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator
-
Deprecated, for removal: This API element is subject to removal in a future version.since 4.0.7
- toCriteriaDefinition(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.EvaluationOperators.Expr
-
Creates
$expr
asCriteriaDefinition
. - toCurrent() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.DocumentWindowBuilder
- toCurrent() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindowBuilder
-
Use current as
upper
limit. - toDate(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToDate
-
Creates new
ConvertOperators.ToDate
using the given value as input. - toDate(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateAdd
-
Define the start date, in UTC, for the addition operation.
- toDate(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateDiff
-
Define the start date, in UTC, for the addition operation.
- toDateOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateAdd
-
Define the start date, in UTC, for the addition operation.
- toDateOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateDiff
-
Define the start date, in UTC, for the addition operation.
- toDateOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateAdd
-
Define the start date, in UTC, for the addition operation.
- toDateOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateDiff
-
Define the start date, in UTC, for the addition operation.
- toDBRef() - Method in interface org.springframework.data.mongodb.core.convert.LazyLoadingProxy
-
Returns the
DBRef
represented by thisLazyLoadingProxy
, may be null. - toDBRef(Object, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- toDBRef(Object, MongoPersistentProperty) - Method in interface org.springframework.data.mongodb.core.convert.MongoWriter
-
Creates a
DBRef
to refer to the given object. - toDecimal(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToDecimal
-
Creates new
ConvertOperators.ToDecimal
using the given value as input. - toDocument() - Method in class org.springframework.data.mongodb.BindableMongoExpression
- toDocument() - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationExpression
-
Obtain the as is (unmapped) representation of the
AggregationExpression
. - toDocument() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
-
Returns a
Document
representation of thisAggregationOptions
. - toDocument() - Method in interface org.springframework.data.mongodb.core.aggregation.DensifyOperation.Range
-
Obtain the document representation of the window in a default
context
. - toDocument() - Method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.Window
-
Obtain the document representation of the window in a default
context
. - toDocument() - Method in class org.springframework.data.mongodb.core.query.Collation
-
Get the
Document
representation of theCollation
. - toDocument() - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Returns the
Document
built by theNearQuery
. - toDocument() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty
- toDocument() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.RequiredJsonSchemaProperty
- toDocument() - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty
- toDocument() - Method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Get the MongoDB specific representation.
The Document may contain fields (eg. like bsonType) not contained in the JsonSchema specification. - toDocument() - Method in interface org.springframework.data.mongodb.core.schema.MongoJsonSchema
- toDocument() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
- toDocument() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
- toDocument() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
- toDocument() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.StringJsonSchemaObject
- toDocument() - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject
-
Create the JSON schema complying
Document
representation. - toDocument() - Method in class org.springframework.data.mongodb.core.schema.UntypedJsonSchemaObject
-
Create the JSON schema complying
Document
representation. - toDocument() - Method in interface org.springframework.data.mongodb.core.validation.Validator
-
Get the
Document
containing the validation specific rules. - toDocument() - Method in interface org.springframework.data.mongodb.MongoExpression
-
Obtain the native
Document
representation. - toDocument(Object) - Method in class org.springframework.data.mongodb.gridfs.ReactiveGridFsTemplate
-
Convert a given value into a
Document
. - toDocument(Object, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch
- toDocument(Object, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Avg
- toDocument(Object, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Max
- toDocument(Object, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Min
- toDocument(Object, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.StdDevPop
- toDocument(Object, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.StdDevSamp
- toDocument(Object, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Sum
- toDocument(Object, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.MergeObjects
- toDocument(String, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Converts this
Aggregation
specification to aDocument
. - toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Max
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators.Min
- toDocument(AggregationOperationContext) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationExpression
- toDocument(AggregationOperationContext) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperation
-
Deprecated.since 2.2 in favor of
AggregationOperation.toPipelineStages(AggregationOperationContext)
. - toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationSpELExpression
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Rand
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Filter
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.PropertyExpression
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OperationOutput
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.Outputs
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.IfNull
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch.CaseOperator
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.CountOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyRange
- toDocument(AggregationOperationContext) - Method in interface org.springframework.data.mongodb.core.aggregation.DensifyOperation.Range
-
Obtain the document representation of the window in the given
context
. - toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.DensifyOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.AddFieldsOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.DenseRank
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.DocumentNumber
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators.Rank
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.FacetOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.GeoNearOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.GraphLookupOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.LimitOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.LookupOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.MatchOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsDontMatch
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.OutOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceWithOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.SampleOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.DocumentWindow
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindow
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation
- toDocument(AggregationOperationContext) - Method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.Window
-
Obtain the document representation of the window in the given
context
. - toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.SkipOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.SortByCountOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.SortOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.UnionWithOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.UnsetOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.UnwindOperation
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.VariableOperators.Let
- toDocument(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.VariableOperators.Map
- toDocumentExpression(AggregationOperationContext) - Method in interface org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.Replacement
-
Renders the current
ReplaceRootOperation.Replacement
into a its MongoDB representation based on the givenAggregationOperationContext
. - toDocumentOrElse(String, Function<String, Document>) - Static method in class org.springframework.data.mongodb.util.BsonUtils
- toDocumentPointer(Object, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- toDocumentPointer(Object, MongoPersistentProperty) - Method in interface org.springframework.data.mongodb.core.convert.MongoWriter
-
Creates a the
DocumentPointer
representing the link to another entity. - toDouble(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToDouble
-
Creates new
ConvertOperators.ToDouble
using the given value as input. - toIds(Collection<Document>) - Static method in class org.springframework.data.mongodb.core.MappedDocument
- toInt(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToInt
-
Creates new
ConvertOperators.ToInt
using the given value as input. - toJavaType(BsonValue) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Extract the corresponding plain value from
BsonValue
. - toJson() - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
-
Obtain the Mongo Shell json query representation.
- toJson(Document) - Static method in class org.springframework.data.mongodb.util.BsonUtils
-
Serialize the given
Document
as Json applying default codecs if necessary. - toJson(JsonWriterSettings) - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
-
Obtain the json query representation applying given
settings
. - toJsonString() - Method in interface org.springframework.data.mongodb.core.query.Update.Modifier
- toLong(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToLong
-
Creates new
ConvertOperators.ToLong
using the given value as input. - toLower() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$toLower
expression that takes the string representation of the previously mentioned field and lowers it. - toLower() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and lowers it. - toMongoCollation() - Method in class org.springframework.data.mongodb.core.query.Collation
-
Get the
Collation
representation of theCollation
. - toObject() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that converts the associated expression into an object. - toObjectId(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToObjectId
-
Creates new
ConvertOperators.ToObjectId
using the given value as input. - toOrder(Sort.Order) - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
-
Transforms a plain
Sort.Order
into a Querydsl specificOrderSpecifier
. - toOrderSpecifiers(Sort) - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
-
Converts the given
Sort
toOrderSpecifier
. - top() - Static method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Top
- top(int) - Static method in class org.springframework.data.mongodb.core.aggregation.SelectionOperators.Top
- toParts() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns a document containing the constituent parts of the date as individual properties.
NOTE: Requires MongoDB 3.6 or later. - toPipeline(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.Aggregation
- toPipelineStages(AggregationOperationContext) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperation
- toPipelineStages(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.GeoNearOperation
- toRadians(Distance) - Static method in class org.springframework.data.mongodb.core.query.MetricConversion
-
Return
distance
in radians (on an earth like sphere). - toRegexFlag(char) - Static method in class org.springframework.data.mongodb.util.RegexFlags
-
Lookup the MongoDB specific flags for a given character.
- toRegexFlags(String) - Static method in class org.springframework.data.mongodb.util.RegexFlags
-
Lookup the MongoDB specific flags for a given regex option string.
- toRegexOptions(int) - Static method in class org.springframework.data.mongodb.util.RegexFlags
-
Lookup the MongoDB specific options from given
flags
. - toRegularExpression(String, MongoRegexCreator.MatchMode) - Method in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator
-
Creates a regular expression String to be used with
$regex
. - toString() - Method in class org.springframework.data.mongodb.BindableMongoExpression
- toString() - Method in class org.springframework.data.mongodb.core.aggregation.Aggregation
- toString() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
- toString() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
- toString() - Method in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
- toString() - Method in class org.springframework.data.mongodb.core.ChangeStreamEvent
- toString() - Method in class org.springframework.data.mongodb.core.CollectionOptions.CollectionChangeStreamOptions
- toString() - Method in class org.springframework.data.mongodb.core.CollectionOptions.TimeSeriesOptions
- toString() - Method in class org.springframework.data.mongodb.core.CollectionOptions
- toString() - Method in class org.springframework.data.mongodb.core.CollectionOptions.ValidationOptions
- toString() - Method in class org.springframework.data.mongodb.core.geo.Sphere
- toString() - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
- toString() - Method in class org.springframework.data.mongodb.core.index.Index
- toString() - Method in class org.springframework.data.mongodb.core.index.IndexField
- toString() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
- toString() - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver.IndexDefinitionHolder
- toString() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
-
Deprecated.
- toString() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
-
Deprecated.
- toString() - Method in class org.springframework.data.mongodb.core.messaging.Message.MessageProperties
- toString() - Method in class org.springframework.data.mongodb.core.query.Collation
- toString() - Method in class org.springframework.data.mongodb.core.query.Query
- toString() - Method in class org.springframework.data.mongodb.core.query.Term
- toString() - Method in class org.springframework.data.mongodb.core.query.Update.Modifiers
- toString() - Method in class org.springframework.data.mongodb.core.query.Update
- toString() - Method in class org.springframework.data.mongodb.repository.support.SpringDataMongodbQuery
-
Returns the Mongo Shell representation of the query.
- toString() - Method in class org.springframework.data.mongodb.util.DotPath
- toString(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.ToString
-
Creates new
ConvertOperators.ToString
using the given value as input. - toString(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that converts a date object to a string according to a user-specified format. - toString(String) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateToString.FormatBuilder
-
Creates new
DateOperators.DateToString
with all previously added arguments appending the given one. - toStringWithDefaultFormat() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that converts a date object to a string according to the server default format. - toTypeOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Specify the conversion target type via the value of the given field.
- toTypeOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators.Convert
-
Specify the conversion target type via the value of the given
expression
. - toUnbounded() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.DocumentWindowBuilder
- toUnbounded() - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindowBuilder
-
Use unbounded as
upper
limit. - toUpper() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$toUpper
expression that takes the string representation of the previously mentioned field and uppers it. - toUpper() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and uppers it. - toValue(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationUpdate.SetValueAppender
-
Define the target value as is.
- toValue(Object) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.SetField
-
Creates new
aggregation expression
providing thevalue
. - toValue(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.SetOperation.FieldAppender.ValueAppender
-
Define the value to assign as is.
- toValueOf(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationUpdate.SetValueAppender
-
Define the target value as value, an
AggregationExpression
or aField
reference. - toValueOf(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.SetOperation.FieldAppender.ValueAppender
-
Define the value to assign.
- toValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.SetField
-
Creates new
aggregation expression
providing thevalue
using fieldReference. - toValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.SetField
- transform(T) - Method in interface org.springframework.data.mongodb.core.spel.ExpressionTransformer
-
Transforms the given
ExpressionTransformationContextSupport
into an Object. - translate(MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.mapping.PersistentPropertyTranslator
-
Translate a
MongoPersistentProperty
into a corresponding property from a differentMongoPersistentEntity
. - translateExceptionIfPossible(RuntimeException) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
- translateExceptionIfPossible(RuntimeException) - Method in class org.springframework.data.mongodb.core.MongoExceptionTranslator
- translateExceptionIfPossible(RuntimeException) - Method in class org.springframework.data.mongodb.core.ReactiveMongoClientFactoryBean
- trim() - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and trims whitespaces from the beginning and end. - trim(String) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and trims the given character sequence from the beginning and end. - trim(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StringOperatorFactory
-
Creates new
AggregationExpression
that takes the associated string representation and trims the character sequence resulting from the givenAggregationExpression
from the beginning and end. - trunc() - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.ArithmeticOperatorFactory
-
Creates new
AggregationExpression
that truncates a number to its integer. - trunc() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Takes the number of the previously mentioned field and truncates it to its integer value.
- truncate(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that truncates a date to the given unit. - truncate(DateOperators.TemporalUnit) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that truncates a date to the given unit. - truncateValue(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateTrunc
-
Truncates the date value.
- truncateValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateTrunc
-
Truncates the date value of the referenced field.
- truncateValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateTrunc
-
Truncates the date value of computed by the given
AggregationExpression
. - truncValueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Trunc
-
Creates new
ArithmeticOperators.Trunc
. - truncValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Trunc
-
Creates new
ArithmeticOperators.Trunc
. - truncValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Trunc
-
Creates new
ArithmeticOperators.Trunc
. - tsIncrement() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the incrementing ordinal from a timestamp. - tsIncrement(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.TsIncrement
-
Creates new
DateOperators.TsIncrement
that returns the incrementing ordinal from a timestamp. - tsIncrementValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.TsIncrement
-
Creates new
DateOperators.TsIncrement
that returns the incrementing ordinal from a timestamp. - tsIncrementValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.TsIncrement
-
Creates new
DateOperators.TsIncrement
. - tsSecond() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the seconds from a timestamp. - tsSecond(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.TsSecond
-
Creates new
DateOperators.TsSecond
that returns the incrementing ordinal from a timestamp. - tsSecondValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.TsSecond
-
Creates new
DateOperators.TsSecond
that returns the incrementing ordinal from a timestamp. - tsSecondValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.TsSecond
-
Creates new
DateOperators.TsSecond
. - type() - Element in annotation interface org.springframework.data.mongodb.core.index.GeoSpatialIndexed
-
The type of the geospatial index.
- type(int) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $type operator.
- type(Collection<JsonSchemaObject.Type>) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $type operator.
- type(JsonSchemaObject.Type...) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a criterion using the $type operator.
- TypeBasedAggregationOperationContext - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationOperationContext
aware of a particular type and aMappingContext
to potentially translate property references into document field names. - TypeBasedAggregationOperationContext(Class<?>, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>, QueryMapper) - Constructor for class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
-
Creates a new
TypeBasedAggregationOperationContext
for the given type,MappingContext
andQueryMapper
. - typed(String) - Static method in class org.springframework.data.mongodb.gridfs.GridFsObject.Options
-
Static factory method to create
GridFsObject.Options
with given content type. - typed(GeoSpatialIndexType) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
- TypedAggregation<I> - Class in org.springframework.data.mongodb.core.aggregation
-
A
TypedAggregation
is a specialAggregation
that holds information of the input aggregation type. - TypedAggregation(Class<I>, List<AggregationOperation>) - Constructor for class org.springframework.data.mongodb.core.aggregation.TypedAggregation
-
Creates a new
TypedAggregation
from the givenAggregationOperation
s. - TypedAggregation(Class<I>, List<AggregationOperation>, AggregationOptions) - Constructor for class org.springframework.data.mongodb.core.aggregation.TypedAggregation
-
Creates a new
TypedAggregation
from the givenAggregationOperation
s and the givenAggregationOptions
. - TypedAggregation(Class<I>, AggregationOperation...) - Constructor for class org.springframework.data.mongodb.core.aggregation.TypedAggregation
-
Creates a new
TypedAggregation
from the givenAggregationOperation
s. - TypedJsonSchemaObject - Class in org.springframework.data.mongodb.core.schema
-
A
JsonSchemaObject
of a givenJsonSchemaObject.Type
. - TypedJsonSchemaObject.ArrayJsonSchemaObject - Class in org.springframework.data.mongodb.core.schema
-
JsonSchemaObject
implementation oftype : 'array'
schema elements.
Provides programmatic access to schema specifics like range, minItems, maxItems,... via a fluent API producing immutableschema objects
. - TypedJsonSchemaObject.BooleanJsonSchemaObject - Class in org.springframework.data.mongodb.core.schema
-
JsonSchemaObject
implementation oftype : 'boolean'
schema elements.
Provides programmatic access to schema specifics via a fluent API producing immutableschema objects
. - TypedJsonSchemaObject.NumericJsonSchemaObject - Class in org.springframework.data.mongodb.core.schema
-
JsonSchemaObject
implementation oftype : 'number'
,bsonType : 'int'
,bsonType : 'long'
,bsonType : 'double'
andbsonType : 'decimal128'
schema elements.
Provides programmatic access to schema specifics like multipleOf, minimum, maximum,... via a fluent API producing immutableschema objects
. - TypedJsonSchemaObject.ObjectJsonSchemaObject - Class in org.springframework.data.mongodb.core.schema
-
JsonSchemaObject
implementation oftype : 'object'
schema elements.
Provides programmatic access to schema specifics like required, properties, patternProperties,... via a fluent API producing immutableschema objects
. - TypedJsonSchemaObject.StringJsonSchemaObject - Class in org.springframework.data.mongodb.core.schema
-
JsonSchemaObject
implementation oftype : 'string'
schema elements.
Provides programmatic access to schema specifics like minLength, maxLength, pattern,... via a fluent API producing immutableschema objects
. - typeInformation() - Method in class org.springframework.data.mongodb.repository.support.QuerydslMongoPredicateExecutor
- typeMapper - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- typeOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DataTypeOperators.Type
-
Creates new
DataTypeOperators.Type
. - typeOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DataTypeOperators
-
Return the BSON data type of the given field.
- types - Variable in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject
U
- UncategorizedMongoDbException - Exception in org.springframework.data.mongodb
- UncategorizedMongoDbException(String, Throwable) - Constructor for exception org.springframework.data.mongodb.UncategorizedMongoDbException
- UNDERSCORE_ID - Static variable in class org.springframework.data.mongodb.core.aggregation.Fields
- UNDERSCORE_ID_REF - Static variable in class org.springframework.data.mongodb.core.aggregation.Fields
- union(String...) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetOperatorFactory
-
Creates new
AggregationExpression
that takes array of the previously mentioned field and one or more arrays and returns an array that contains the elements that appear in any of those. - union(String...) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetUnion
-
Creates new
SetOperators.SetUnion
with all previously added arguments appending the given one. - union(AggregationExpression...) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetOperatorFactory
-
Creates new
AggregationExpression
that takes array of the previously mentioned field and one or more arrays and returns an array that contains the elements that appear in any of those. - union(AggregationExpression...) - Method in class org.springframework.data.mongodb.core.aggregation.SetOperators.SetUnion
-
Creates new
SetOperators.SetUnion
with all previously added arguments appending the given one. - unionArrays(String...) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
-
Generates a
$setUnion
expression that takes array of the previously mentioned field and one or more arrays and returns an array that contains the elements that appear in any of those. - unionWith(String) - Static method in class org.springframework.data.mongodb.core.aggregation.UnionWithOperation
-
Set the name of the collection from which pipeline results should be included in the result set.
The collection name is used to set thecoll
parameter of$unionWith
. - UnionWithOperation - Class in org.springframework.data.mongodb.core.aggregation
-
The $unionWith aggregation stage (available since MongoDB 4.4) performs a union of two collections by combining pipeline results, potentially containing duplicates, into a single result set that is handed over to the next stage.
- UnionWithOperation(String, AggregationPipeline, Class<?>) - Constructor for class org.springframework.data.mongodb.core.aggregation.UnionWithOperation
- unique() - Element in annotation interface org.springframework.data.mongodb.core.index.CompoundIndex
- unique() - Method in class org.springframework.data.mongodb.core.index.Index
-
Reject all documents that contain a duplicate value for the indexed field.
- unique() - Element in annotation interface org.springframework.data.mongodb.core.index.Indexed
-
If set to true reject all documents that contain a duplicate value for the indexed field.
- unique() - Method in class org.springframework.data.mongodb.core.index.WildcardIndex
-
Unique option is not supported.
- uniqueItems(boolean) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty
- uniqueItems(boolean) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ArrayJsonSchemaObject
-
Define the whether the array must contain unique items.
- uniqueKey(String) - Method in class org.springframework.data.mongodb.core.aggregation.OutOperation
-
Optionally specify the field that uniquely identifies a document in the target collection.
- uniqueKeyOf(Iterable<String>) - Method in class org.springframework.data.mongodb.core.aggregation.OutOperation
-
Optionally specify the fields that uniquely identifies a document in the target collection.
- unit(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Derivative
- unit(String) - Method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Integral
-
Set the unit of measure.
- unit(DensifyOperation.DensifyUnit) - Method in class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyRange
-
Set the
unit
for the step field. - unit(SetWindowFieldsOperation.WindowUnit) - Method in class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.RangeWindowBuilder
-
Set the
unit
or measure for the givenSetWindowFieldsOperation.Window
. - UNORDERED - Enum constant in enum class org.springframework.data.mongodb.core.BulkOperations.BulkMode
-
Perform bulk operations in parallel.
- unset(String) - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
- unset(String) - Method in class org.springframework.data.mongodb.core.query.Update
-
Update using the $unset update modifier
- unset(String...) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
-
Short for
AggregationUpdate.unset(UnsetOperation)
. - unset(String...) - Static method in class org.springframework.data.mongodb.core.aggregation.UnsetOperation
-
Create new instance of
UnsetOperation
. - unset(UnsetOperation) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
-
$unset
removes/excludes fields from documents. - UnsetOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Removes fields from documents.
- UnsetOperation(Collection<Object>) - Constructor for class org.springframework.data.mongodb.core.aggregation.UnsetOperation
-
Create new instance of
UnsetOperation
. - untyped() - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject
-
Create a new
UntypedJsonSchemaObject
. - untyped(String) - Static method in interface org.springframework.data.mongodb.core.schema.JsonSchemaProperty
-
Creates a new
IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty
with given identifier withouttype
. - UntypedExampleMatcher - Class in org.springframework.data.mongodb.core.query
-
ExampleMatcher
implementation for query by example (QBE). - UntypedJsonSchemaObject - Class in org.springframework.data.mongodb.core.schema
-
Common base for
JsonSchemaObject
with shared types andJsonSchemaObject.toDocument()
implementation. - unwind(String) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Factory method to create a new
UnwindOperation
for the field with the given name. - unwind(String, boolean) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Factory method to create a new
UnwindOperation
for the field with the given name andpreserveNullAndEmptyArrays
. - unwind(String, String) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Factory method to create a new
UnwindOperation
for the field with the given name including the name of a new field to hold the array index of the element asarrayIndex
. - unwind(String, String, boolean) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Factory method to create a new
UnwindOperation
for the field with the given nameincluding the name of a new field to hold the array index of the element asarrayIndex
usingpreserveNullAndEmptyArrays
. - UnwindOperation - Class in org.springframework.data.mongodb.core.aggregation
-
Encapsulates the aggregation framework
$unwind
-operation. - UnwindOperation(Field) - Constructor for class org.springframework.data.mongodb.core.aggregation.UnwindOperation
-
Creates a new
UnwindOperation
for the givenField
. - UnwindOperation(Field, boolean) - Constructor for class org.springframework.data.mongodb.core.aggregation.UnwindOperation
-
Creates a new
UnwindOperation
using Mongo 3.2 syntax. - UnwindOperation(Field, Field, boolean) - Constructor for class org.springframework.data.mongodb.core.aggregation.UnwindOperation
-
Creates a new
UnwindOperation
using Mongo 3.2 syntax. - UnwindOperation.EmptyArraysBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- UnwindOperation.IndexBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- UnwindOperation.PathBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- UnwindOperation.UnwindOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
-
Builder for fluent
UnwindOperation
creation. - Unwrapped - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
The annotation to configure a value object as flattened out in the target document.
- Unwrapped.Empty - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
Shortcut for an empty unwrapped property.
- Unwrapped.Nullable - Annotation Interface in org.springframework.data.mongodb.core.mapping
-
Shortcut for a nullable unwrapped property.
- Unwrapped.OnEmpty - Enum Class in org.springframework.data.mongodb.core.mapping
-
Load strategy to be used
Unwrapped.onEmpty()
. - update() - Static method in class org.springframework.data.mongodb.core.aggregation.AggregationUpdate
-
Start defining the update pipeline to execute.
- update() - Element in annotation interface org.springframework.data.mongodb.repository.Update
-
Takes a MongoDB JSON string to define the actual update to be executed.
- update(Class<T>) - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation
-
Start creating an update operation for the given domainType.
- update(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- update(Class<T>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- update(Class<T>) - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation
-
Start creating an update operation for the given domainType.
- update(String, Object) - Static method in class org.springframework.data.mongodb.core.query.Update
-
Static factory method to create an Update using the provided key
- Update - Class in org.springframework.data.mongodb.core.query
-
Class to easily construct MongoDB update clauses.
- Update - Annotation Interface in org.springframework.data.mongodb.repository
-
Annotation to declare update operators directly on repository methods.
- Update() - Constructor for class org.springframework.data.mongodb.core.query.Update
- UPDATE - Enum constant in enum class org.springframework.data.mongodb.core.MongoActionOperation
- Update.AddToSetBuilder - Class in org.springframework.data.mongodb.core.query
-
Builder for creating
$addToSet
modifier. - Update.BitwiseOperatorBuilder - Class in org.springframework.data.mongodb.core.query
- Update.Modifier - Interface in org.springframework.data.mongodb.core.query
-
Marker interface of nested commands.
- Update.Modifiers - Class in org.springframework.data.mongodb.core.query
-
Modifiers holds a distinct collection of
Update.Modifier
- Update.Position - Enum Class in org.springframework.data.mongodb.core.query
- Update.PushOperatorBuilder - Class in org.springframework.data.mongodb.core.query
-
Builder for creating
$push
modifiers - UpdateDefinition - Interface in org.springframework.data.mongodb.core.query
-
Interface fixing must have operations for updates as implemented via
Update
. - UpdateDefinition.ArrayFilter - Interface in org.springframework.data.mongodb.core.query
-
A filter to specify which elements to modify in an array field.
- updateFirst(Query, UpdateDefinition, Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Updates the first object that is found in the collection of the entity class that matches the query document with the provided update document.
- updateFirst(Query, UpdateDefinition, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- updateFirst(Query, UpdateDefinition, Class<?>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Updates the first object that is found in the collection of the entity class that matches the query document with the provided update document.
- updateFirst(Query, UpdateDefinition, Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- updateFirst(Query, UpdateDefinition, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Updates the first object that is found in the specified collection that matches the query document criteria with the provided updated document.
- updateFirst(Query, UpdateDefinition, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- updateFirst(Query, UpdateDefinition, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Updates the first object that is found in the specified collection that matches the query document criteria with the provided updated document.
- updateFirst(Query, UpdateDefinition, Class<?>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- updateFirst(Query, UpdateDefinition, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Updates the first object that is found in the specified collection that matches the query document criteria with the provided updated document.
- updateFirst(Query, UpdateDefinition, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- updateFirst(Query, UpdateDefinition, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Updates the first object that is found in the specified collection that matches the query document criteria with the provided updated document.
- updateFirst(Query, UpdateDefinition, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- updateId(Object) - Method in class org.springframework.data.mongodb.core.MappedDocument
-
Updates the documents
MappedDocument.ID_FIELD
. - UpdateMapper - Class in org.springframework.data.mongodb.core.convert
-
A subclass of
QueryMapper
that retains type information on the mongo types. - UpdateMapper(MongoConverter) - Constructor for class org.springframework.data.mongodb.core.convert.UpdateMapper
-
Creates a new
UpdateMapper
using the givenMongoConverter
. - updateMulti(List<Pair<Query, Update>>) - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Add a list of updates to the bulk operation.
- updateMulti(Query, Update) - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Add a single update to the bulk operation.
- updateMulti(Query, UpdateDefinition, Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Updates all objects that are found in the collection for the entity class that matches the query document criteria with the provided updated document.
- updateMulti(Query, UpdateDefinition, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- updateMulti(Query, UpdateDefinition, Class<?>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Updates all objects that are found in the collection for the entity class that matches the query document criteria with the provided updated document.
- updateMulti(Query, UpdateDefinition, Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- updateMulti(Query, UpdateDefinition, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Updates all objects that are found in the collection for the entity class that matches the query document criteria with the provided updated document.
- updateMulti(Query, UpdateDefinition, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- updateMulti(Query, UpdateDefinition, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Updates all objects that are found in the collection for the entity class that matches the query document criteria with the provided updated document.
- updateMulti(Query, UpdateDefinition, Class<?>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- updateMulti(Query, UpdateDefinition, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Updates all objects that are found in the specified collection that matches the query document criteria with the provided updated document.
- updateMulti(Query, UpdateDefinition, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- updateMulti(Query, UpdateDefinition, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Updates all objects that are found in the specified collection that matches the query document criteria with the provided updated document.
- updateMulti(Query, UpdateDefinition, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- updateOne(List<Pair<Query, Update>>) - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Add a list of updates to the bulk operation.
- updateOne(Query, Update) - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Add a single update to the bulk operation.
- updateWith(List<AggregationOperation>) - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsMatch
-
Use an aggregation pipeline to update the document in the collection.
- updateWith(Aggregation) - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsMatch
-
Use an
Aggregation
to update the document in the collection. - updateWithoutId() - Method in class org.springframework.data.mongodb.core.MappedDocument
- upper() - Static method in class org.springframework.data.mongodb.core.query.Collation.CaseFirst
-
Sort uppercase before lowercase.
- upper(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ToUpper
-
Creates new
StringOperators.ToUpper
. - upperValueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ToUpper
-
Creates new
StringOperators.ToUpper
. - upperValueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ToUpper
-
Creates new
StringOperators.ToUpper
. - upsert() - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.TerminatingUpdate
-
Creates a new document if no documents match the filter query or updates the matching ones.
- upsert() - Method in class org.springframework.data.mongodb.core.FindAndReplaceOptions
-
Insert a new document if not exists.
- upsert() - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.TerminatingUpdate
-
Creates a new document if no documents match the filter query or updates the matching ones.
- upsert(boolean) - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
- upsert(List<Pair<Query, Update>>) - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Add a list of upserts to the bulk operation.
- upsert(Query, Update) - Method in interface org.springframework.data.mongodb.core.BulkOperations
-
Add a single upsert to the bulk operation.
- upsert(Query, UpdateDefinition, Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Performs an upsert.
- upsert(Query, UpdateDefinition, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- upsert(Query, UpdateDefinition, Class<?>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Performs an upsert.
- upsert(Query, UpdateDefinition, Class<?>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- upsert(Query, UpdateDefinition, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Performs an upsert.
- upsert(Query, UpdateDefinition, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- upsert(Query, UpdateDefinition, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Performs an upsert.
- upsert(Query, UpdateDefinition, Class<?>, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- upsert(Query, UpdateDefinition, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Performs an upsert.
- upsert(Query, UpdateDefinition, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- upsert(Query, UpdateDefinition, String) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Performs an upsert.
- upsert(Query, UpdateDefinition, String) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- USE_EMPTY - Enum constant in enum class org.springframework.data.mongodb.core.mapping.Unwrapped.OnEmpty
- USE_NULL - Enum constant in enum class org.springframework.data.mongodb.core.mapping.Unwrapped.OnEmpty
- useEstimatedCount(boolean) - Method in class org.springframework.data.mongodb.core.MongoTemplate
-
Configure whether to use estimated count.
- useEstimatedCount(boolean) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
-
Configure whether to use estimated count.
- useGeneratedName() - Element in annotation interface org.springframework.data.mongodb.core.index.CompoundIndex
-
If set to true then MongoDB will ignore the given index name and instead generate a new name.
- useGeneratedName() - Element in annotation interface org.springframework.data.mongodb.core.index.GeoSpatialIndexed
-
If set to true then MongoDB will ignore the given index name and instead generate a new name.
- useGeneratedName() - Element in annotation interface org.springframework.data.mongodb.core.index.Indexed
-
If set to true then MongoDB will ignore the given index name and instead generate a new name.
- useGeneratedName() - Element in annotation interface org.springframework.data.mongodb.core.index.WildcardIndexed
-
If set to true then MongoDB will ignore the given index name and instead generate a new name.
- useIndex(String) - Method in class org.springframework.data.mongodb.core.aggregation.GeoNearOperation
-
Optionally specify the geospatial index to use via the field to use in the calculation.
- useLongestLength() - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Zip
-
Create new
ArrayOperators.Zip
and set theuseLongestLength
property to true. - useNativeDriverJavaTimeCodecs() - Method in class org.springframework.data.mongodb.core.convert.MongoCustomConversions.MongoConverterConfigurationAdapter
-
Use the native MongoDB Java Driver
codes
forLocalDate
,LocalTime
andLocalDateTime
using aZoneOffset.UTC
. - useNativeDriverJavaTimeCodecs(boolean) - Method in class org.springframework.data.mongodb.core.convert.MongoCustomConversions.MongoConverterConfigurationAdapter
-
Set whether to or not to use the native MongoDB Java Driver
codes
forLocalDate
,LocalTime
andLocalDateTime
using aZoneOffset.UTC
. - usePropertyAccess() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
- usePropertyAccess() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns whether property access shall be used for reading the property value.
- useRepositoryConfiguration(RepositoryMetadata) - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
- useRepositoryConfiguration(RepositoryMetadata) - Method in class org.springframework.data.mongodb.repository.config.ReactiveMongoRepositoryConfigurationExtension
- usesInlineOutput() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.
- useSpringDataJavaTimeCodecs() - Method in class org.springframework.data.mongodb.core.convert.MongoCustomConversions.MongoConverterConfigurationAdapter
-
Use SpringData
Jsr310 converters
forLocalDate
,LocalTime
andLocalDateTime
using theZoneId.systemDefault()
. - UUidRepresentationPropertyEditor - Class in org.springframework.data.mongodb.config
-
Parse a
String
to aUuidRepresentation
. - UUidRepresentationPropertyEditor() - Constructor for class org.springframework.data.mongodb.config.UUidRepresentationPropertyEditor
V
- ValidatingMongoEventListener - Class in org.springframework.data.mongodb.core.mapping.event
-
javax.validation dependant entities validator.
- ValidatingMongoEventListener(Validator) - Constructor for class org.springframework.data.mongodb.core.mapping.event.ValidatingMongoEventListener
-
Creates a new
ValidatingMongoEventListener
using the givenValidator
. - validation(CollectionOptions.ValidationOptions) - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with the givenCollectionOptions.ValidationOptions
. - validationAction(ValidationAction) - Method in class org.springframework.data.mongodb.core.CollectionOptions.ValidationOptions
-
Define the validation action to take.
- validationLevel(ValidationLevel) - Method in class org.springframework.data.mongodb.core.CollectionOptions.ValidationOptions
-
Define the validation level to apply.
- ValidationOptions(Validator, ValidationLevel, ValidationAction) - Constructor for class org.springframework.data.mongodb.core.CollectionOptions.ValidationOptions
- validator(Validator) - Method in class org.springframework.data.mongodb.core.CollectionOptions.ValidationOptions
-
Define the
Validator
to be used for document validation. - validator(Validator) - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings andvalidationOptions
set to givenValidator
. - Validator - Interface in org.springframework.data.mongodb.core.validation
-
Provides a
validator
object to be used for collection validation viaCollectionOptions.ValidationOptions
. - value - Variable in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OutputBuilder
- value - Variable in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
- value() - Element in annotation interface org.springframework.data.mongodb.core.annotation.Collation
-
The actual collation definition in JSON format or a
template expression
resolving to either a JSON String or aDocument
. - value() - Element in annotation interface org.springframework.data.mongodb.core.index.CompoundIndexes
- value() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Document
-
The collection the document representing the entity is supposed to be stored in.
- value() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Field
-
The key to be used to store the field inside the document.
- value() - Element in annotation interface org.springframework.data.mongodb.core.mapping.MongoId
- value() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Sharded
-
Alias for
Sharded.shardKey()
. - value() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Unwrapped.Empty
- value() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Unwrapped.Nullable
- value() - Method in class org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type.BsonType
- value() - Method in class org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type.JsonType
- value() - Method in interface org.springframework.data.mongodb.core.schema.JsonSchemaObject.Type
-
Get the
JsonSchemaObject.Type
value. - value() - Element in annotation interface org.springframework.data.mongodb.repository.Aggregation
-
Alias for
Aggregation.pipeline()
. - value() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableMongoRepositories
-
Alias for the
EnableMongoRepositories.basePackages()
attribute. - value() - Element in annotation interface org.springframework.data.mongodb.repository.config.EnableReactiveMongoRepositories
-
Alias for the
EnableReactiveMongoRepositories.basePackages()
attribute. - value() - Element in annotation interface org.springframework.data.mongodb.repository.CountQuery
-
Takes a MongoDB JSON string to define the actual query to be executed.
- value() - Element in annotation interface org.springframework.data.mongodb.repository.DeleteQuery
-
Takes a MongoDB JSON string to define the actual query to be executed.
- value() - Element in annotation interface org.springframework.data.mongodb.repository.ExistsQuery
-
Takes a MongoDB JSON string to define the actual query to be executed.
- value() - Element in annotation interface org.springframework.data.mongodb.repository.Query
-
Takes a MongoDB JSON string to define the actual query to be executed.
- value() - Element in annotation interface org.springframework.data.mongodb.repository.Update
-
Takes a MongoDB JSON string to define the actual update to be executed.
- value(Object) - Method in class org.springframework.data.mongodb.core.query.Update.AddToSetBuilder
-
Propagates
Update.AddToSetBuilder.value(Object)
to$addToSet
- value(Object) - Method in class org.springframework.data.mongodb.core.query.Update.PushOperatorBuilder
-
Propagates
Update.PushOperatorBuilder.value(Object)
to$push
- value(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceAll
-
Creates new
StringOperators.ReplaceAll
using the given as input. - value(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceOne
-
Creates new
StringOperators.ReplaceOne
using the given as input. - VALUE - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.Variable
- valueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Add
-
Creates new
ArithmeticOperators.Add
. - valueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Divide
-
Creates new
ArithmeticOperators.Divide
. - valueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Log
-
Creates new
ArithmeticOperators.Log
. - valueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Mod
-
Creates new
ArithmeticOperators.Mod
. - valueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Multiply
-
Creates new
ArithmeticOperators.Multiply
. - valueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Pow
-
Creates new
ArithmeticOperators.Pow
. - valueOf(Number) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Subtract
-
Creates new
ArithmeticOperators.Subtract
. - valueOf(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Timezone
-
Create a
DateOperators.Timezone
for the given value which must be a valid expression that resolves to aString
representing an Olson Timezone Identifier or UTC Offset. - valueOf(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.LiteralOperators
-
Take the value referenced by given value.
- valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators
-
Take the numeric value referenced by given fieldReference.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.aggregation.AggregationOptions.DomainTypeMapping
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Add
-
Creates new
ArithmeticOperators.Add
. - valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.AngularUnit
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static 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. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Divide
-
Creates new
ArithmeticOperators.Divide
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Log
-
Creates new
AccumulatorOperators.Min
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Mod
-
Creates new
ArithmeticOperators.Mod
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Multiply
-
Creates new
ArithmeticOperators.Multiply
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Pow
-
Creates new
ArithmeticOperators.Pow
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Subtract
-
Creates new
ArithmeticOperators.Subtract
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators
-
Take the field referenced by given fieldReference.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.Variable
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators
-
Take the array referenced by given fieldReference.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Cmp
-
Creates new
ComparisonOperators.Cmp
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Eq
-
Creates new
ComparisonOperators.Eq
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Gt
-
Creates new
ComparisonOperators.Gt
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Gte
-
Creates new
ComparisonOperators.Gte
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Lt
-
Creates new
ComparisonOperators.Lt
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Lte
-
Creates new
ComparisonOperators.Lte
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Ne
-
Creates new
ComparisonOperators.Ne
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators
-
Take the field referenced by given fieldReference.
- valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators
-
Take the field referenced by given fieldReference.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnits
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators
-
Take the field referenced by given fieldReference.
- valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.EvaluationOperators.Expr
-
Creates new
EvaluationOperators.Expr
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.EvaluationOperators
-
Take the value resulting from the given fieldReference.
- valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators
-
Take the value referenced by given fieldReference.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.aggregation.OutOperation.OutMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnits
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Concat
-
Creates new
StringOperators.Concat
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfBytes
-
Start creating a new
StringOperators.IndexOfBytes
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfCP
-
Start creating a new
StringOperators.IndexOfCP
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.LTrim
-
Creates new
StringOperators.LTrim
using the value of the providedfieldReference
as input value. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
-
Creates new
StringOperators.RegexFind
using the value of the providedfieldReference
as input value. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFindAll
-
Creates new
StringOperators.RegexFindAll
using the value of the providedfieldReference
as input value. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexMatch
-
Creates new
StringOperators.RegexMatch
using the value of the providedfieldReference
as input value. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceAll
-
Creates new
StringOperators.ReplaceAll
using the value of the providedfieldReference
as input value. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceOne
-
Creates new
StringOperators.ReplaceOne
using the value of the providedfieldReference
as input value. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RTrim
-
Creates new
StringOperators.RTrim
using the value of the providedfieldReference
as input value. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Split
-
Start creating a new
StringOperators.Split
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrCaseCmp
-
Creates new
StringOperators.StrCaseCmp
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Substr
-
Creates new
StringOperators.Substr
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.SubstrCP
-
Creates new
StringOperators.SubstrCP
. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Trim
-
Creates new
StringOperators.Trim
using the value of the providedfieldReference
as input value. - valueOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators
-
Take the array referenced by given fieldReference.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.BulkOperations.BulkMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.convert.NoOpDbRefResolver
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.index.GeoSpatialIndexType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.index.IndexDirection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.mapping.Field.Write
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.mapping.FieldType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.mapping.MongoPersistentProperty.PropertyToFieldNameConverter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.mapping.ShardingStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.mapping.Unwrapped.OnEmpty
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.messaging.Task.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.MongoActionOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.query.Meta.CursorOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator.MatchMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.query.Term.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.query.Update.Position
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.spel.MethodReferenceNode.AggregationMethodReference.ArgumentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.timeseries.Granularity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.core.WriteResultChecking
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.mongodb.SessionSynchronization
-
Returns the enum constant of this class with the specified name.
- valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.AccumulatorOperators
-
Take the numeric value referenced resulting from given
AggregationExpression
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Add
-
Creates new
ArithmeticOperators.Add
. - valueOf(AggregationExpression) - Static 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. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Divide
-
Creates new
ArithmeticOperators.Divide
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Log
-
Creates new
ArithmeticOperators.Log
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Mod
-
Creates new
ArithmeticOperators.Mod
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Multiply
-
Creates new
ArithmeticOperators.Multiply
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Pow
-
Creates new
ArithmeticOperators.Pow
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.Subtract
-
Creates new
ArithmeticOperators.Subtract
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators
-
Take the value resulting from the given
AggregationExpression
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.BooleanOperators
-
Take the value resulting of the given
AggregationExpression
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Cmp
-
Creates new
ComparisonOperators.Cmp
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Eq
-
Creates new
ComparisonOperators.Eq
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Gt
-
Creates new
ComparisonOperators.Gt
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Gte
-
Creates new
ComparisonOperators.Gte
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Lt
-
Creates new
ComparisonOperators.Lt
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Lte
-
Creates new
ComparisonOperators.Lte
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators.Ne
-
Creates new
ComparisonOperators.Ne
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ComparisonOperators
-
Take the value resulting from the given
AggregationExpression
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ConvertOperators
-
Take the value resulting from the given
AggregationExpression
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DocumentOperators
-
Take the value resulting from the given
AggregationExpression
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.EvaluationOperators.Expr
-
Creates new
EvaluationOperators.Expr
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.EvaluationOperators
-
Take the value resulting from the given
AggregationExpression
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators
-
Take the value provided by the given
AggregationExpression
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Concat
-
Creates new
StringOperators.Concat
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfBytes
-
Start creating a new
StringOperators.IndexOfBytes
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfCP
-
Start creating a new
StringOperators.IndexOfCP
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.LTrim
-
Creates new
StringOperators.LTrim
using the result of the providedAggregationExpression
as input value. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
-
Creates new
StringOperators.RegexFind
using the result of the providedAggregationExpression
as input value. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFindAll
-
Creates new
StringOperators.RegexFindAll
using the result of the providedAggregationExpression
as input value. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RegexMatch
-
Creates new
StringOperators.RegexMatch
using the result of the providedAggregationExpression
as input value. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceAll
-
Creates new
StringOperators.ReplaceAll
using the result of the providedAggregationExpression
as input value. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceOne
-
Creates new
StringOperators.ReplaceOne
using the result of the providedAggregationExpression
as input value. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.RTrim
-
Creates new
StringOperators.RTrim
using the result of the providedAggregationExpression
as input value. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Split
-
Start creating a new
StringOperators.Split
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.StrCaseCmp
-
Creates new
StringOperators.StrCaseCmp
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Substr
-
Creates new
StringOperators.Substr
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.SubstrCP
-
Creates new
StringOperators.SubstrCP
. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators.Trim
-
Creates new
StringOperators.Trim
using the result of the providedAggregationExpression
as input value. - valueOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.StringOperators
-
Take the array referenced by given fieldReference.
- valueOfToArray(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectToArray
-
Creates new
aggregation expression
that takes the value pointed to by givenfieldReference
and converts it to an array. - valueOfToArray(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ObjectOperators.ObjectToArray
-
Creates new
aggregation expression
that takes the result value of the givenexpression
and converts it to an array. - ValueProvider - Interface in org.springframework.data.mongodb.util.json
-
A value provider to retrieve bindable values by their parameter index.
- values() - Method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch
- values() - Static method in enum class org.springframework.data.mongodb.core.aggregation.AggregationOptions.DomainTypeMapping
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.aggregation.ArithmeticOperators.AngularUnit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.Variable
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation.Granularities
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnits
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.aggregation.OutOperation.OutMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnits
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.aggregation.SystemVariable
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.BulkOperations.BulkMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.convert.NoOpDbRefResolver
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.index.GeoSpatialIndexType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.index.IndexDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.mapping.Field.Write
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.mapping.FieldType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.mapping.MongoPersistentProperty.PropertyToFieldNameConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.mapping.ShardingStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.mapping.Unwrapped.OnEmpty
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.messaging.Task.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.MongoActionOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.query.Meta.CursorOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.springframework.data.mongodb.core.query.Meta
-
Get
Iterable
of set meta values. - values() - Static method in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator.MatchMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.query.MongoRegexCreator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.query.Term.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.query.Update.Position
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.spel.MethodReferenceNode.AggregationMethodReference.ArgumentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.timeseries.Granularity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.core.WriteResultChecking
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.mongodb.SessionSynchronization
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VariableOperators - Class in org.springframework.data.mongodb.core.aggregation
-
Gateway to variable aggregation operations.
- VariableOperators() - Constructor for class org.springframework.data.mongodb.core.aggregation.VariableOperators
- VariableOperators.Let - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$let
that bindsAggregationExpression
to variables for use in the specifiedin
expression, and returns the result of the expression. - VariableOperators.Let.ExpressionVariable - Class in org.springframework.data.mongodb.core.aggregation
- VariableOperators.Let.LetBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- VariableOperators.Map - Class in org.springframework.data.mongodb.core.aggregation
-
AggregationExpression
for$map
. - VariableOperators.Map.AsBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- VariableOperators.Map.FunctionBuilder - Interface in org.springframework.data.mongodb.core.aggregation
- variant(String) - Method in class org.springframework.data.mongodb.core.query.Collation.CollationLocale
-
Define language variant.
- verbose(boolean) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
-
Deprecated.Flag to set that will provide statistics on job execution time.
- verify() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
- verify() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
-
Verify the actual
QueryMethod
is valid in terms of supported return and parameter types. - verify() - Method in class org.springframework.data.mongodb.repository.query.ReactiveMongoQueryMethod
- version() - Static method in class org.springframework.data.mongodb.SpringDataMongoDB
-
Fetches the "Implementation-Version" manifest attribute from the jar file.
- ViewOptions - Class in org.springframework.data.mongodb.core
-
Immutable object holding additional options to be applied when creating a MongoDB views.
- ViewOptions() - Constructor for class org.springframework.data.mongodb.core.ViewOptions
-
Creates new instance of
ViewOptions
.
W
- warnOnValidationError() - Method in class org.springframework.data.mongodb.core.CollectionOptions
-
Create new
CollectionOptions
with already given settings andvalidationAction
set toValidationAction.WARN
. - watchCollection(Class<?>) - Method in interface org.springframework.data.mongodb.core.ReactiveChangeStreamOperation.ChangeStreamWithCollection
-
Set the the collection to watch.
- watchCollection(String) - Method in interface org.springframework.data.mongodb.core.ReactiveChangeStreamOperation.ChangeStreamWithCollection
-
Explicitly set the name of the collection to watch.
Skip this step to watch all collections within the database. - week() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the week of the year for a date as a number between 0 and 53. - week(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Week
-
Creates new
DateOperators.Week
. - WEEK - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnits
- WEEK - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnits
- weekOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Week
-
Creates new
DateOperators.Week
. - weekOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Week
-
Creates new
DateOperators.Week
. - weight() - Element in annotation interface org.springframework.data.mongodb.core.index.TextIndexed
-
Defines the significance of the filed relative to other indexed fields.
- when(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond
-
Start creating new
ConditionalOperators.Cond
by providing the field reference used inif
. - when(String) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond.WhenBuilder
- when(String) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators
-
Take the field referenced by given fieldReference.
- when(Document) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond
-
Start creating new
ConditionalOperators.Cond
by providing the boolean expression used inif
. - when(Document) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond.WhenBuilder
- when(Document) - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation.RedactOperationBuilder
-
Specify the evaluation condition.
- when(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond
- when(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond.WhenBuilder
- when(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Switch.CaseOperator
- when(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators
-
Take the value resulting from the given expression.
- when(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation.RedactOperationBuilder
-
Specify the evaluation condition.
- when(CriteriaDefinition) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond
- when(CriteriaDefinition) - Method in interface org.springframework.data.mongodb.core.aggregation.ConditionalOperators.Cond.WhenBuilder
- when(CriteriaDefinition) - Static method in class org.springframework.data.mongodb.core.aggregation.ConditionalOperators
-
Take the value resulting from the given criteriaDefinition.
- when(CriteriaDefinition) - Method in class org.springframework.data.mongodb.core.aggregation.RedactOperation.RedactOperationBuilder
-
Specify the evaluation condition.
- whenDocumentsDontMatch(MergeOperation.WhenDocumentsDontMatch) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
The action to take place when documents do not already exist in the target collection.
- whenDocumentsMatch(MergeOperation.WhenDocumentsMatch) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
The action to take place when documents already exist in the target collection.
- whenDocumentsMatchApply(Aggregation) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
The
action
to take place when documents already exist in the target collection. - whenMatched(MergeOperation.WhenDocumentsMatch) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
The action to take place when documents already exist in the target collection.
- whenMatchedOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsMatch
- whenNotMatched(MergeOperation.WhenDocumentsDontMatch) - Method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.MergeOperationBuilder
-
The action to take place when documents do not already exist in the target collection.
- whenNotMatchedOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.MergeOperation.WhenDocumentsDontMatch
-
Factory method creating
MergeOperation.WhenDocumentsDontMatch
from avalue
literal. - where(String) - Static method in class org.springframework.data.mongodb.core.query.Criteria
-
Static factory method to create a Criteria using the provided key
- whereContentType() - Static method in class org.springframework.data.mongodb.gridfs.GridFsCriteria
-
Creates a
GridFsCriteria
for restrictions on the file's content type. - whereFilename() - Static method in class org.springframework.data.mongodb.gridfs.GridFsCriteria
-
Creates a
GridFsCriteria
for restrictions on the file's name. - whereMetaData() - Static method in class org.springframework.data.mongodb.gridfs.GridFsCriteria
-
Creates a
GridFsCriteria
for restrictions on the file's metadata. - whereMetaData(String) - Static method in class org.springframework.data.mongodb.gridfs.GridFsCriteria
-
Creates a
GridFsCriteria
for restrictions on a single file's metadata item. - WildcardIndex - Class in org.springframework.data.mongodb.core.index
-
WildcardIndex
is a specificIndex
that can be used to include all fields into an index based on the$**" : 1
pattern on a root object (the one typically carrying theDocument
annotation). - WildcardIndex() - Constructor for class org.springframework.data.mongodb.core.index.WildcardIndex
-
Create a new instance of
WildcardIndex
using$**
. - WildcardIndex(String) - Constructor for class org.springframework.data.mongodb.core.index.WildcardIndex
-
Create a new instance of
WildcardIndex
for the given path. - WildcardIndexed - Annotation Interface in org.springframework.data.mongodb.core.index
-
Annotation for an entity or property that should be used as key for a Wildcard Index.
- wildcardProjection() - Element in annotation interface org.springframework.data.mongodb.core.index.WildcardIndexed
-
Explicitly specify sub fields to be in-/excluded as a
prasable
String. - wildcardProjection(Map<String, Object>) - Method in class org.springframework.data.mongodb.core.index.WildcardIndex
-
Set the fields to be in-/excluded from indexing via
wildcardProjection
. - wildcardProjectionExclude(String...) - Method in class org.springframework.data.mongodb.core.index.WildcardIndex
-
Add fields to be excluded from indexing via
wildcardProjection
. - wildcardProjectionInclude(String...) - Method in class org.springframework.data.mongodb.core.index.WildcardIndex
-
Add fields to be included from indexing via
wildcardProjection
. - WindowOutput(SetWindowFieldsOperation.ComputedField) - Constructor for class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowOutput
-
Create a new output containing the single given
field
. - with(String) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
-
Returns a new
QueryMapper.Field
with the given name. - with(String) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
- with(Pageable) - Method in class org.springframework.data.mongodb.core.query.NearQuery
-
Configures the
Pageable
to use. - with(Pageable) - Method in class org.springframework.data.mongodb.core.query.Query
-
Sets the given pagination information on the
Query
instance. - with(Sort) - Method in class org.springframework.data.mongodb.core.query.Query
-
Adds a
Sort
to theQuery
instance. - with(MapReduceOptions) - Method in interface org.springframework.data.mongodb.core.ExecutableMapReduceOperation.MapReduceWithOptions
-
Deprecated.Set additional options to apply to the mapReduce operation.
- with(MapReduceOptions) - Method in interface org.springframework.data.mongodb.core.ReactiveMapReduceOperation.MapReduceWithOptions
-
Set additional options to apply to the mapReduce operation.
- with(TypedJsonSchemaObject) - Method in class org.springframework.data.mongodb.core.schema.JsonSchemaProperty.JsonSchemaPropertyBuilder
-
Configure a
TypedJsonSchemaObject
for the property. - with(MongoDatabaseFactory) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- withAdditionalField(String) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
- withAlias(String) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperationSupport.OperationOutput
-
Creates a new instance of this
BucketOperationSupport.OperationOutput
with the given alias. - withBits(int) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
- withBoundaries(Object...) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperation
-
Configures boundaries and return a new
BucketOperation
. - withBuckets(int) - Method in class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation
-
Configures a number of bucket buckets and return a new
BucketAutoOperation
. - withBucketSize(double) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
-
Deprecated.since MongoDB server version 4.4
- withBulkMode(BulkOperations.BulkMode) - Method in interface org.springframework.data.mongodb.core.ExecutableInsertOperation.InsertWithBulkMode
-
Define the
BulkOperations.BulkMode
to use for bulk insert operation. - withCodecRegistry(CodecRegistry) - Method in class org.springframework.data.mongodb.BindableMongoExpression
-
Provide the
CodecRegistry
used to convert expressions. - withDefaultBucket(Object) - Method in class org.springframework.data.mongodb.core.aggregation.BucketOperation
-
Configures a default bucket literal and return a new
BucketOperation
. - withDefaultLanguage(String) - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
-
Define the default language to be used when indexing documents.
- withDocument() - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootOperationBuilder
-
Defines a root document replacement based on a composable document that is empty initially.
- withDocument(Document) - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootOperationBuilder
-
Defines a root document replacement based on a composable document given document.
- withFormat(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromString
-
Optionally set the date format to use.
- withGranularity(BucketAutoOperation.Granularity) - Method in class org.springframework.data.mongodb.core.aggregation.BucketAutoOperation
-
Configures
granularity
that specifies the preferred number series to use to ensure that the calculated boundary edges end on preferred round numbers or their powers of 10 and return a newBucketAutoOperation
. - withHint(String) - Method in class org.springframework.data.mongodb.core.query.Query
-
Configures the query to use the given hint when being executed.
- withHint(Document) - Method in class org.springframework.data.mongodb.core.query.Query
-
Configures the query to use the given
hint
when being executed. - withIgnoreCase() - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- withIgnoreCase(boolean) - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- withIgnoreCase(String...) - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- withIgnoreNullValues() - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- withIgnorePaths(String...) - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- within(Range<? extends Number>) - Method in class org.springframework.data.mongodb.core.schema.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty
- within(Range<? extends Number>) - Method in class org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.NumericJsonSchemaObject
-
Set the
Range
of valid field values translating to minimum, exclusiveMinimum, maximum and exclusiveMaximum. - within(Range<Long>) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.IndexOfArray
-
Lookup within a given range.
- within(Range<Long>) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfBytes
-
Optionally define the substring search start and end position.
- within(Range<Long>) - Method in class org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfCP
-
Optionally define the substring search start and end position.
- within(Shape) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a geospatial criterion using a $geoWithin operation.
- within(SetWindowFieldsOperation.Window) - Method in interface org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.WindowChoice
-
Specify calculation boundaries.
- withIncludeNullValues() - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- withInitialValue(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.ArrayOperators.Reduce.InitialValueBuilder
-
Define the initial cumulative value set before in is applied to the first element of the input array.
- withInnerRing(List<Point>) - Method in class org.springframework.data.mongodb.core.geo.GeoJsonPolygon
- withInnerRing(Point, Point, Point, Point, Point...) - Method in class org.springframework.data.mongodb.core.geo.GeoJsonPolygon
-
Creates a new
GeoJsonPolygon
with an inner ring defined be the givenPoint
s. - withInnerRing(GeoJsonLineString) - Method in class org.springframework.data.mongodb.core.geo.GeoJsonPolygon
-
Creates a new
GeoJsonPolygon
with an inner ring defined be the givenGeoJsonLineString
. - withinSphere(Circle) - Method in class org.springframework.data.mongodb.core.query.Criteria
-
Creates a geospatial criterion using a $geoWithin $centerSphere operation.
- withLanguageOverride(String) - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
-
Define field for language override.
- withMatcher(String, ExampleMatcher.GenericPropertyMatcher) - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- withMatcher(String, ExampleMatcher.MatcherConfigurer<ExampleMatcher.GenericPropertyMatcher>) - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- withMax(int) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
- withMin(int) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
- withNullHandler(ExampleMatcher.NullHandler) - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- withOptions(Consumer<ChangeStreamOptions.ChangeStreamOptionsBuilder>) - Method in interface org.springframework.data.mongodb.core.ReactiveChangeStreamOperation.ChangeStreamWithOptions
-
Provide some options via the callback by modifying the given
ChangeStreamOptions.ChangeStreamOptionsBuilder
. - withOptions(AggregationOptions) - Method in class org.springframework.data.mongodb.core.aggregation.Aggregation
-
Returns a copy of this
Aggregation
with the givenAggregationOptions
set. - withOptions(AggregationOptions) - Method in class org.springframework.data.mongodb.core.aggregation.TypedAggregation
- withOptions(FindAndModifyOptions) - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.FindAndModifyWithOptions
-
Explicitly define
FindAndModifyOptions
for theUpdate
. - withOptions(FindAndModifyOptions) - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.FindAndModifyWithOptions
-
Explicitly define
FindAndModifyOptions
for theUpdate
. - withOptions(FindAndReplaceOptions) - Method in interface org.springframework.data.mongodb.core.ExecutableUpdateOperation.FindAndReplaceWithOptions
-
Explicitly define
FindAndReplaceOptions
for theUpdate
. - withOptions(FindAndReplaceOptions) - Method in interface org.springframework.data.mongodb.core.ReactiveUpdateOperation.FindAndReplaceWithOptions
-
Explicitly define
FindAndReplaceOptions
for theUpdate
. - withoutType() - Method in class org.springframework.data.mongodb.core.schema.JsonSchemaProperty.JsonSchemaPropertyBuilder
- withPath(ObjectPath) - Method in interface org.springframework.data.mongodb.core.convert.MappingMongoConverter.ConversionContext
-
Create a new
MappingMongoConverter.ConversionContext
withcurrentPath
applied. - withPath(ObjectPath) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter.DefaultConversionContext
- withSession(ClientSession) - Method in class org.springframework.data.mongodb.core.MongoDatabaseFactorySupport
- withSession(ClientSession) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Obtain a
ClientSession
bound instance ofMongoOperations
. - withSession(ClientSession) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- withSession(ClientSession) - Method in interface org.springframework.data.mongodb.MongoDatabaseFactory
-
Obtain a
ClientSession
bound instance ofMongoDatabaseFactory
returningMongoDatabase
instances that are aware and bound to the given session. - withSession(ClientSessionOptions) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Obtain a
session
bound instance ofSessionScoped
binding a newClientSession
with given sessionOptions to each and every command issued against MongoDB. - withSession(ClientSessionOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
- withSession(ClientSessionOptions) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Obtain a
session
bound instance ofSessionScoped
binding a newClientSession
with given sessionOptions to each and every command issued against MongoDB. - withSession(ClientSessionOptions) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- withSession(ClientSessionOptions) - Method in interface org.springframework.data.mongodb.MongoDatabaseFactory
-
Obtain a
ClientSession
bound instance ofMongoDatabaseFactory
returningMongoDatabase
instances that are aware and bound to a new session with givenoptions
. - withSession(ClientSession) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Obtain a
ClientSession
bound instance ofReactiveMongoOperations
. - withSession(ClientSession) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- withSession(ClientSession) - Method in class org.springframework.data.mongodb.core.SimpleReactiveMongoDatabaseFactory
- withSession(ClientSession) - Method in interface org.springframework.data.mongodb.ReactiveMongoDatabaseFactory
-
Obtain a
ClientSession
bound instance ofReactiveMongoDatabaseFactory
returningMongoDatabase
instances that are aware and bound to the given session. - withSession(Supplier<ClientSession>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
-
Obtain a
session
bound instance ofSessionScoped
binding theClientSession
provided by the givenSupplier
to each and every command issued against MongoDB. - withSession(Supplier<ClientSession>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Obtain a
session
bound instance ofSessionScoped
binding theClientSession
provided by the givenSupplier
to each and every command issued against MongoDB. - withSession(Publisher<ClientSession>) - Method in interface org.springframework.data.mongodb.core.ReactiveMongoOperations
-
Obtain a
session
bound instance ofReactiveSessionScoped
binding theClientSession
provided by the givenPublisher
to each and every command issued against MongoDB. - withSession(Publisher<ClientSession>) - Method in class org.springframework.data.mongodb.core.ReactiveMongoTemplate
- withSimpleCollation() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
-
Configure to use simple
Collation
. - withStepSize(long) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.RangeOperator
- withStringMatcher(ExampleMatcher.StringMatcher) - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateAdd
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateDiff
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromPartsOperatorFactory
- withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromString
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Create a new
DateOperators.DateOperatorFactory
bound to a givenDateOperators.Timezone
.
NOTE: Requires Mongo 3.6 or later. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateSubtract
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToParts
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateToString
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateTrunc
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfMonth
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfWeek
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DayOfYear
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Hour
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDateFromParts
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoDayOfWeek
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoWeek
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.IsoWeekYear
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Millisecond
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Minute
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Month
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Second
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.TimezonedDateAggregationExpression
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Week
-
Optionally set the
DateOperators.Timezone
to use. - withTimezone(DateOperators.Timezone) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Year
-
Optionally set the
DateOperators.Timezone
to use. - withTransformer(String, ExampleMatcher.PropertyValueTransformer) - Method in class org.springframework.data.mongodb.core.query.UntypedExampleMatcher
- withTypes(Class<?>...) - Method in interface org.springframework.data.mongodb.core.MongoJsonSchemaCreator.PropertySpecifier
-
Set additional type parameters for polymorphic ones.
- withValue(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.AddFieldsOperation.AddFieldsOperationBuilder.ValueAppender
-
Define the value to assign as is.
- withValueOf(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.AddFieldsOperation.AddFieldsOperationBuilder.ValueAppender
-
Define the value to assign.
- withValueOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootOperationBuilder
-
Defines a root document replacement based on a fieldName that resolves to a document.
- withValueOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootOperationBuilder
-
Defines a root document replacement based on a
AggregationExpression
that resolves to a document. - withValueOfExpression(String, Object...) - Method in interface org.springframework.data.mongodb.core.aggregation.AddFieldsOperation.AddFieldsOperationBuilder.ValueAppender
-
Adds a generic projection for the current field.
- withValueOfExpression(String, Object...) - Method in interface org.springframework.data.mongodb.core.aggregation.SetOperation.FieldAppender.ValueAppender
-
Adds a generic projection for the current field.
- WORD - Enum constant in enum class org.springframework.data.mongodb.core.query.Term.Type
- write() - Element in annotation interface org.springframework.data.mongodb.core.mapping.Field
-
Write rules when to include a property value upon conversion.
- write(Object, Bson) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Root entry method into write conversion.
- write(Object, TypeInformation<T>) - Method in class org.springframework.data.mongodb.core.convert.MongoConversionContext
- WriteConcernPropertyEditor - Class in org.springframework.data.mongodb.config
-
Parse a string to a
WriteConcern
. - WriteConcernPropertyEditor() - Constructor for class org.springframework.data.mongodb.config.WriteConcernPropertyEditor
- WriteConcernResolver - Interface in org.springframework.data.mongodb.core
-
A strategy interface to determine the
WriteConcern
to use for a givenMongoAction
. - writeInternal(Object, Bson, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- writeInternal(Object, Bson, TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
-
Internal write conversion method which should be used for nested invocations.
- writeMapInternal(Map<Object, Object>, Bson, TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- writeNullValues() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
- writeNullValues() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
- writeNullValues() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
-
Returns whether the property should be written to the database if its value is null.
- writePropertyInternal(Object, DocumentAccessor, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
- WriteResultChecking - Enum Class in org.springframework.data.mongodb.core
-
Enum to represent how strict the check of
WriteConcernResult
shall be. - writeTypeRestrictions(Document, Set<Class<?>>) - Method in class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
- writeTypeRestrictions(Document, Set<Class<?>>) - Method in interface org.springframework.data.mongodb.core.convert.MongoTypeMapper
-
Writes type restrictions to the given
Document
. - writeTypeTo(Bson, Object) - Method in class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper.DocumentTypeAliasAccessor
X
- xor(long) - Method in class org.springframework.data.mongodb.core.query.Update.BitwiseOperatorBuilder
-
Updates to the result of a bitwise xor operation between the current value and the given one.
Y
- year() - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateOperatorFactory
-
Creates new
AggregationExpression
that returns the year portion of a date. - year(Object) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts.DateFromPartsWithYear
-
Set the year to the given value which must resolve to a calendar year.
- year(Object) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromPartsOperatorFactory
-
Set the year to the given value which must resolve to a calendar year.
- year(Object) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Year
-
Creates new
DateOperators.Year
. - YEAR - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.DensifyOperation.DensifyUnits
- YEAR - Enum constant in enum class org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowUnits
- yearOf(String) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts.DateFromPartsWithYear
-
Set the year to the value resolved by following the given
field reference
. - yearOf(String) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromPartsOperatorFactory
-
Set the year to the value resolved by following the given
field reference
. - yearOf(String) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Year
-
Creates new
DateOperators.Year
. - yearOf(AggregationExpression) - Method in interface org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromParts.DateFromPartsWithYear
-
Set the year to the result of the given
expression
. - yearOf(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.DateOperators.DateFromPartsOperatorFactory
-
Set the year to the result of the given
expression
. - yearOf(AggregationExpression) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators.Year
-
Creates new
DateOperators.Year
.
Z
- zip(Object...) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Zip.ZipBuilder
-
Creates new
ArrayOperators.Zip
that transposes an array of input arrays so that the first element of the output array would be an array containing, the first element of the first input array, the first element of the second input array, etc. - Zip(Map<String, Object>) - Constructor for class org.springframework.data.mongodb.core.aggregation.ArrayOperators.Zip
- zipWith(Object...) - Method in class org.springframework.data.mongodb.core.aggregation.ArrayOperators.ArrayOperatorFactory
-
Creates new
AggregationExpression
that transposes an array of input arrays so that the first element of the output array would be an array containing, the first element of the first input array, the first element of the second input array, etc. - zonedDateOf(String, DateOperators.Timezone) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators
-
Take the date referenced by given fieldReference.
- zonedDateOf(AggregationExpression, DateOperators.Timezone) - Static method in class org.springframework.data.mongodb.core.aggregation.DateOperators
-
Take the date resulting from the given
AggregationExpression
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form