Skip navigation links
Spring Data MongoDB
A B C D E F G H I J K L M N O P Q R S T U V W X Y 

A

abbreviateFieldNames() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
Configures whether to abbreviate field names for domain objects by configuring a CamelCaseAbbreviatingFieldNamingStrategy on the MongoMappingContext instance created.
AbstractDeleteEvent<T> - Class in org.springframework.data.mongodb.core.mapping.event
Base class for delete events.
AbstractDeleteEvent(DBObject, Class<T>) - Constructor for class org.springframework.data.mongodb.core.mapping.event.AbstractDeleteEvent
Creates a new AbstractDeleteEvent for the given DBObject and type.
AbstractMongoConfiguration - Class in org.springframework.data.mongodb.config
Base class for Spring Data MongoDB configuration using JavaConfig.
AbstractMongoConfiguration() - Constructor for class org.springframework.data.mongodb.config.AbstractMongoConfiguration
 
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 given GenericConversionService.
AbstractMongoEventListener<E> - Class in org.springframework.data.mongodb.core.mapping.event
Base class to implement domain class specific ApplicationListeners.
AbstractMongoEventListener() - Constructor for class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
AbstractMongoQuery - Class in org.springframework.data.mongodb.repository.query
Base class for RepositoryQuery implementations for Mongo.
AbstractMongoQuery(MongoQueryMethod, MongoOperations) - Constructor for class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
Creates a new AbstractMongoQuery from the given MongoQueryMethod and MongoOperations.
AbstractMonitor - Class in org.springframework.data.mongodb.monitor
Base class to encapsulate common configuration settings when connecting to a database
AbstractMonitor() - Constructor for class org.springframework.data.mongodb.monitor.AbstractMonitor
 
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 current Query.
addCustomTypeKeyIfNecessary(TypeInformation<?>, Object, DBObject) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Adds custom type information to the given DBObject if necessary.
addFieldOperation(String, String, Object) - Method in class org.springframework.data.mongodb.core.query.Update
 
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
 
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
 
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(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(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, Object) - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
 
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.Update
Update using the $addToSet update modifier
AddToSetBuilder(String) - Constructor for class org.springframework.data.mongodb.core.query.Update.AddToSetBuilder
 
AfterConvertEvent<E> - Class in org.springframework.data.mongodb.core.mapping.event
 
AfterConvertEvent(DBObject, E) - Constructor for class org.springframework.data.mongodb.core.mapping.event.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(DBObject, Class<T>) - Constructor for class org.springframework.data.mongodb.core.mapping.event.AfterDeleteEvent
Creates a new AfterDeleteEvent for the given DBObject and type.
AfterLoadEvent<T> - Class in org.springframework.data.mongodb.core.mapping.event
Event to be triggered after loading DBObjects to be mapped onto a given type.
AfterLoadEvent(DBObject, Class<T>) - Constructor for class org.springframework.data.mongodb.core.mapping.event.AfterLoadEvent
Creates a new AfterLoadEvent for the given DBObject and type.
afterPropertiesSet() - Method in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
 
afterPropertiesSet() - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
 
AfterSaveEvent<E> - Class in org.springframework.data.mongodb.core.mapping.event
 
AfterSaveEvent(E, DBObject) - Constructor for class org.springframework.data.mongodb.core.mapping.event.AfterSaveEvent
 
aggregate(TypedAggregation<?>, String, Class<O>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Execute an aggregation operation.
aggregate(TypedAggregation<?>, Class<O>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Execute an aggregation operation.
aggregate(Aggregation, Class<?>, Class<O>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Execute an aggregation operation.
aggregate(Aggregation, String, 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<?>, String, Class<O>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
aggregate(Aggregation, Class<?>, Class<O>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
aggregate(Aggregation, String, Class<O>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
aggregate(Aggregation, String, Class<O>, AggregationOperationContext) - 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(AggregationOperation...) - Constructor for class org.springframework.data.mongodb.core.aggregation.Aggregation
Creates a new Aggregation from the given AggregationOperations.
Aggregation(List<AggregationOperation>) - Constructor for class org.springframework.data.mongodb.core.aggregation.Aggregation
Creates a new Aggregation from the given AggregationOperations.
Aggregation(List<AggregationOperation>, AggregationOptions) - Constructor for class org.springframework.data.mongodb.core.aggregation.Aggregation
Creates a new Aggregation from the given AggregationOperations.
AggregationFunctionExpressions - Enum in org.springframework.data.mongodb.core.aggregation
An enum of supported AggregationExpressions in aggregation pipeline stages.
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, DBObject) - 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.
AggregationResults<T> - Class in org.springframework.data.mongodb.core.aggregation
Collects the results of executing an aggregation operation.
AggregationResults(List<T>, DBObject) - Constructor for class org.springframework.data.mongodb.core.aggregation.AggregationResults
Creates a new AggregationResults instance from the given mapped and raw results.
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.
allowDiskUse(boolean) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
Defines whether to off-load intensive sort-operations to disk.
and(ExposedFields.ExposedField) - Method in class org.springframework.data.mongodb.core.aggregation.ExposedFields
Creates a new ExposedFields adding the given ExposedFields.ExposedField.
and(String) - Method in class org.springframework.data.mongodb.core.aggregation.Fields
Creates a new Fields instance with a new Field of the given name added.
and(String, String) - Method in class org.springframework.data.mongodb.core.aggregation.Fields
 
and(Field) - Method in class org.springframework.data.mongodb.core.aggregation.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 given Operation.
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(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
 
and(Sort.Direction, String...) - Method in class org.springframework.data.mongodb.core.aggregation.SortOperation
 
and(Sort) - Method in class org.springframework.data.mongodb.core.aggregation.SortOperation
 
and(String) - Method in class org.springframework.data.mongodb.core.query.Criteria
Static factory method to create a Criteria using the provided key
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.
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
 
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(Criteria...) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates an 'and' criteria using the $and operator for all of the provided criteria.
APP_ID - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
append(LoggingEvent) - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
applicationContext - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
applicationId - Variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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 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.
asAggregationList(AggregationOperation...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
 
asList() - Method in class org.springframework.data.mongodb.core.geo.Sphere
Returns the Shape as a list of usually Double or Lists of Doubles.
AssertMetrics - Class in org.springframework.data.mongodb.monitor
JMX Metrics for assertions
AssertMetrics(Mongo) - Constructor for class org.springframework.data.mongodb.monitor.AssertMetrics
 
AssociationConverter(Association<MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.core.convert.QueryMapper.AssociationConverter
Creates a new QueryMapper.AssociationConverter for the given Association.
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.
AuditingEventListener - Class in org.springframework.data.mongodb.core.mapping.event
Event listener to populate auditing related fields on an entity about to be saved.
AuditingEventListener(ObjectFactory<IsNewAwareAuditingHandler>) - Constructor for class org.springframework.data.mongodb.core.mapping.event.AuditingEventListener
Creates a new AuditingEventListener using the given MappingContext and AuditingHandler provided by the given ObjectFactory.
AUTOGENERATED_ID_TYPES - Static variable in class org.springframework.data.mongodb.core.mapping.MongoSimpleTypes
 
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 given AggregationExpression.

B

background() - Method in class org.springframework.data.mongodb.core.index.Index
Build the index in background (non blocking).
BackgroundFlushingMetrics - Class in org.springframework.data.mongodb.monitor
JMX Metrics for Background Flushing
BackgroundFlushingMetrics(Mongo) - Constructor for class org.springframework.data.mongodb.monitor.BackgroundFlushingMetrics
 
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 given TypeInformation.
BasicMongoPersistentProperty - Class in org.springframework.data.mongodb.core.mapping
MongoDB specific MongoPersistentProperty implementation.
BasicMongoPersistentProperty(Field, PropertyDescriptor, MongoPersistentEntity<?>, SimpleTypeHolder, FieldNamingStrategy) - Constructor for class org.springframework.data.mongodb.core.mapping.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
 
BasicQuery(DBObject) - Constructor for class org.springframework.data.mongodb.core.query.BasicQuery
 
BasicQuery(String, String) - Constructor for class org.springframework.data.mongodb.core.query.BasicQuery
 
BasicQuery(DBObject, DBObject) - 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(DBObject) - 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
 
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) - Constructor for class org.springframework.data.mongodb.core.mapping.event.BeforeConvertEvent
 
BeforeDeleteEvent<T> - Class in org.springframework.data.mongodb.core.mapping.event
Event being thrown before a document is deleted.
BeforeDeleteEvent(DBObject, Class<T>) - Constructor for class org.springframework.data.mongodb.core.mapping.event.BeforeDeleteEvent
Creates a new BeforeDeleteEvent for the given DBObject and type.
BeforeSaveEvent<E> - Class in org.springframework.data.mongodb.core.mapping.event
 
BeforeSaveEvent(E, DBObject) - Constructor for class org.springframework.data.mongodb.core.mapping.event.BeforeSaveEvent
 
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.
bitwise(String) - Method in class org.springframework.data.mongodb.core.query.Update
The operator supports bitwise and, bitwise or, and bitwise xor operations.
BitwiseOperatorBuilder(Update, String) - Constructor for class org.springframework.data.mongodb.core.query.Update.BitwiseOperatorBuilder
BtreeIndexCounters - Class in org.springframework.data.mongodb.monitor
JMX Metrics for B-tree index counters
BtreeIndexCounters(Mongo) - Constructor for class org.springframework.data.mongodb.monitor.BtreeIndexCounters
 
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.index.TextIndexDefinition.TextIndexDefinitionBuilder
 
Builder() - Constructor for class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
 
builder() - Static method in class org.springframework.data.mongodb.core.index.TextIndexDefinition

C

CachingMongoPersistentProperty - Class in org.springframework.data.mongodb.core.mapping
CachingMongoPersistentProperty(Field, PropertyDescriptor, MongoPersistentEntity<?>, SimpleTypeHolder, FieldNamingStrategy) - Constructor for class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
call(String, Object...) - Method in interface org.springframework.data.mongodb.core.ScriptOperations
Call the JavaScript by its name.
CannotGetMongoDbConnectionException - Exception in org.springframework.data.mongodb
Exception being thrown in case we cannot connect to a MongoDB instance.
CannotGetMongoDbConnectionException(String, Throwable) - Constructor for exception org.springframework.data.mongodb.CannotGetMongoDbConnectionException
 
CannotGetMongoDbConnectionException(String) - Constructor for exception org.springframework.data.mongodb.CannotGetMongoDbConnectionException
 
CannotGetMongoDbConnectionException(String, String, UserCredentials) - Constructor for exception org.springframework.data.mongodb.CannotGetMongoDbConnectionException
 
close() - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
closeDB(DB) - Static method in class org.springframework.data.mongodb.core.MongoDbUtils
Deprecated.
since 1.7. The main use case for this method is to ensure that applications can read their own unacknowledged writes, but this is no longer so prevalent since the MongoDB Java driver version 3 started defaulting to acknowledged writes.
CollectionCallback<T> - Interface in org.springframework.data.mongodb.core
 
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(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Check to see if a collection with a given name exists.
collectionExists(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
collectionExists(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
collectionLayout - Variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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(Integer, Integer, Boolean) - Constructor for class org.springframework.data.mongodb.core.CollectionOptions
Constructs a new CollectionOptions instance.
collectionPattern - Variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
COMMAND - Static variable in class org.springframework.data.mongodb.core.geo.Sphere
 
comment(String) - Method in class org.springframework.data.mongodb.core.query.Query
 
CompoundIndex - Annotation Type 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(DBObject) - Constructor for class org.springframework.data.mongodb.core.index.CompoundIndexDefinition
Creates a new CompoundIndexDefinition for the given keys.
CompoundIndexes - Annotation Type in org.springframework.data.mongodb.core.index
 
ConnectionMetrics - Class in org.springframework.data.mongodb.monitor
JMX Metrics for Connections
ConnectionMetrics(Mongo) - Constructor for class org.springframework.data.mongodb.monitor.ConnectionMetrics
 
connectToMongo() - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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.
contentLength() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
 
conversions - Variable in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
 
conversionService - Variable in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
 
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 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.
convertId(Object) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
Converts the given raw id value into either ObjectId or String.
ConvertingParameterAccessor - Class in org.springframework.data.mongodb.repository.query
Custom ParameterAccessor that uses a MongoWriter 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 given MongoWriter 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.
convertSimpleOrDBObject(Object, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
Retriggers mapping if the given source is a DBObject or simply invokes the
convertToDbObject(CollectionOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
convertToMongoType(Object) - Method in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
 
convertToMongoType(Object, TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
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, 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.
count() - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
Generates an GroupOperation.GroupOperationBuilder for a $sum-expression.
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, 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, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Returns the number of documents for the given Query by querying the given collection using the given entity class to map the given Query.
count(Query, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
count(Query, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
count(Query, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
count(Predicate) - Method in class org.springframework.data.mongodb.repository.support.QueryDslMongoRepository
 
count() - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
create(String, Order) - Static method in class org.springframework.data.mongodb.core.index.IndexField
Deprecated.
use #create(String, Direction).
create(String, Sort.Direction) - Static method in class org.springframework.data.mongodb.core.index.IndexField
 
create(CreationalContext<T>, Class<T>, Object) - Method in class org.springframework.data.mongodb.repository.cdi.MongoRepositoryBean
 
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(Collection<?>, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Writes the given Collection using the given MongoPersistentProperty information.
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>, CollectionOptions) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Create a collect with a name based on the provided entity class using the options.
createCollection(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Create an uncapped collection with the provided name.
createCollection(String, CollectionOptions) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Create a collect with the provided name and options.
createCollection(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
createCollection(Class<T>, CollectionOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
createCollection(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
createCollection(String, CollectionOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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
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 given ConvertingParameterAccessor.
createCountQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
 
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
Creates a DBRef instance for the given DBRef annotation, MongoPersistentEntity and id.
createDbRef(DBRef, MongoPersistentEntity<?>, Object) - Method in class org.springframework.data.mongodb.core.convert.DefaultDbRefResolver
 
createDBRef(Object, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
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
createIndexDefinition(String, String, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver
createInstance() - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
 
createInstance() - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
 
createInstance() - Method in class org.springframework.data.mongodb.core.MongoFactoryBean
Deprecated.
 
createInstance() - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
 
createIsNewStrategyFactoryBeanDefinition(String, ParserContext, Element) - Static method in class org.springframework.data.mongodb.config.MappingMongoConverterParser
 
createMap(Map<Object, Object>, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Writes the given Map using the given MongoPersistentProperty information.
createMapEntry(QueryMapper.Field, Object) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
Creates a new Map.Entry for the given QueryMapper.Field with the given value.
createOutObject() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
 
createParameter(MethodParameter) - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
 
createParameters(Method) - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
 
createPersistentEntity(TypeInformation<T>) - Method in class org.springframework.data.mongodb.core.mapping.MongoMappingContext
 
createPersistentProperty(Field, PropertyDescriptor, BasicMongoPersistentEntity<?>, 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(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
Creates a Query instance using the given ParameterAccessor
createQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
 
createQuery(ConvertingParameterAccessor) - Method in class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
 
createRepositoryFactory() - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
 
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
 
CriteriaDefinition - Interface in org.springframework.data.mongodb.core.query
 
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.
currentTimestamp(String) - Method in class org.springframework.data.mongodb.core.query.Update
Update given key to current date using $currentDate : &#123; $type : "timestamp" &#125; modifier.
cursor(DBObject) - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
Additional options to the aggregation.
customConversions() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
Register custom Converters in a CustomConversions object if required.
CustomConversions - Class in org.springframework.data.mongodb.core.convert
Value object to capture custom conversion.
CustomConversions(List<?>) - Constructor for class org.springframework.data.mongodb.core.convert.CustomConversions
Creates a new CustomConversions instance registering the given converters.
CyclicPropertyReferenceException(String, Class<?>, String) - Constructor for exception org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver.CyclicPropertyReferenceException
 

D

database - Variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
DAY - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
db - Variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
DbCallback<T> - Interface in org.springframework.data.mongodb.core
 
dbList(Object...) - Static method in class org.springframework.data.mongodb.util.DBObjectUtils
 
DBObjectTypeAliasAccessor(String) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper.DBObjectTypeAliasAccessor
 
DBObjectUtils - Class in org.springframework.data.mongodb.util
 
DBObjectUtils() - Constructor for class org.springframework.data.mongodb.util.DBObjectUtils
 
DBRef - Annotation Type in org.springframework.data.mongodb.core.mapping
An annotation that indicates the annotated field is to be stored using a DBRef.
DbRefProxyHandler - Interface in org.springframework.data.mongodb.core.convert
 
DbRefResolver - Interface in org.springframework.data.mongodb.core.convert
Used to resolve associations annotated with DBRef.
dbRefResolver - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
DbRefResolverCallback - Interface in org.springframework.data.mongodb.core.convert
Callback interface to be used in conjunction with DbRefResolver.
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 resolves DBRefs by delegating to a DbRefResolverCallback than is able to generate lazy loading proxies.
DefaultDbRefResolver(MongoDbFactory) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultDbRefResolver
Creates a new DefaultDbRefResolver with the given MongoDbFactory.
DefaultIndexOperations - Class in org.springframework.data.mongodb.core
Default implementation of IndexOperations.
DefaultIndexOperations(MongoOperations, String) - Constructor for class org.springframework.data.mongodb.core.DefaultIndexOperations
Creates a new DefaultIndexOperations.
DefaultMongoTypeMapper - Class in org.springframework.data.mongodb.core.convert
Default implementation of MongoTypeMapper allowing configuration of the key to lookup and store type information in DBObject.
DefaultMongoTypeMapper() - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
 
DefaultMongoTypeMapper(String) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
 
DefaultMongoTypeMapper(String, MappingContext<? extends PersistentEntity<?, ?>, ?>) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
 
DefaultMongoTypeMapper(String, List<? extends TypeInformationMapper>) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
 
DefaultMongoTypeMapper.DBObjectTypeAliasAccessor - Class in org.springframework.data.mongodb.core.convert
TypeAliasAccessor to store aliases in a DBObject.
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(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(ID) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
delete(T) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
delete(Iterable<? extends T>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
deleteAll() - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
destroy() - Method in class org.springframework.data.mongodb.core.SimpleMongoDbFactory
Clean up the Mongo instance if it was created by the factory itself.
destroyInstance(Mongo) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
 
destroyInstance(Mongo) - Method in class org.springframework.data.mongodb.core.MongoFactoryBean
Deprecated.
 
distanceMultiplier(double) - Method in class org.springframework.data.mongodb.core.query.NearQuery
Configures a CustomMetric with the given multiplier.
distanceMultiplier(Metric) - Method in class org.springframework.data.mongodb.core.query.NearQuery
Deprecated.
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.
doCreateCollection(String, DBObject) - Method in class org.springframework.data.mongodb.core.MongoTemplate
Create the specified collection using the provided options
Document - Annotation Type in org.springframework.data.mongodb.core.mapping
Identifies a domain object to be persisted to MongoDB.
DocumentBacked - Interface in org.springframework.data.mongodb.crossstore
 
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.
doFind(String, DBObject, DBObject, 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, DBObject, DBObject, 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, DBObject, DBObject, Class<S>, CursorPreparer, MongoTemplate.DbObjectCallback<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
doFindAndDelete(String, Query, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
Retrieve and remove all documents matching the given query by calling MongoTemplate.find(Query, Class, String) and MongoTemplate.remove(Query, Class, String), whereas the Query for MongoTemplate.remove(Query, Class, String) is constructed out of the find result.
doFindAndModify(String, DBObject, DBObject, DBObject, Class<T>, Update, FindAndModifyOptions) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
doFindAndRemove(String, DBObject, DBObject, DBObject, 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, DBObject, DBObject, 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.
doInCollection(DBCollection) - Method in interface org.springframework.data.mongodb.core.CollectionCallback
 
doInDB(DB) - Method in interface org.springframework.data.mongodb.core.DbCallback
 
doInsert(String, T, MongoWriter<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
doInsertAll(Collection<? extends T>, MongoWriter<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
doInsertBatch(String, Collection<? extends T>, MongoWriter<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
doParse(Element, ParserContext, BeanDefinitionBuilder) - Method in class org.springframework.data.mongodb.config.MongoAuditingBeanDefinitionParser
 
doRemove(String, Query, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
doSave(String, T, MongoWriter<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
doUpdate(String, Query, Update, Class<?>, boolean, boolean) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
dropAllIndexes() - Method in class org.springframework.data.mongodb.core.DefaultIndexOperations
 
dropAllIndexes() - Method in interface org.springframework.data.mongodb.core.IndexOperations
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(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Drop the collection with the given name.
dropCollection(Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
dropCollection(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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 interface org.springframework.data.mongodb.core.IndexOperations
Drops an index from this collection.

E

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
elemMatch(Criteria) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a criterion using the $elemMatch operator
elemMatch(String, Criteria) - Method in class org.springframework.data.mongodb.core.query.Field
 
EnableMongoAuditing - Annotation Type in org.springframework.data.mongodb.config
Annotation to enable auditing in MongoDB via annotation configuration.
EnableMongoRepositories - Annotation Type in org.springframework.data.mongodb.repository.config
Annotation to activate MongoDB repositories.
ensureIndex(IndexDefinition) - Method in class org.springframework.data.mongodb.core.DefaultIndexOperations
 
ensureIndex(IndexDefinition) - Method in interface org.springframework.data.mongodb.core.IndexOperations
Ensure that an index for the provided IndexDefinition exists for the collection indicated by the entity class.
ensureNotIterable(Object) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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.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
 
equals(Object) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
 
equals(Object) - Method in class org.springframework.data.mongodb.core.query.BasicQuery
 
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.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
 
exclude(String) - Method in class org.springframework.data.mongodb.core.query.Field
 
ExecutableMongoScript - Class in org.springframework.data.mongodb.core.script
Value object for MongoDB JavaScript functions implementation that can be saved or directly executed.
ExecutableMongoScript(String) - Constructor for class org.springframework.data.mongodb.core.script.ExecutableMongoScript
execute(DbCallback<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Executes a DbCallback translating any exceptions as necessary.
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(String, CollectionCallback<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Executes the given CollectionCallback on the collection of the given name.
execute(DbCallback<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
execute(Class<?>, CollectionCallback<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
execute(String, CollectionCallback<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
execute(ExecutableMongoScript, Object...) - Method in interface org.springframework.data.mongodb.core.ScriptOperations
Executes the script by either calling it via its name or directly sending it.
execute(Object[]) - Method in class org.springframework.data.mongodb.repository.query.AbstractMongoQuery
 
executeCommand(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Execute the a MongoDB command expressed as a JSON string.
executeCommand(DBObject) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Execute a MongoDB command.
executeCommand(DBObject, int) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Deprecated.
since 1.7. Please use MongoOperations.executeCommand(DBObject, ReadPreference), as the MongoDB Java driver version 3 no longer supports this operation.
executeCommand(DBObject, ReadPreference) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Execute a MongoDB command.
executeCommand(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
executeCommand(DBObject) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
executeCommand(DBObject, int) - Method in class org.springframework.data.mongodb.core.MongoTemplate
Deprecated.
executeCommand(DBObject, ReadPreference) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
executeInSession(DbCallback<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Deprecated.
since 1.7 as the MongoDB Java driver version 3 does not longer support request boundaries via DB.requestStart() and DB.requestDone().
executeInSession(DbCallback<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
Deprecated.
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.
exists(Query, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Determine result of given Query contains at least one element.
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<?>, String) - 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, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
exists(Query, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
exists(boolean) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a criterion using the $exists operator.
exists(String) - Method in interface org.springframework.data.mongodb.core.ScriptOperations
Checks DB for existence of ServerSideJavaScript with given name.
exists(Predicate) - Method in class org.springframework.data.mongodb.repository.support.QueryDslMongoRepository
 
exists(ID) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
expire(long) - Method in class org.springframework.data.mongodb.core.index.Index
Specifies TTL in seconds.
expire(long, TimeUnit) - Method in class org.springframework.data.mongodb.core.index.Index
Specifies TTL with given TimeUnit.
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.
ExposedFields - Class in org.springframework.data.mongodb.core.aggregation
Value object to capture the fields exposed by an AggregationOperation.
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
Creates a new ExpressionNode from the given SpelNode and ExpressionState.
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, DBObject) - Constructor for class org.springframework.data.mongodb.core.spel.ExpressionTransformationContextSupport
Creates a new ExpressionTransformationContextSupport for the given ExpressionNodes and an optional previous operation.
ExpressionTransformer<T extends ExpressionTransformationContextSupport<?>> - Interface in org.springframework.data.mongodb.core.spel
SPI interface to implement components that can transfrom an ExpressionTransformationContextSupport into an object.
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.
extraOption(String, Object) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
Deprecated.
since 1.7.

F

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
 
Field - Interface in org.springframework.data.mongodb.core.aggregation
Abstraction for a field.
field(String) - Static method in class org.springframework.data.mongodb.core.aggregation.Fields
Creates a Field with the given name.
field(String, String) - Static method in class org.springframework.data.mongodb.core.aggregation.Fields
Creates a Field with the given name and target.
Field(String) - Constructor for class org.springframework.data.mongodb.core.convert.QueryMapper.Field
Creates a new DocumentField without meta-information but the given name.
Field - Annotation Type in org.springframework.data.mongodb.core.mapping
Annotation to define custom metadata for document fields.
Field - Class in org.springframework.data.mongodb.core.query
 
Field() - Constructor for class org.springframework.data.mongodb.core.query.Field
 
fieldNamingStrategy() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
Configures a FieldNamingStrategy on the MongoMappingContext instance created.
fields(String...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Creates a new Fields instance for the given field names.
Fields - Class in org.springframework.data.mongodb.core.aggregation
Value object to capture a list of Field instances.
fields(String...) - Static method in class org.springframework.data.mongodb.core.aggregation.Fields
Creates a new Fields instance for Fields with the given names.
fields() - Method in class org.springframework.data.mongodb.core.query.Query
 
FieldsExposingAggregationOperation - Interface in org.springframework.data.mongodb.core.aggregation
AggregationOperation that exposes new ExposedFields that can be used for later aggregation pipeline AggregationOperations.
finalizeFunction(String) - Method in class org.springframework.data.mongodb.core.mapreduce.GroupBy
 
finalizeFunction(String) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
Sets the finalize function
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>, 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>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
find(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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
 
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>, 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>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
findAll(Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
findAll() - Method in interface org.springframework.data.mongodb.repository.MongoRepository
 
findAll(Sort) - Method in interface org.springframework.data.mongodb.repository.MongoRepository
 
findAll(Predicate) - Method in class org.springframework.data.mongodb.repository.support.QueryDslMongoRepository
 
findAll(Predicate, OrderSpecifier<?>...) - Method in class org.springframework.data.mongodb.repository.support.QueryDslMongoRepository
 
findAll(Predicate, Sort) - Method in class org.springframework.data.mongodb.repository.support.QueryDslMongoRepository
 
findAll(OrderSpecifier<?>...) - Method in class org.springframework.data.mongodb.repository.support.QueryDslMongoRepository
 
findAll(Predicate, Pageable) - Method in class org.springframework.data.mongodb.repository.support.QueryDslMongoRepository
 
findAll(Pageable) - Method in class org.springframework.data.mongodb.repository.support.QueryDslMongoRepository
 
findAll(Sort) - Method in class org.springframework.data.mongodb.repository.support.QueryDslMongoRepository
 
findAll() - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
findAll(Iterable<ID>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
findAll(Pageable) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
findAll(Sort) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
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, 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>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Returns and removes all documents that match the provided query document criteria from the the collection used to store the entityClass.
findAllAndRemove(Query, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
findAllAndRemove(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
findAllAndRemove(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
findAndModify(Query, Update, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Triggers findAndModify to apply provided Update on documents matching Criteria of given Query.
findAndModify(Query, Update, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Triggers findAndModify to apply provided Update on documents matching Criteria of given Query.
findAndModify(Query, Update, FindAndModifyOptions, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Triggers findAndModify to apply provided Update on documents matching Criteria of given Query taking FindAndModifyOptions into account.
findAndModify(Query, Update, FindAndModifyOptions, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Triggers findAndModify to apply provided Update on documents matching Criteria of given Query taking FindAndModifyOptions into account.
findAndModify(Query, Update, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
findAndModify(Query, Update, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
findAndModify(Query, Update, FindAndModifyOptions, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
findAndModify(Query, Update, FindAndModifyOptions, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
FindAndModifyOptions - Class in org.springframework.data.mongodb.core
 
FindAndModifyOptions() - Constructor for class org.springframework.data.mongodb.core.FindAndModifyOptions
 
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>, 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>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
findAndRemove(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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>, 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>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
findById(Object, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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>, 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>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
findOne(Query, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
findOne(Query) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
Returns a single file matching the given query or null in case no file matches.
findOne(Query) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
findOne(Predicate) - Method in class org.springframework.data.mongodb.repository.support.QueryDslMongoRepository
 
findOne(ID) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
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 given AggregationExpression.
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.
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.
from(ExposedFields.ExposedField...) - Static method in class org.springframework.data.mongodb.core.aggregation.ExposedFields
Creates a new ExposedFields instance from the given ExposedFields.ExposedFields.
from(Field...) - Static method in class org.springframework.data.mongodb.core.aggregation.Fields
Creates a new Fields instance from the given Fields.
from(SpelNode, ExpressionState) - Static method in class org.springframework.data.mongodb.core.spel.ExpressionNode
Factory method to create ExpressionNode's according to the given SpelNode and ExpressionState.
from(SpelNode) - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
Creates a new ExpressionNode from the given SpelNode.
from(EntityPath<T>) - Method in class org.springframework.data.mongodb.repository.support.QuerydslRepositorySupport
Returns a MongodbQuery for the given EntityPath.
from(EntityPath<T>, String) - Method in class org.springframework.data.mongodb.repository.support.QuerydslRepositorySupport
Returns a MongodbQuery for the given EntityPath querying the given collection.
fromDBObject(DBObject, String...) - Static method in class org.springframework.data.mongodb.core.query.Update
Creates an Update instance from the given DBObject.

G

geo(String) - Static method in class org.springframework.data.mongodb.core.index.IndexField
Creates a geo IndexField for the given key.
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 (http://geojson.org/) format.
GeoJsonConfiguration - Class in org.springframework.data.mongodb.core
Configuration class to expose GeoJsonModule as a Spring bean.
GeoJsonConfiguration() - Constructor for class org.springframework.data.mongodb.core.GeoJsonConfiguration
 
GeoJsonGeometryCollection - Class in org.springframework.data.mongodb.core.geo
Defines a GeoJsonGeometryCollection that consists of a List of GeoJson objects.
GeoJsonGeometryCollection(List<GeoJson<?>>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonGeometryCollection
Creates a new GeoJsonGeometryCollection for the given GeoJson instances.
GeoJsonLineString - Class in org.springframework.data.mongodb.core.geo
GeoJsonLineString is defined as list of at least 2 Points.
GeoJsonLineString(List<Point>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonLineString
Creates a new GeoJsonLineString for the given Points.
GeoJsonLineString(Point, Point, Point...) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonLineString
Creates a new GeoJsonLineString for the given Points.
GeoJsonModule - Class in org.springframework.data.mongodb.core.geo
A Jackson Module to register custom JsonSerializer and JsonDeserializers for GeoJSON types.
GeoJsonModule() - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonModule
 
geoJsonModule() - Method in class org.springframework.data.mongodb.core.GeoJsonConfiguration
 
GeoJsonMultiLineString - Class in org.springframework.data.mongodb.core.geo
GeoJsonMultiLineString(List<Point>...) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonMultiLineString
Creates new GeoJsonMultiLineString for the given Points.
GeoJsonMultiLineString(List<GeoJsonLineString>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonMultiLineString
Creates new GeoJsonMultiLineString for the given GeoJsonLineStrings.
GeoJsonMultiPoint - Class in org.springframework.data.mongodb.core.geo
GeoJsonMultiPoint is defined as list of Points.
GeoJsonMultiPoint(List<Point>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
Creates a new GeoJsonMultiPoint for the given Points.
GeoJsonMultiPoint(Point, Point, Point...) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
Creates a new GeoJsonMultiPoint for the given Points.
GeoJsonMultiPolygon - Class in org.springframework.data.mongodb.core.geo
GeoJsonMultiPolygon is defined as a list of GeoJsonPolygons.
GeoJsonMultiPolygon(List<GeoJsonPolygon>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonMultiPolygon
Creates a new GeoJsonMultiPolygon for the given GeoJsonPolygons.
GeoJsonPoint - Class in org.springframework.data.mongodb.core.geo
GeoJson representation of Point.
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 given Point.
GeoJsonPolygon - Class in org.springframework.data.mongodb.core.geo
GeoJson representation of Polygon.
GeoJsonPolygon(Point, Point, Point, Point, Point...) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonPolygon
Creates new GeoJsonPolygon from the given Points.
GeoJsonPolygon(List<Point>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoJsonPolygon
Creates new GeoJsonPolygon from the given Points.
geoNear(NearQuery, String) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Creates a new GeoNearOperation instance from the given NearQuery and thedistanceField.
geoNear(NearQuery, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Returns GeoResults for all entities matching the given NearQuery.
geoNear(NearQuery, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Returns GeoResults for all entities matching the given NearQuery.
geoNear(NearQuery, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
geoNear(NearQuery, Class<T>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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 given NearQuery 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 Type in org.springframework.data.mongodb.core.index
Mark a field to be indexed using MongoDB's geospatial indexing feature.
GeoSpatialIndexType - Enum in org.springframework.data.mongodb.core.index
Geoposatial index type.
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.
getApplicationId() - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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.
getAuthenticationDatabaseName() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
Deprecated.
since 1.7. MongoClient should hold authentication data within MongoClient.getCredentialsList()
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
 
getBits() - Method in class org.springframework.data.mongodb.monitor.MemoryMetrics
 
getCapped() - Method in class org.springframework.data.mongodb.core.CollectionOptions
 
getCenter() - Method in class org.springframework.data.mongodb.core.geo.Sphere
Returns the center of the Circle.
getChild(int) - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
Returns the child ExpressionNode with the given index.
getClassLoader() - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
getCode() - Method in class org.springframework.data.mongodb.core.script.ExecutableMongoScript
Returns the actual script code.
getCode() - Method in class org.springframework.data.mongodb.core.script.NamedMongoScript
Returns the actual script code.
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(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Get a collection by name, creating it if it doesn't exist.
getCollection(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
getCollectionName() - Method in class org.springframework.data.mongodb.core.MongoAction
 
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() - 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
 
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
 
getCollectionPattern() - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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.query.Meta
 
getContentType() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
Returns the Resource's content type.
getConversionService() - Method in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
 
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 org.springframework.data.mongodb.core.core.convert.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
 
getCoordinates() - Method in class org.springframework.data.mongodb.core.geo.GeoJsonPolygon
 
getCount() - Method in class org.springframework.data.mongodb.core.mapreduce.GroupByResults
 
getCounts() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
 
getCredentials() - Method in exception org.springframework.data.mongodb.CannotGetMongoDbConnectionException
Returns the UserCredentials that were used when trying to connect to the MongoDB instance.
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 DBObject 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.
getCustomWriteTarget(Class<?>) - Method in class org.springframework.data.mongodb.core.convert.CustomConversions
Returns the target type to convert to in case we have a custom conversion registered to convert the given source type into a Mongo native one.
getCustomWriteTarget(Class<?>, Class<?>) - Method in class org.springframework.data.mongodb.core.convert.CustomConversions
Returns the target type we can readTargetWriteLocl an inject of the given source type to.
getDatabase() - Method in exception org.springframework.data.mongodb.CannotGetMongoDbConnectionException
Returns the name of the database trying to be accessed.
getDatabase() - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
getDatabaseName() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
Return the name of the database to connect to.
getDatabaseStats(String) - Method in class org.springframework.data.mongodb.core.MongoAdmin
 
getDatabaseStats(String) - Method in interface org.springframework.data.mongodb.core.MongoAdminOperations
 
getDB(Mongo, String) - Static method in class org.springframework.data.mongodb.core.MongoDbUtils
Obtains a DB connection for the given Mongo instance and database name
getDB(Mongo, String, UserCredentials) - Static method in class org.springframework.data.mongodb.core.MongoDbUtils
Deprecated.
since 1.7. The MongoClient itself should hold credentials within MongoClient.getCredentialsList().
getDB(Mongo, String, UserCredentials, String) - Static method in class org.springframework.data.mongodb.core.MongoDbUtils
Deprecated.
since 1.7. The MongoClient itself should hold credentials within MongoClient.getCredentialsList().
getDb() - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
getDb() - Method in class org.springframework.data.mongodb.core.SimpleMongoDbFactory
 
getDb(String) - Method in class org.springframework.data.mongodb.core.SimpleMongoDbFactory
 
getDb() - Method in interface org.springframework.data.mongodb.MongoDbFactory
Creates a default DB instance.
getDb(String) - Method in interface org.springframework.data.mongodb.MongoDbFactory
Creates a DB instance to access the database with the given name.
getDb(String) - Method in class org.springframework.data.mongodb.monitor.AbstractMonitor
 
getDBObject() - Method in class org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent
 
getDBRef() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
 
getDBRef() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
Returns the DBRef if the property is a reference.
getDefaultWriteConcern() - Method in class org.springframework.data.mongodb.core.MongoAction
 
getDeleteCount() - Method in class org.springframework.data.mongodb.monitor.OperationCounters
 
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
 
getDistanceIndex() - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
Deprecated.
since 1.7. Please use MongoParameters.getMaxDistanceIndex() instead.
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.MongoAction
 
getEmitCount() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
 
getEmitLoopTime() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
 
getEntityClass() - Method in class org.springframework.data.mongodb.core.MongoAction
Deprecated.
getEntityInformation() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
 
getEntityInformation(Class<T>) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
 
getEntityType() - Method in class org.springframework.data.mongodb.core.MongoAction
 
getExceptionTranslator() - Method in class org.springframework.data.mongodb.core.SimpleMongoDbFactory
 
getExceptionTranslator() - Method in interface org.springframework.data.mongodb.MongoDbFactory
Exposes a shared MongoExceptionTranslator.
getExtraOptions() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
Deprecated.
since 1.7
getFactoryInstance(MongoOperations) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
Creates and initializes a RepositoryFactorySupport instance.
getFallbackTypeFor(DBObject) - Method in class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
 
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
 
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 DBObject.
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 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.GroupOperation
 
getFields() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
 
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
 
getFilename() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
 
getFinalizeFunction() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
 
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.
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 ths inde 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
 
getGroupByObject() - Method in class org.springframework.data.mongodb.core.mapreduce.GroupBy
 
getHint() - Method in class org.springframework.data.mongodb.core.query.Query
 
getHits() - Method in class org.springframework.data.mongodb.monitor.BtreeIndexCounters
 
getHost() - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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.gridfs.GridFsResource
Returns the Resource's id.
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
 
getIdentifyingAnnotations() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
 
getIdentifyingTypes() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
 
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 interface org.springframework.data.mongodb.core.IndexOperations
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.Index
 
getIndexKeys() - Method in interface org.springframework.data.mongodb.core.index.IndexDefinition
 
getIndexKeys() - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver.IndexDefinitionHolder
 
getIndexKeys() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition
 
getIndexOptions() - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
 
getIndexOptions() - Method in class org.springframework.data.mongodb.core.index.Index
 
getIndexOptions() - Method in interface org.springframework.data.mongodb.core.index.IndexDefinition
 
getIndexOptions() - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexResolver.IndexDefinitionHolder
 
getIndexOptions() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition
 
getInfoOrLowerWriteConcern() - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
getInitialEntitySet() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
Scans the mapping base package for classes annotated with Document.
getInputCount() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
 
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
 
getJavaScriptMode() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
 
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
 
getKeys() - Method in class org.springframework.data.mongodb.core.mapreduce.GroupByResults
 
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.
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
 
getMappedFields(DBObject, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
Maps fields to retrieve to the MongoPersistentEntitys 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.Keyword, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
Returns the given DBObject representing a keyword by mapping the keyword's value.
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.
getMappedObject(DBObject) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperationContext
Returns the mapped DBObject, potentially converting the source considering mapping metadata etc.
getMappedObject(DBObject) - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
 
getMappedObject(DBObject, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
Replaces the property keys used in the given DBObject with the appropriate keys by using the PersistentEntity metadata.
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 Keywords into account
getMappedObjectForField(QueryMapper.Field, Object) - Method in class org.springframework.data.mongodb.core.convert.UpdateMapper
 
getMappedResults() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationResults
Returns the aggregation results.
getMappedSort(DBObject, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper
Maps fields used for sorting to the MongoPersistentEntitys 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.
getMappingBasePackage() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
Return the base package to scan for mapped Documents.
getMappingContext() - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
getMapTime() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
 
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
 
getMaxScan() - Method in class org.springframework.data.mongodb.core.query.Meta
 
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
 
getMeta() - Method in class org.springframework.data.mongodb.core.query.Query
 
getMethodName() - Method in class org.springframework.data.mongodb.core.spel.MethodReferenceNode
Returns the name of the method.
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
 
getModuleName() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
 
getModulePrefix() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
 
getMongoActionOperation() - Method in class org.springframework.data.mongodb.core.MongoAction
 
getMongoOperator() - Method in class org.springframework.data.mongodb.core.spel.OperatorNode
Returns the Mongo expression of the operator.
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.index.IndexInfo
 
getName() - Method in class org.springframework.data.mongodb.core.index.IndexPredicate
 
getName() - Method in class org.springframework.data.mongodb.core.script.NamedMongoScript
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.
getObjectType() - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
 
getObjectType() - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
 
getObjectType() - Method in class org.springframework.data.mongodb.core.MongoFactoryBean
Deprecated.
 
getObjectType() - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
 
getOptionsObject() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
 
getOrder() - Method in class org.springframework.data.mongodb.core.index.IndexField
Deprecated.
getOutputCollection() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
 
getOutputCollection() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
 
getOutputCount() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
 
getOutputDatabase() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
 
getOutputSharded() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
 
getOutputType() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
 
getPageable() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
 
getParameters() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
 
getParentNode() - Method in class org.springframework.data.mongodb.core.spel.ExpressionTransformationContextSupport
Returns the parent ExpressionNode or null if none available.
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.
getPersistentId(ChangeSetBacked, ChangeSet) - Method in class org.springframework.data.mongodb.crossstore.MongoChangeSetPersister
 
getPersistentState(Class<? extends ChangeSetBacked>, Object, ChangeSet) - Method in class org.springframework.data.mongodb.crossstore.MongoChangeSetPersister
 
getPort() - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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 operaton object or null if none available.
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
 
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
 
getQuery() - Method in class org.springframework.data.mongodb.core.MongoAction
 
getQueryCount() - Method in class org.springframework.data.mongodb.monitor.OperationCounters
 
getQueryLookupStrategy(QueryLookupStrategy.Key) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
 
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
 
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
 
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.GroupByResults
 
getRawResults() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
 
getReference(Field) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperationContext
Returns a ExposedFields.FieldReference for the given field or null if the context does not expose the given field.
getReference(String) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperationContext
Returns the ExposedFields.FieldReference for the field with the given name or null if the context does not expose a field with the given name.
getReference(Field) - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
 
getReference(String) - Method in class org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext
 
getRegular() - Method in class org.springframework.data.mongodb.monitor.AssertMetrics
 
getRepositoryBaseClass(RepositoryMetadata) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
 
getRepositoryFactoryClassName() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
 
getResets() - Method in class org.springframework.data.mongodb.monitor.BtreeIndexCounters
 
getResidentSpace() - Method in class org.springframework.data.mongodb.monitor.MemoryMetrics
 
getResource(String) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
Returns all GridFsResource with the given file name.
getResource(String) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
getResources(String) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
Returns all GridFsResources matching the given file name pattern.
getResources(String) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
getRestrictedTypes() - Method in class org.springframework.data.mongodb.core.query.Query
 
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
 
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
Returns the underlying ExecutableMongoScript.
getScriptNames() - Method in interface org.springframework.data.mongodb.core.ScriptOperations
Returns names of JavaScript functions that can be called.
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.
getServerUsed() - Method in class org.springframework.data.mongodb.core.mapreduce.GroupByResults
 
getShape() - Method in class org.springframework.data.mongodb.core.query.GeoCommand
 
getSimpleTypeHolder() - Method in class org.springframework.data.mongodb.core.convert.CustomConversions
Returns the underlying SimpleTypeHolder.
getSingleCriteriaObject() - Method in class org.springframework.data.mongodb.core.query.Criteria
 
getSize() - Method in class org.springframework.data.mongodb.core.CollectionOptions
 
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.
getSnapshot() - Method in class org.springframework.data.mongodb.core.query.Meta
 
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 class org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent
 
getTarget() - Method in interface org.springframework.data.mongodb.core.aggregation.Field
Returns the target of the field.
getTarget() - Method in interface org.springframework.data.mongodb.core.convert.LazyLoadingProxy
Initializes the proxy and returns the wrapped value.
getTargetRepository(RepositoryMetadata) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
 
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.
getTiming() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
 
getTotalMs() - Method in class org.springframework.data.mongodb.monitor.BackgroundFlushingMetrics
 
getTotalTime() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
 
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.
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 thw TypeMapper being used to write type information into DBObjects created with that converter.
getUniqueMappedResult() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationResults
Returns the unique mapped result.
getUpdateCount() - Method in class org.springframework.data.mongodb.monitor.OperationCounters
 
getUpdateObject() - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
 
getUpdateObject() - Method in class org.springframework.data.mongodb.core.query.Update
 
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
 
getUserCredentials() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
Deprecated.
since 1.7. MongoClient should hold authentication data within MongoClient.getCredentialsList()
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.
getValueInternal(MongoPersistentProperty, DBObject, SpELExpressionEvaluator, ObjectPath) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
getVersion() - Method in class org.springframework.data.mongodb.monitor.ServerInfo
 
getVirtualAddressSpace() - Method in class org.springframework.data.mongodb.monitor.MemoryMetrics
 
getWarning() - Method in class org.springframework.data.mongodb.monitor.AssertMetrics
 
getWarnOrHigherWriteConcern() - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
getWeight() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexedFieldSpec
Get the weight associated with the TextIndexDefinition.TextIndexedFieldSpec.
getWriteResult() - Method in exception org.springframework.data.mongodb.core.MongoDataIntegrityViolationException
Returns the WriteResult that caused the exception.
GlobalLockMetrics - Class in org.springframework.data.mongodb.monitor
JMX Metrics for Global Locks
GlobalLockMetrics(Mongo) - Constructor for class org.springframework.data.mongodb.monitor.GlobalLockMetrics
 
GridFsCriteria - Class in org.springframework.data.mongodb.gridfs
GridFs-specific helper class to define Criterias.
GridFsCriteria(String) - Constructor for class org.springframework.data.mongodb.gridfs.GridFsCriteria
Creates a new GridFsCriteria for the given key.
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
GridFSDBFile based Resource implementation.
GridFsResource(GridFSDBFile) - Constructor for class org.springframework.data.mongodb.gridfs.GridFsResource
Creates a new GridFsResource from the given GridFSDBFile.
GridFsTemplate - Class in org.springframework.data.mongodb.gridfs
GridFsOperations implementation to store content into MongoDB GridFS.
GridFsTemplate(MongoDbFactory, MongoConverter) - Constructor for class org.springframework.data.mongodb.gridfs.GridFsTemplate
Creates a new GridFsTemplate using the given MongoDbFactory and MongoConverter.
GridFsTemplate(MongoDbFactory, MongoConverter, String) - Constructor for class org.springframework.data.mongodb.gridfs.GridFsTemplate
Creates a new GridFsTemplate using the given MongoDbFactory and MongoConverter.
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 given Fields.
group(String, GroupBy, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Execute a group operation over the entire collection.
group(Criteria, String, GroupBy, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Execute a group operation restricting the rows to those which match the provided Criteria.
group(String, GroupBy, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
group(Criteria, String, GroupBy, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
GroupBy - Class in org.springframework.data.mongodb.core.mapreduce
Collects the parameters required to perform a group operation on a collection.
GroupBy(String...) - Constructor for class org.springframework.data.mongodb.core.mapreduce.GroupBy
 
GroupBy(String, boolean) - Constructor for class org.springframework.data.mongodb.core.mapreduce.GroupBy
 
GroupByResults<T> - Class in org.springframework.data.mongodb.core.mapreduce
Collects the results of executing a group operation.
GroupByResults(List<T>, DBObject) - Constructor for class org.springframework.data.mongodb.core.mapreduce.GroupByResults
 
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 given Fields.
GroupOperation(GroupOperation) - Constructor for class org.springframework.data.mongodb.core.aggregation.GroupOperation
Creates a new GroupOperation from the given GroupOperation.
GroupOperation.GroupOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
Builder for GroupOperations on a field.
gt(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a criterion using the $gt operator.
gte(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a criterion using the $gte operator.

H

handleAnyWriteResultErrors(WriteResult, DBObject, MongoActionOperation) - Method in class org.springframework.data.mongodb.core.MongoTemplate
Handles WriteResult errors based on the configured WriteResultChecking.
hasAnnotatedQuery() - Method in class org.springframework.data.mongodb.repository.query.MongoQueryMethod
Returns whether the method has an annotated query.
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.
hasCustomReadTarget(Class<?>, Class<?>) - Method in class org.springframework.data.mongodb.core.convert.CustomConversions
Returns whether we have a custom conversion registered to readTargetReadLock the given source into the given target type.
hasCustomWriteTarget(Class<?>) - Method in class org.springframework.data.mongodb.core.convert.CustomConversions
Returns whether we have a custom conversion registered to readTargetWriteLocl into a Mongo native type.
hasCustomWriteTarget(Class<?>, Class<?>) - Method in class org.springframework.data.mongodb.core.convert.CustomConversions
Returns whether we have a custom conversion registered to readTargetWriteLocl an object of the given source type into an object of the given Mongo native target type.
hasExplicitFieldName() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
 
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
 
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.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
 
hashCode() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
 
hashCode() - Method in class org.springframework.data.mongodb.core.query.BasicQuery
 
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.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
 
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
 
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.
hasValues() - Method in class org.springframework.data.mongodb.core.query.Meta
 
HOLDER - Static variable in class org.springframework.data.mongodb.core.mapping.MongoSimpleTypes
 
host - Variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
HOUR - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 

I

idMapper - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
in(Object...) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a criterion using the $in operator.
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, 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
 
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.
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
 
Index(String, Order) - Constructor for class org.springframework.data.mongodb.core.index.Index
Deprecated.
use #Index(String, Direction) instead.
Index.Duplicates - Enum in org.springframework.data.mongodb.core.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 in org.springframework.data.mongodb.core.index
 
Indexed - Annotation Type 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.
IndexInfo - Class in org.springframework.data.mongodb.core.index
 
IndexInfo(List<IndexField>, String, boolean, boolean, boolean) - Constructor for class org.springframework.data.mongodb.core.index.IndexInfo
Deprecated.
IndexInfo(List<IndexField>, String, boolean, boolean, boolean, String) - Constructor for class org.springframework.data.mongodb.core.index.IndexInfo
 
IndexOperations - Interface in org.springframework.data.mongodb.core
Index operations on a collection.
indexOps(String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Returns the operations that can be performed on indexes
indexOps(Class<?>) - 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(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
 
infoOrLowerWriteConcern - Variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
init() - Method in class org.springframework.data.mongodb.config.MongoNamespaceHandler
 
init() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigNamespaceHandler
 
initialDocument(String) - Method in class org.springframework.data.mongodb.core.mapreduce.GroupBy
 
initialDocument(DBObject) - Method in class org.springframework.data.mongodb.core.mapreduce.GroupBy
 
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.
insert(Object) - 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(Object, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Insert the object into the specified collection.
insert(Collection<? extends Object>, 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 Object>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Insert a list of objects into the specified collection in a single batch write to the database.
insert(Object) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
insert(Object, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
insert(Collection<? extends Object>, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
insert(Collection<? extends Object>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
insert(S) - Method in interface org.springframework.data.mongodb.repository.MongoRepository
Inserts the given a given entity.
insert(Iterable<S>) - Method in interface org.springframework.data.mongodb.repository.MongoRepository
Inserts the given entities.
insert(S) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
insert(Iterable<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
insertAll(Collection<? extends Object>) - 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 Object>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
insertDBObject(String, DBObject, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
insertDBObjectList(String, List<DBObject>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
instantiators - Variable in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
 
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
 
is(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a criterion using equality
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.
isAllowDiskUse() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
Enables writing to temporary files.
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 a DBRef 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
 
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.PartTreeMongoQuery
 
isCountQuery() - Method in class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
 
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 interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
Returns whether the property is a DBRef.
isDBTransactional(DB, Mongo) - Static method in class org.springframework.data.mongodb.core.MongoDbUtils
Return whether the given DB instance is transactional, that is, bound to the current thread by Spring's transaction facilities.
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.PartTreeMongoQuery
 
isDeleteQuery() - Method in class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
 
isDropDuplicates() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
 
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
Gets the value of the property explicitIdProperty.
isExplicitIdProperty() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
Gets the value of the property explicitIdProperty.
isExplicitLanguageProperty() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
Gets the value of the property explicitLanguageProperty.
isExplicitLanguageProperty() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
Gets the value of the property explicitLanguageProperty.
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.
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
 
isIdProperty() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
Gets the value of the property idProperty.
isIdProperty() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
Gets the value of the property idProperty.
isIndexCreatorFor(MappingContext<?, ?>) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator
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.
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
Gets the value of the property languageProperty.
isLanguageProperty() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
Gets the value of the property languageProperty.
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
 
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
 
isMongo3Driver() - Static method in class org.springframework.data.mongodb.util.MongoClientVersion
 
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 a DBObject with a keyword key.
isNewStrategyFactory() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
isOfType(Class<?>) - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
Returns whether the current ExpressionNode is backed by the given type.
isRemove() - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
 
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.
isReturnNew() - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
 
isSimpleType(Class<?>) - Method in class org.springframework.data.mongodb.core.convert.CustomConversions
Returns whether the given type is considered to be simple.
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.
isText() - Method in class org.springframework.data.mongodb.core.index.IndexField
Returns wheter the IndexField is a text index field.
isTextScoreProperty() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
Gets the value of the property textScoreProperty.
isTextScoreProperty() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
Gets the value of the property textScoreProperty.
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.
isUnaryMinus(ExpressionNode) - Method in class org.springframework.data.mongodb.core.spel.LiteralNode
Returns whether the given ExpressionNode is a unary minus.
isUnaryMinus() - Method in class org.springframework.data.mongodb.core.spel.OperatorNode
Returns whether the operator is a unary minus, e.g. -1.
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
 
isUpsert() - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
 
isWeighted() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexedFieldSpec
 
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.GroupByResults
 
iterator() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
 
iterator() - Method in class org.springframework.data.mongodb.core.spel.ExpressionNode
 
iterator() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
 

J

javaScriptMode(boolean) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
Flag that toggles behavior in the map-reduce operation so as to avoid intermediate conversion to BSON between the map and reduce steps.

K

key(String...) - Static method in class org.springframework.data.mongodb.core.mapreduce.GroupBy
 
keyFunction(String) - Static method in class org.springframework.data.mongodb.core.mapreduce.GroupBy
 

L

Language - Annotation Type in org.springframework.data.mongodb.core.mapping
Mark property as language field.
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 given AggregationExpression.
lastModified() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
 
LazyLoadingException - Exception in org.springframework.data.mongodb
 
LazyLoadingException(String, Throwable) - Constructor for exception org.springframework.data.mongodb.LazyLoadingException
 
LazyLoadingProxy - Interface in org.springframework.data.mongodb.core.convert
Allows direct interaction with the underlying DefaultDbRefResolver.LazyLoadingInterceptor.
LEVEL - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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(int) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
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.
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
 
LiteralNode - Class in org.springframework.data.mongodb.core.spel
A node representing a literal in an expression.
log - Variable in class org.springframework.data.mongodb.crossstore.MongoChangeSetPersister
 
logCommandExecutionError(DBObject, CommandResult) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
LOGGER - Static variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
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
 
lt(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a criterion using the $lt operator.
lte(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a criterion using the $lte operator.

M

mapKeyDotReplacement - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
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() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
MappingMongoConverter - Class in org.springframework.data.mongodb.core.convert
MongoConverter that uses a MappingContext to do sophisticated mapping of domain objects to DBObject.
MappingMongoConverter(DbRefResolver, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Creates a new MappingMongoConverter given the new DbRefResolver and MappingContext.
MappingMongoConverter(MongoDbFactory, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Deprecated.
use the constructor taking a DbRefResolver instead.
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 extends Serializable> - Class in org.springframework.data.mongodb.repository.support
MongoEntityInformation implementation using a MongoPersistentEntity instance to lookup the necessary information.
MappingMongoEntityInformation(MongoPersistentEntity<T>) - Constructor for class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
MappingMongoEntityInformation(MongoPersistentEntity<T>, String) - Constructor for class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
Creates a new MappingMongoEntityInformation for the given MongoPersistentEntity and custom collection name.
mapReduce(String, String, String, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Execute a map-reduce operation.
mapReduce(String, String, String, MapReduceOptions, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Execute a map-reduce operation that takes additional map-reduce options.
mapReduce(Query, String, String, String, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Execute a map-reduce operation that takes a query.
mapReduce(Query, String, String, String, MapReduceOptions, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Execute a map-reduce operation that takes a query and additional map-reduce options
mapReduce(String, String, String, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
mapReduce(String, String, String, MapReduceOptions, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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 class org.springframework.data.mongodb.core.MongoTemplate
 
MapReduceCounts - Class in org.springframework.data.mongodb.core.mapreduce
Value object to encapsulate results of a map-reduce count.
MapReduceCounts(long, long, long) - Constructor for class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
Creates a new MapReduceCounts using the given input count, emit count, and output count.
MapReduceOptions - Class in org.springframework.data.mongodb.core.mapreduce
 
MapReduceOptions() - Constructor for class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
 
MapReduceResults<T> - Class in org.springframework.data.mongodb.core.mapreduce
Collects the results of performing a MapReduce operations.
MapReduceResults(List<T>, DBObject) - Constructor for class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
MapReduceResults(List<T>, MapReduceOutput) - Constructor for class org.springframework.data.mongodb.core.mapreduce.MapReduceResults
Creates a new MapReduceResults from the given mapped results and the MapReduceOutput.
MapReduceTiming - Class in org.springframework.data.mongodb.core.mapreduce
 
MapReduceTiming(long, long, long) - Constructor for class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
 
match(Criteria) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Creates a new MatchOperation using the given Criteria.
matching(Term) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
Adds given Term to criteria.
matching(String) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
 
matchingAny(String...) - Method in class org.springframework.data.mongodb.core.query.TextCriteria
Configures the TextCriteria to match any of the given words.
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(CriteriaDefinition) - Constructor for class org.springframework.data.mongodb.core.aggregation.MatchOperation
Creates a new MatchOperation for the given CriteriaDefinition.
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(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
Generates an GroupOperation.GroupOperationBuilder for an $max-expression that for the given AggregationExpression.
maxDistance(double) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a geospatical criterion using a $maxDistance operation, for use with $near
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.
maxScan(long) - Method in class org.springframework.data.mongodb.core.query.Query
 
maxTime(long, TimeUnit) - Method in class org.springframework.data.mongodb.core.query.Query
 
maxTimeMsec(long) - Method in class org.springframework.data.mongodb.core.query.Query
 
maybeConvertList(Iterable<?>, TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
maybeEmitEvent(MongoMappingEvent<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
MemoryMetrics - Class in org.springframework.data.mongodb.monitor
JMX Metrics for Memory
MemoryMetrics(Mongo) - Constructor for class org.springframework.data.mongodb.monitor.MemoryMetrics
 
MESSAGE - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
Meta - Class in org.springframework.data.mongodb.core.query
Meta-data for Query instances.
Meta() - Constructor for class org.springframework.data.mongodb.core.query.Meta
 
Meta - Annotation Type in org.springframework.data.mongodb.repository
 
MetadataBackedField(String, MongoPersistentEntity<?>, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
MetadataBackedField(String, MongoPersistentEntity<?>, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>, MongoPersistentProperty) - Constructor for class org.springframework.data.mongodb.core.convert.QueryMapper.MetadataBackedField
MethodReferenceNode - Class in org.springframework.data.mongodb.core.spel
An ExpressionNode representing a method reference.
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(AggregationExpression) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
Generates an GroupOperation.GroupOperationBuilder for an $min-expression that for the given AggregationExpression.
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.
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.
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(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(Number, Number) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a criterion using the $mod operator.
Modifiers() - Constructor for class org.springframework.data.mongodb.core.query.Update.Modifiers
 
modifies(String) - Method in class org.springframework.data.mongodb.core.query.Update
Determine if a given key will be touched on execution.
mongo() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
Return the Mongo instance to connect to.
mongo - Variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
mongo - Variable in class org.springframework.data.mongodb.monitor.AbstractMonitor
 
MongoAction - Class in org.springframework.data.mongodb.core
Represents an action taken against the collection.
MongoAction(WriteConcern, MongoActionOperation, String, Class<?>, DBObject, DBObject) - Constructor for class org.springframework.data.mongodb.core.MongoAction
Create an instance of a MongoAction.
MongoActionOperation - Enum 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(Mongo) - 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
 
MongoAuditingBeanDefinitionParser - Class in org.springframework.data.mongodb.config
BeanDefinitionParser to register a AuditingEventListener to transparently set auditing information on an entity.
MongoAuditingBeanDefinitionParser() - Constructor for class org.springframework.data.mongodb.config.MongoAuditingBeanDefinitionParser
 
MongoChangeSetPersister - Class in org.springframework.data.mongodb.crossstore
 
MongoChangeSetPersister() - Constructor for class org.springframework.data.mongodb.crossstore.MongoChangeSetPersister
 
MongoClientFactoryBean - Class in org.springframework.data.mongodb.core
Convenient factory for configuring MongoDB.
MongoClientFactoryBean() - Constructor for class org.springframework.data.mongodb.core.MongoClientFactoryBean
 
MongoClientOptionsFactoryBean - Class in org.springframework.data.mongodb.core
A factory bean for construction of a MongoClientOptions instance.
MongoClientOptionsFactoryBean() - Constructor for class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
 
MongoClientParser - Class in org.springframework.data.mongodb.config
Parser for mongo-client definitions.
MongoClientParser() - Constructor for class org.springframework.data.mongodb.config.MongoClientParser
 
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.
MongoConverter - Interface in org.springframework.data.mongodb.core.convert
Central Mongo specific converter interface which combines MongoWriter and MongoReader.
MongoCredentialPropertyEditor - Class in org.springframework.data.mongodb.config
Parse a String to a Collection of MongoCredential.
MongoCredentialPropertyEditor() - Constructor for class org.springframework.data.mongodb.config.MongoCredentialPropertyEditor
 
MongoDataIntegrityViolationException - Exception in org.springframework.data.mongodb.core
MongoDataIntegrityViolationException(String, WriteResult, MongoActionOperation) - Constructor for exception org.springframework.data.mongodb.core.MongoDataIntegrityViolationException
Creates a new MongoDataIntegrityViolationException using the given message and WriteResult.
mongoDbFactory() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
Creates a SimpleMongoDbFactory to be used by the MongoTemplate.
MongoDbFactory - Interface in org.springframework.data.mongodb
Interface for factories creating DB instances.
MongoDbFactoryParser - Class in org.springframework.data.mongodb.config
BeanDefinitionParser to parse db-factory elements into BeanDefinitions.
MongoDbFactoryParser() - Constructor for class org.springframework.data.mongodb.config.MongoDbFactoryParser
 
MongoDbUtils - Class in org.springframework.data.mongodb.core
Helper class featuring helper methods for internal MongoDb classes.
MongoEntityInformation<T,ID extends Serializable> - 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.
MongoExceptionTranslator - Class in org.springframework.data.mongodb.core
MongoExceptionTranslator() - Constructor for class org.springframework.data.mongodb.core.MongoExceptionTranslator
 
MongoFactoryBean - Class in org.springframework.data.mongodb.core
Deprecated.
since 1.7. Please use MongoClientFactoryBean instead.
MongoFactoryBean() - Constructor for class org.springframework.data.mongodb.core.MongoFactoryBean
Deprecated.
 
MongoJmxParser - Class in org.springframework.data.mongodb.config
 
MongoJmxParser() - Constructor for class org.springframework.data.mongodb.config.MongoJmxParser
 
MongoLog4jAppender - Class in org.springframework.data.mongodb.log4j
Log4j appender writing log entries into a MongoDB instance.
MongoLog4jAppender() - Constructor for class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
MongoLog4jAppender(boolean) - Constructor for class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
mongoMappingContext() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
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 using BasicMongoPersistentEntity and BasicMongoPersistentProperty 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
 
MongoMappingEvent(T, DBObject) - Constructor for class org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent
 
MongoMappingEventPublisher - Class in org.springframework.data.mongodb.core.index
An implementation of ApplicationEventPublisher that will only fire MappingContextEvents for use by the index creator when MongoTemplate is used 'stand-alone', that is not declared inside a Spring ApplicationContext.
MongoMappingEventPublisher(MongoPersistentEntityIndexCreator) - Constructor for class org.springframework.data.mongodb.core.index.MongoMappingEventPublisher
MongoNamespaceHandler - Class in org.springframework.data.mongodb.config
NamespaceHandler for Mongo DB configuration.
MongoNamespaceHandler() - Constructor for class org.springframework.data.mongodb.config.MongoNamespaceHandler
 
MongoOperations - Interface in org.springframework.data.mongodb.core
Interface that specifies a basic set of MongoDB operations.
MongoOptionsFactoryBean - Class in org.springframework.data.mongodb.core
Deprecated.
since 1.7. Please use MongoClientOptionsFactoryBean instead.
MongoOptionsFactoryBean() - Constructor for class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
 
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
Creates a new MongoParameters instance from the given Method and MongoQueryMethod.
MongoParametersParameterAccessor - Class in org.springframework.data.mongodb.repository.query
Mongo-specific ParametersParameterAccessor to allow access to the Distance parameter.
MongoParametersParameterAccessor(MongoQueryMethod, Object[]) - Constructor for class org.springframework.data.mongodb.repository.query.MongoParametersParameterAccessor
MongoParser - Class in org.springframework.data.mongodb.config
Parser for <mongo;gt; definitions.
MongoParser() - Constructor for class org.springframework.data.mongodb.config.MongoParser
 
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 given MongoMappingContext for indexing metadata and ensures the indexes to be available.
MongoPersistentEntityIndexCreator(MongoMappingContext, MongoDbFactory) - Constructor for class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator
MongoPersistentEntityIndexCreator(MongoMappingContext, MongoDbFactory, IndexResolver) - Constructor for class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator
MongoPersistentEntityIndexResolver - Class in org.springframework.data.mongodb.core.index
IndexResolver implementation inspecting MongoPersistentEntity for MongoPersistentEntity to be indexed.
MongoPersistentEntityIndexResolver(MongoMappingContext) - Constructor for class org.springframework.data.mongodb.core.index.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 in org.springframework.data.mongodb.core.mapping
Simple Converter implementation to transform a MongoPersistentProperty into its field name.
MongoQueryMethod - Class in org.springframework.data.mongodb.repository.query
Mongo specific implementation of QueryMethod.
MongoQueryMethod(Method, RepositoryMetadata, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.repository.query.MongoQueryMethod
Creates a new MongoQueryMethod from the given Method.
MongoRepository<T,ID extends Serializable> - 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, 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
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 given MongoOperations.
MongoRepositoryFactoryBean<T extends Repository<S,ID>,S,ID extends Serializable> - Class in org.springframework.data.mongodb.repository.support
FactoryBean to create MongoRepository instances.
MongoRepositoryFactoryBean() - Constructor for class org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
 
MongoSimpleTypes - Class in org.springframework.data.mongodb.core.mapping
Simple constant holder for a SimpleTypeHolder enriched with Mongo specific simple types.
mongoTemplate() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
Creates a MongoTemplate.
MongoTemplate - Class in org.springframework.data.mongodb.core
Primary implementation of MongoOperations.
MongoTemplate(Mongo, String) - Constructor for class org.springframework.data.mongodb.core.MongoTemplate
Constructor used for a basic template configuration
MongoTemplate(Mongo, String, UserCredentials) - Constructor for class org.springframework.data.mongodb.core.MongoTemplate
Constructor used for a template configuration with user credentials in the form of UserCredentials
MongoTemplate(MongoDbFactory) - Constructor for class org.springframework.data.mongodb.core.MongoTemplate
Constructor used for a basic template configuration.
MongoTemplate(MongoDbFactory, MongoConverter) - Constructor for class org.springframework.data.mongodb.core.MongoTemplate
Constructor used for a basic template configuration.
MongoTypeMapper - Interface in org.springframework.data.mongodb.core.convert
Mongo-specific TypeMapper exposing that DBObjects might contain a type key.
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 DBObject.
MONTH - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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.

N

name - Variable in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
 
NAME - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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.
NamedMongoScript - Class in org.springframework.data.mongodb.core.script
An ExecutableMongoScript assigned to a name that allows calling the function by its name once it has been saved to the DB instance.
NamedMongoScript(String, String) - Constructor for class org.springframework.data.mongodb.core.script.NamedMongoScript
Creates new NamedMongoScript that can be saved to the DB instance.
NamedMongoScript(String, ExecutableMongoScript) - Constructor for class org.springframework.data.mongodb.core.script.NamedMongoScript
Creates new NamedMongoScript.
ne(Object) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a criterion using the $ne operator.
near(Point) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a geospatial criterion using a $near operation.
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 given Metric to adapt given values to further configuration.
near(Point) - Static method in class org.springframework.data.mongodb.core.query.NearQuery
Creates a new NearQuery starting at the given Point.
near(Point, Metric) - Static method in class org.springframework.data.mongodb.core.query.NearQuery
Creates a NearQuery starting near the given Point using the given Metric to adapt given values to further configuration.
Near - Annotation Type 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.
newAggregation(List<? extends AggregationOperation>) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Creates a new Aggregation from the given AggregationOperations.
newAggregation(AggregationOperation...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Creates a new Aggregation from the given AggregationOperations.
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 and AggregationOperations.
newAggregation(Class<T>, AggregationOperation...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Creates a new TypedAggregation for the given type and AggregationOperations.
newAggregationOptions() - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
nextConverted(MongoPersistentProperty) - Method in interface org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor.PotentiallyConvertingIterator
Returns the next element which has already been converted.
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.
NONE - Static variable in class org.springframework.data.mongodb.core.mapreduce.MapReduceCounts
 
nonSynthetic(Fields) - Static method in class org.springframework.data.mongodb.core.aggregation.ExposedFields
Creates non-synthetic ExposedFields from the given Fields.
norOperator(Criteria...) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a 'nor' criteria using the $nor operator for all of the provided criteria.
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
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.
num(int) - Method in class org.springframework.data.mongodb.core.query.NearQuery
Configures the maximum number of results to return.

O

of(Object...) - Method in enum org.springframework.data.mongodb.core.aggregation.AggregationFunctionExpressions
Returns an AggregationExpression build from the current Enum name and the given parameters.
on(String, Order) - Method in class org.springframework.data.mongodb.core.index.Index
Deprecated.
use #on(String, Direction) instead.
on(String, Sort.Direction) - Method in class org.springframework.data.mongodb.core.index.Index
 
onAfterConvert(DBObject, E) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
 
onAfterConvert(DBObject, Object) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
 
onAfterDelete(DBObject) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
 
onAfterDelete(DBObject) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
 
onAfterLoad(DBObject) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
 
onAfterLoad(DBObject) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
 
onAfterSave(E, DBObject) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
 
onAfterSave(Object, DBObject) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
 
onAllFields() - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
Define the index to span all fields using wilcard.
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
 
onApplicationEvent(BeforeConvertEvent<Object>) - Method in class org.springframework.data.mongodb.core.mapping.event.AuditingEventListener
 
onBeforeConvert(E) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
 
onBeforeConvert(Object) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
 
onBeforeDelete(DBObject) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
 
onBeforeDelete(DBObject) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
 
onBeforeSave(E, DBObject) - Method in class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
 
onBeforeSave(Object, DBObject) - Method in class org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
 
onBeforeSave(Object, DBObject) - Method in class org.springframework.data.mongodb.core.mapping.event.ValidatingMongoEventListener
 
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.
OperationCounters - Class in org.springframework.data.mongodb.monitor
JMX Metrics for Operation counters
OperationCounters(Mongo) - Constructor for class org.springframework.data.mongodb.monitor.OperationCounters
 
operations - Variable in class org.springframework.data.mongodb.core.aggregation.Aggregation
 
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.mapreduce.MapReduceOptions
Static factory method to create a MapReduceOptions instance
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.
Order - Enum in org.springframework.data.mongodb.core.query
Deprecated.
org.springframework.data.mongodb - package org.springframework.data.mongodb
Spring Data's MongoDB abstraction.
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.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.query - package org.springframework.data.mongodb.core.query
MongoDB specific query and update support.
org.springframework.data.mongodb.core.script - package org.springframework.data.mongodb.core.script
 
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.crossstore - package org.springframework.data.mongodb.crossstore
Infrastructure for Spring Data's MongoDB cross store support.
org.springframework.data.mongodb.gridfs - package org.springframework.data.mongodb.gridfs
Support for MongoDB GridFS feature.
org.springframework.data.mongodb.log4j - package org.springframework.data.mongodb.log4j
Infrastructure for to use MongoDB as a logging sink.
org.springframework.data.mongodb.monitor - package org.springframework.data.mongodb.monitor
MongoDB specific JMX monitoring support.
org.springframework.data.mongodb.repository - package org.springframework.data.mongodb.repository
MongoDB specific repository implementation.
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
 
orOperator(Criteria...) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates an 'or' criteria using the $or operator for all of the provided criteria Note that mongodb doesn't support an $or operator to be wrapped in a $not operator.
outputCollection(String) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
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
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
If true and combined with an output mode that writes to a collection, the output collection will be sharded using the _id field.
outputTypeInline() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
With this option, no collection will be created, and the whole map-reduce operation will happen in RAM.
outputTypeMerge() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
This option will merge new data into the old output collection.
outputTypeReduce() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
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.
outputTypeReplace() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
The output will be inserted into a collection which will atomically replace any existing collection with the same name.

P

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(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
 
parse(Element, ParserContext) - Method in class org.springframework.data.mongodb.config.MongoParser
 
parseConverter(Element, ParserContext) - Method in class org.springframework.data.mongodb.config.MappingMongoConverterParser
 
parseInternal(Element, ParserContext) - Method in class org.springframework.data.mongodb.config.MongoDbFactoryParser
 
PartTreeMongoQuery - Class in org.springframework.data.mongodb.repository.query
RepositoryQuery implementation for Mongo.
PartTreeMongoQuery(MongoQueryMethod, MongoOperations) - Constructor for class org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
Creates a new PartTreeMongoQuery from the given QueryMethod and MongoTemplate.
persistState(ChangeSetBacked, ChangeSet) - Method in class org.springframework.data.mongodb.crossstore.MongoChangeSetPersister
 
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(Object, Object) - Method in class org.springframework.data.mongodb.core.MongoTemplate
Populates the id property of the saved object, if it's not set already.
port - Variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
position(String, int) - Method in class org.springframework.data.mongodb.core.query.Field
The array field must appear in the query.
postProcess(BeanDefinitionBuilder, RepositoryConfigurationSource) - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
 
postProcess(BeanDefinitionBuilder, XmlRepositoryConfigurationSource) - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
 
postProcess(BeanDefinitionBuilder, AnnotationRepositoryConfigurationSource) - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
 
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
 
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.
prepareCollection(DBCollection) - Method in class org.springframework.data.mongodb.core.MongoTemplate
Prepare the collection before any processing is done using it.
prepareWriteConcern(MongoAction) - Method in class org.springframework.data.mongodb.core.MongoTemplate
Prepare the WriteConcern before any processing is done using it.
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.
processDocument(DBObject) - Method in interface org.springframework.data.mongodb.core.DocumentCallbackHandler
 
project(String...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Creates a new ProjectionOperation including the given fields.
project(Fields) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Creates a new ProjectionOperation includeing 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.
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(Fields) - Constructor for class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
Creates a new ProjectionOperation including the given Fields.
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 ProjectionOperations on a field.
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 given ProjectionOperation.
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 given ProjectionOperation.
PROPERTIES - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
publishEvent(ApplicationEvent) - Method in class org.springframework.data.mongodb.core.index.MongoMappingEventPublisher
 
publishEvent(Object) - Method in class org.springframework.data.mongodb.core.index.MongoMappingEventPublisher
 
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
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(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, 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
push(String) - Method in class org.springframework.data.mongodb.core.query.Update
Update using $push modifier.
pushAll(String, Object[]) - Method in class org.springframework.data.mongodb.core.query.BasicUpdate
 
pushAll(String, Object[]) - Method in class org.springframework.data.mongodb.core.query.Update
Update using the $pushAll update modifier.

Q

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
 
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 given CriteriaDefinition.
query(CriteriaDefinition) - Static method in class org.springframework.data.mongodb.core.query.Query
Static factory method to create a Query using the provided CriteriaDefinition.
Query - Annotation Type in org.springframework.data.mongodb.repository
Annotation to declare finder queries directly on repository methods.
QueryDslMongoRepository<T,ID extends Serializable> - Class in org.springframework.data.mongodb.repository.support
Special QueryDsl based repository implementation that allows execution Predicates in various forms.
QueryDslMongoRepository(MongoEntityInformation<T, ID>, MongoOperations) - Constructor for class org.springframework.data.mongodb.repository.support.QueryDslMongoRepository
Creates a new QueryDslMongoRepository for the given EntityMetadata and MongoTemplate.
QueryDslMongoRepository(MongoEntityInformation<T, ID>, MongoOperations, EntityPathResolver) - Constructor for class org.springframework.data.mongodb.repository.support.QueryDslMongoRepository
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 given MongoOperations.
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 given MongoConverter.
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 DocumentField 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 given TextCriteria.
QueryUtils - Class in org.springframework.data.mongodb.repository.query
Deprecated.
quotePhrase(String) - Method in class org.springframework.data.mongodb.core.query.Term
 

R

read(Class<S>, DBObject) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
read(TypeInformation<S>, DBObject) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
readAliasFrom(DBObject) - Method in class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper.DBObjectTypeAliasAccessor
 
readMap(TypeInformation<?>, DBObject, ObjectPath) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Reads the given DBObject into a Map. will recursively resolve nested Maps as well.
ReadPreferencePropertyEditor - Class in org.springframework.data.mongodb.config
Parse a String to a ReadPreference.
ReadPreferencePropertyEditor() - Constructor for class org.springframework.data.mongodb.config.ReadPreferencePropertyEditor
 
reduceFunction(String) - Method in class org.springframework.data.mongodb.core.mapreduce.GroupBy
 
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.
register(ExecutableMongoScript) - Method in interface org.springframework.data.mongodb.core.ScriptOperations
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
Registers the given NamedMongoScript in the database.
registerBeansForRoot(BeanDefinitionRegistry, RepositoryConfigurationSource) - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
 
registerConvertersIn(GenericConversionService) - Method in class org.springframework.data.mongodb.core.convert.CustomConversions
Populates the given GenericConversionService with the convertes registered.
registerJmxComponents(String, Element, ParserContext) - Method in class org.springframework.data.mongodb.config.MongoJmxParser
 
RelatedDocument - Annotation Type in org.springframework.data.mongodb.crossstore
 
remove(boolean) - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
 
remove(Object) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Remove the given object from the collection by id.
remove(Object, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Removes the given object from the given collection.
remove(Query, Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Remove all documents that match the provided query document criteria from the the collection used to store the entityClass.
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 the collection used to store the entityClass.
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(Object) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
remove(Object, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
remove(Query, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
remove(Query, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
remove(Query, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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
replaceWithResourceIfNecessary(String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
requiresLayout() - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
resetIndexCache() - Method in class org.springframework.data.mongodb.core.DefaultIndexOperations
Deprecated.
resetIndexCache() - Method in interface org.springframework.data.mongodb.core.IndexOperations
Deprecated.
since 1.7. The MongoDB Java driver version 3.0 does no longer support reseting the index cache.
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 the MongoAction.
resolveDbRef(MongoPersistentProperty, DBRef, DbRefResolverCallback, DbRefProxyHandler) - Method in interface org.springframework.data.mongodb.core.convert.DbRefResolver
Resolves the given DBRef into an object of the given MongoPersistentProperty's type.
resolveDbRef(MongoPersistentProperty, DBRef, DbRefResolverCallback, DbRefProxyHandler) - Method in class org.springframework.data.mongodb.core.convert.DefaultDbRefResolver
 
resolveId(Element, AbstractBeanDefinition, ParserContext) - Method in class org.springframework.data.mongodb.config.MongoDbFactoryParser
 
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 IndexDefinitions for given root entity by traversing MongoPersistentProperty scanning for index annotations Indexed, CompoundIndex and GeospatialIndex.
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.
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".
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.

S

save(Object) - 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(Object, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Save the object to the specified collection.
save(Object) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
save(Object, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
save(Iterable<S>) - Method in interface org.springframework.data.mongodb.repository.MongoRepository
 
save(S) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
save(Iterable<S>) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
saveDBObject(String, DBObject, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
scopeVariables(Map<String, Object>) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
Key-value pairs that are placed into JavaScript global scope and can be accessed from map, reduce, and finalize scripts.
ScriptOperations - Interface in org.springframework.data.mongodb.core
Script operations on DB level.
scriptOps() - Method in interface org.springframework.data.mongodb.core.MongoOperations
Returns the ScriptOperations that can be performed on DB level.
scriptOps() - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
SerializationUtils - Class in org.springframework.data.mongodb.core.query
Utility methods for JSON serialization.
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.
ServerAddressPropertyEditor - Class in org.springframework.data.mongodb.config
Parse a String to a ServerAddress 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(Mongo) - Constructor for class org.springframework.data.mongodb.monitor.ServerInfo
 
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
setApplicationContext(ApplicationContext) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
setApplicationContext(ApplicationContext) - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
 
setApplicationContext(ApplicationContext) - Method in class org.springframework.data.mongodb.core.mapping.MongoMappingContext
 
setApplicationContext(ApplicationContext) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
setApplicationId(String) - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
setAsText(String) - Method in class org.springframework.data.mongodb.config.MongoCredentialPropertyEditor
 
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.WriteConcernPropertyEditor
Parse a string to a List
setAuthenticationDatabaseName(String) - Method in class org.springframework.data.mongodb.core.MongoAdmin
Sets the authenticationDatabaseName to use to authenticate with the Mongo database.
setAutoConnectRetry(boolean) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
since 1.7.
setCapped(Boolean) - Method in class org.springframework.data.mongodb.core.CollectionOptions
 
setCollectionPattern(String) - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
setComment(String) - Method in class org.springframework.data.mongodb.core.query.Meta
Add a comment to the query.
setConnectionsPerHost(int) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the number of connections allowed per host.
setConnectionsPerHost(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
Configures the maximum number of connections allowed per host until we will block.
setConnectTimeout(int) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the connect timeout in milliseconds. 0 is default and infinite.
setConnectTimeout(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
Configures the connect timeout in milliseconds.
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.
setCredentials(MongoCredential[]) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
Set the list of credentials to be used when creating MongoClient.
setCustomConversions(CustomConversions) - Method in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
Registers the given custom conversions with the converter.
setDatabase(String) - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
setDescription(String) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the MongoClient description.
setDirection(IndexDirection) - Method in class org.springframework.data.mongodb.core.index.IndexPredicate
 
setEntityManagerFactory(EntityManagerFactory) - Method in class org.springframework.data.mongodb.crossstore.MongoChangeSetPersister
 
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.MongoFactoryBean
Deprecated.
Configures the PersistenceExceptionTranslator to use.
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(DBObject) - Method in class org.springframework.data.mongodb.core.query.BasicQuery
 
setHeartbeatConnectTimeout(int) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the connect timeout for connections used for the cluster heartbeat.
setHeartbeatFrequency(int) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the frequency that the driver will attempt to determine the current state of each server in the cluster.
setHeartbeatSocketTimeout(int) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the socket timeout for connections used for the cluster heartbeat.
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.MongoFactoryBean
Deprecated.
Configures the host to connect to.
setHost(String) - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
setInfoOrLowerWriteConcern(String) - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
setInstantiators(EntityInstantiators) - Method in class org.springframework.data.mongodb.core.convert.AbstractMongoConverter
Registers EntityInstantiators to customize entity instantiation.
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
 
setMaxAutoConnectRetryTime(long) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
since 1.7
setMaxConnectionIdleTime(int) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
The maximum idle time for a pooled connection.
setMaxConnectionLifeTime(int) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the maximum life time for a pooled connection.
setMaxDocuments(Integer) - Method in class org.springframework.data.mongodb.core.CollectionOptions
 
setMaxScan(long) - Method in class org.springframework.data.mongodb.core.query.Meta
Only scan the specified number of documents.
setMaxTime(long, TimeUnit) - 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.
setMaxWaitTime(int) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the max wait time of a blocking thread for a connection.
setMaxWaitTime(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
Max wait time of a blocking thread for a connection.
setMeta(Meta) - Method in class org.springframework.data.mongodb.core.query.Query
 
setMinConnectionsPerHost(int) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the minimum number of connections per host.
setMinHeartbeatFrequency(int) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
In the event that the driver has to frequently re-check a server's availability, it will wait at least this long since the previous check to avoid wasted effort.
setMongoClientOptions(MongoClientOptions) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
Set the MongoClientOptions to be used when creating MongoClient.
setMongoOperations(MongoOperations) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
Configures the MongoOperations to be used.
setMongoOptions(MongoOptions) - Method in class org.springframework.data.mongodb.core.MongoFactoryBean
Deprecated.
 
setMongoTemplate(MongoTemplate) - Method in class org.springframework.data.mongodb.crossstore.MongoChangeSetPersister
 
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
setPassword(String) - Method in class org.springframework.data.mongodb.core.MongoAdmin
Sets the password to use to authenticate with the Mongo database.
setPassword(String) - Method in class org.springframework.data.mongodb.monitor.AbstractMonitor
Sets the password to use to authenticate with the Mongo database.
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.MongoFactoryBean
Deprecated.
Configures the port to connect to.
setPort(int) - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
setReadPreference(ReadPreference) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the ReadPreference.
setReadPreference(ReadPreference) - Method in class org.springframework.data.mongodb.core.MongoTemplate
Used by @{link MongoTemplate.prepareCollection(DBCollection) to set the ReadPreference before any operations are performed.
setReplicaPair(ServerAddress[]) - Method in class org.springframework.data.mongodb.core.MongoFactoryBean
setReplicaSetSeeds(ServerAddress[]) - Method in class org.springframework.data.mongodb.core.MongoClientFactoryBean
Set the list of ServerAddress to build up a replica set for.
setReplicaSetSeeds(ServerAddress[]) - Method in class org.springframework.data.mongodb.core.MongoFactoryBean
Deprecated.
 
setRequiredReplicaSetName(String) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Configures the name of the replica set.
setScoreFieldName(String) - Method in class org.springframework.data.mongodb.core.query.TextQuery
Set the fieldname used for scoring.
setSize(Integer) - Method in class org.springframework.data.mongodb.core.CollectionOptions
 
setSlaveOk(boolean) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
since 1.7
setSnapshot(boolean) - Method in class org.springframework.data.mongodb.core.query.Meta
Using snapshot prevents the cursor from returning a document more than once.
setSocketFactory(SocketFactory) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
 
setSocketKeepAlive(boolean) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the keep alive flag, controls whether or not to have socket keep alive timeout.
setSocketKeepAlive(boolean) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
Configures whether or not to have socket keep alive turned on (SO_KEEPALIVE).
setSocketTimeout(int) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the socket timeout. 0 is default and infinite.
setSocketTimeout(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
Configures the socket timeout.
setSortObject(DBObject) - Method in class org.springframework.data.mongodb.core.query.BasicQuery
 
setSsl(boolean) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
This controls if the driver should us an SSL connection.
setSsl(boolean) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
Specifies if the driver should use an SSL connection to Mongo.
setSslSocketFactory(SSLSocketFactory) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the SSLSocketFactory to use for the SSL connection.
setSslSocketFactory(SSLSocketFactory) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
Specifies the SSLSocketFactory to use for creating SSL connections to Mongo.
setThreadsAllowedToBlockForConnectionMultiplier(int) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the multiplier for connectionsPerHost for # of threads that can block.
setThreadsAllowedToBlockForConnectionMultiplier(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
A multiplier for connectionsPerHost for # of threads that can block a connection.
setTypeMapper(MongoTypeMapper) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Configures the MongoTypeMapper to be used to add type information to DBObjects created by the converter and how to lookup type information from DBObjects when reading them.
setUnique(boolean) - Method in class org.springframework.data.mongodb.core.index.IndexPredicate
 
setUsername(String) - Method in class org.springframework.data.mongodb.core.MongoAdmin
Sets the username to use to connect to the Mongo database
setUsername(String) - Method in class org.springframework.data.mongodb.monitor.AbstractMonitor
Sets the username to use to connect to the Mongo database
setWarnOrHigherWriteConcern(String) - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
setWriteConcern(WriteConcern) - Method in class org.springframework.data.mongodb.core.MongoClientOptionsFactoryBean
Set the WriteConcern that will be the default value used when asking the MongoDbFactory for a DB object.
setWriteConcern(WriteConcern) - Method in class org.springframework.data.mongodb.core.MongoFactoryBean
Deprecated.
Sets the WriteConcern to be configured for the Mongo instance to be 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.SimpleMongoDbFactory
Configures the WriteConcern to be used on the DB instance being created.
setWriteConcernResolver(WriteConcernResolver) - Method in class org.springframework.data.mongodb.core.MongoTemplate
Configures the WriteConcernResolver to be used with the template.
setWriteFsync(boolean) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
Configures whether or not to fsync.
setWriteNumber(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
This specifies the number of servers to wait for on the write operation, and exception raising behavior.
setWriteResultChecking(WriteResultChecking) - Method in class org.springframework.data.mongodb.core.MongoTemplate
Configures the WriteResultChecking to be used with the template.
setWriteTimeout(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Deprecated.
Configures the timeout for write operations in milliseconds.
shouldCreatePersistentEntityFor(TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.mapping.MongoMappingContext
 
shouldGenerateId() - Method in class org.springframework.data.mongodb.config.MongoAuditingBeanDefinitionParser
 
SimpleMongoDbFactory - Class in org.springframework.data.mongodb.core
Factory to create DB instances from a Mongo instance.
SimpleMongoDbFactory(Mongo, String) - Constructor for class org.springframework.data.mongodb.core.SimpleMongoDbFactory
SimpleMongoDbFactory(Mongo, String, UserCredentials) - Constructor for class org.springframework.data.mongodb.core.SimpleMongoDbFactory
Deprecated.
since 1.7. The credentials used should be provided by MongoClient.getCredentialsList().
SimpleMongoDbFactory(Mongo, String, UserCredentials, String) - Constructor for class org.springframework.data.mongodb.core.SimpleMongoDbFactory
Deprecated.
since 1.7. The credentials used should be provided by MongoClient.getCredentialsList().
SimpleMongoDbFactory(MongoURI) - Constructor for class org.springframework.data.mongodb.core.SimpleMongoDbFactory
Deprecated.
SimpleMongoDbFactory(MongoClientURI) - Constructor for class org.springframework.data.mongodb.core.SimpleMongoDbFactory
Creates a new SimpleMongoDbFactory instance from the given MongoClientURI.
SimpleMongoDbFactory(MongoClient, String) - Constructor for class org.springframework.data.mongodb.core.SimpleMongoDbFactory
Creates a new SimpleMongoDbFactory instance from the given MongoClient.
SimpleMongoRepository<T,ID extends Serializable> - 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
size() - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
 
size(int) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a criterion using the $size operator.
skip(int) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Creates a new SkipOperation skipping the given number of elements.
skip(int) - Method in class org.springframework.data.mongodb.core.query.NearQuery
Configures the number of results to skip.
skip(int) - Method in class org.springframework.data.mongodb.core.query.Query
Set number of documents to skip before returning results.
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.
slice(String, int) - Method in class org.springframework.data.mongodb.core.query.Field
 
slice(String, int, int) - Method in class org.springframework.data.mongodb.core.query.Field
 
sort(Sort) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Factory method to create a new SortOperation for the given Sort.
sort(Sort.Direction, String...) - Static method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Factory method to create a new SortOperation for the given sort Sort.Direction and fields.
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 given Sort instance.
sparse() - Method in class org.springframework.data.mongodb.core.index.Index
Skip over any document that is missing the indexed field.
spelExpressionParser - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
Sphere - Class in org.springframework.data.mongodb.core.geo
Represents a geospatial sphere value.
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.
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(Circle) - Constructor for class org.springframework.data.mongodb.core.geo.Sphere
Creates a Sphere from the given Circle.
spherical(boolean) - Method in class org.springframework.data.mongodb.core.query.NearQuery
Configures whether to return spherical values for the actual distance.
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, Object) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
Stores the given content into a file with the given name.
store(InputStream, DBObject) - Method in interface org.springframework.data.mongodb.gridfs.GridFsOperations
Stores the given content into a file with the given name.
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, 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, 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, DBObject) - 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, DBObject) - 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) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
store(InputStream, Object) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
store(InputStream, DBObject) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
store(InputStream, String, String) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
store(InputStream, String, Object) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
store(InputStream, String, String, Object) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
store(InputStream, String, DBObject) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
store(InputStream, String, String, DBObject) - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
stream(Query, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Executes the given Query on the entity collection of the specified entityType backed by a Mongo DB Cursor.
stream(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
StringBasedMongoQuery - Class in org.springframework.data.mongodb.repository.query
Query to use a plain JSON String to create the Query to actually execute.
StringBasedMongoQuery(MongoQueryMethod, MongoOperations) - Constructor for class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
Creates a new StringBasedMongoQuery for the given MongoQueryMethod and MongoOperations.
StringBasedMongoQuery(String, MongoQueryMethod, MongoOperations) - Constructor for class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
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
 
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.
synthetic(Fields) - Static method in class org.springframework.data.mongodb.core.aggregation.ExposedFields
Creates synthetic ExposedFields from the given Fields.

T

Term - Class in org.springframework.data.mongodb.core.query
A Term defines one or multiple words Term.Type.WORD or phrases Term.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 of Term.Type.WORD.
Term(String, Term.Type) - Constructor for class org.springframework.data.mongodb.core.query.Term
Creates a new Term of given Term.Type.
Term.Type - Enum in org.springframework.data.mongodb.core.query
 
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.TextIndexedFieldSpec - Class in org.springframework.data.mongodb.core.index
 
TextIndexDefinitionBuilder() - Constructor for class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
 
TextIndexed - Annotation Type 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
Creates new TextQuery using the the given wordsAndPhrases with TextCriteria
TextQuery(String, String) - Constructor for class org.springframework.data.mongodb.core.query.TextQuery
Creates new TextQuery in language.
TextQuery(String, Locale) - Constructor for class org.springframework.data.mongodb.core.query.TextQuery
Creates new TextQuery using the locales language.
TextQuery(TextCriteria) - Constructor for class org.springframework.data.mongodb.core.query.TextQuery
Creates new TextQuery for given TextCriteria.
TextScore - Annotation Type 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.
TIMESTAMP - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
toDbObject(String, AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Converts this Aggregation specification to a DBObject.
toDBObject(AggregationOperationContext) - Method in interface org.springframework.data.mongodb.core.aggregation.AggregationOperation
Turns the AggregationOperation into a DBObject by using the given AggregationOperationContext.
toDbObject() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationOptions
Returns a DBObject representation of this AggregationOptions.
toDBObject(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.GeoNearOperation
 
toDBObject(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.GroupOperation
 
toDBObject(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.LimitOperation
 
toDBObject(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.MatchOperation
 
toDBObject(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ProjectionOperationBuilder
 
toDBObject(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
 
toDBObject(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.SkipOperation
 
toDBObject(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.SortOperation
 
toDBObject(AggregationOperationContext) - Method in class org.springframework.data.mongodb.core.aggregation.UnwindOperation
 
toDBObject() - Method in class org.springframework.data.mongodb.core.query.NearQuery
Returns the DBObject built by the NearQuery.
toDBRef() - Method in interface org.springframework.data.mongodb.core.convert.LazyLoadingProxy
Returns the DBRef represented by this LazyLoadingProxy, 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.
toDirection() - Method in enum org.springframework.data.mongodb.core.query.Order
Deprecated.
 
toOrder(Sort.Order) - Static method in class org.springframework.data.mongodb.repository.query.QueryUtils
Deprecated.
use Sort.Order directly.
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.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.mapreduce.MapReduceCounts
 
toString() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
 
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
 
TRACEBACK - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
transform(T) - Method in interface org.springframework.data.mongodb.core.spel.ExpressionTransformer
Transforms the given ExpressionTransformationContextSupport into an Object.
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.MongoFactoryBean
Deprecated.
 
type(int) - 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 a MappingContext 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 and QueryMapper.
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 special Aggregation that holds information of the input aggregation type.
TypedAggregation(Class<I>, AggregationOperation...) - Constructor for class org.springframework.data.mongodb.core.aggregation.TypedAggregation
Creates a new TypedAggregation from the given AggregationOperations.
TypedAggregation(Class<I>, List<AggregationOperation>) - Constructor for class org.springframework.data.mongodb.core.aggregation.TypedAggregation
Creates a new TypedAggregation from the given AggregationOperations.
TypedAggregation(Class<I>, List<AggregationOperation>, AggregationOptions) - Constructor for class org.springframework.data.mongodb.core.aggregation.TypedAggregation
Creates a new TypedAggregation from the given AggregationOperations and the given AggregationOptions.
typeMapper - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 

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
 
unique() - Method in class org.springframework.data.mongodb.core.index.Index
Reject all documents that contain a duplicate value for the indexed field.
unique(Index.Duplicates) - Method in class org.springframework.data.mongodb.core.index.Index
 
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
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.
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 given Field.
Update - Class in org.springframework.data.mongodb.core.query
Class to easily construct MongoDB update clauses.
Update() - Constructor for class org.springframework.data.mongodb.core.query.Update
 
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.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 in org.springframework.data.mongodb.core.query
 
Update.PushOperatorBuilder - Class in org.springframework.data.mongodb.core.query
Builder for creating $push modifiers
updateFirst(Query, Update, 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, Update, 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, Update, 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, Update, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
updateFirst(Query, Update, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
updateFirst(Query, Update, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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 given MongoConverter.
updateMulti(Query, Update, 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, Update, 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, Update, 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, Update, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
updateMulti(Query, Update, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
updateMulti(Query, Update, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
upsert(boolean) - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
 
upsert(Query, Update, Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Performs an upsert.
upsert(Query, Update, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Performs an upsert.
upsert(Query, Update, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Performs an upsert.
upsert(Query, Update, Class<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
upsert(Query, Update, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
upsert(Query, Update, Class<?>, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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.
useSnapshot() - Method in class org.springframework.data.mongodb.core.query.Query
 

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 given Validator.
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
valueOf(String) - Static method in enum org.springframework.data.mongodb.core.aggregation.AggregationFunctionExpressions
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.mongodb.core.index.GeoSpatialIndexType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.mongodb.core.index.Index.Duplicates
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.mongodb.core.index.IndexDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.mongodb.core.mapping.MongoPersistentProperty.PropertyToFieldNameConverter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.mongodb.core.MongoActionOperation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.mongodb.core.query.Order
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.mongodb.core.query.Term.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.mongodb.core.query.Update.Position
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.mongodb.core.WriteResultChecking
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.springframework.data.mongodb.core.aggregation.AggregationFunctionExpressions
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.mongodb.core.index.GeoSpatialIndexType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.mongodb.core.index.Index.Duplicates
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.mongodb.core.index.IndexDirection
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.mongodb.core.mapping.MongoPersistentProperty.PropertyToFieldNameConverter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.mongodb.core.MongoActionOperation
Returns an array containing the constants of this enum type, 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 org.springframework.data.mongodb.core.query.Order
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.mongodb.core.query.Term.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.mongodb.core.query.Update.Position
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.mongodb.core.WriteResultChecking
Returns an array containing the constants of this enum type, in the order they are declared.
verbose(boolean) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
Flag to set that will provide statistics on job execution time.
verify() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity
 
Version - Annotation Type in org.springframework.data.mongodb.core.mapping
Deprecated.
use Version instead.

W

warnOrHigherWriteConcern - Variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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.
with(String) - Method in class org.springframework.data.mongodb.core.convert.QueryMapper.Field
Returns a new DocumentField 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 the Query instance.
withAdditionalField(String) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
 
withBits(int) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
 
withBucketSize(double) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
 
withDefaultLanguage(String) - Method in class org.springframework.data.mongodb.core.index.TextIndexDefinition.TextIndexDefinitionBuilder
Define the default language to be used when indexing documents.
withHint(String) - Method in class org.springframework.data.mongodb.core.query.Query
Configures the query to use the given hint when being executed.
within(Shape) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a geospatial criterion using a $geoWithin operation.
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.
withMax(int) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
 
withMin(int) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
 
withOptions(AggregationOptions) - Method in class org.springframework.data.mongodb.core.aggregation.Aggregation
Returns a copy of this Aggregation with the given AggregationOptions set.
withOptions(AggregationOptions) - Method in class org.springframework.data.mongodb.core.aggregation.TypedAggregation
 
write(Object, DBObject) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Root entry method into write conversion.
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 given MongoAction.
writeInternal(Object, DBObject, TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Internal write conversion method which should be used for nested invocations.
writeInternal(Object, DBObject, MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
writeMapInternal(Map<Object, Object>, DBObject, TypeInformation<?>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Writes the given Map to the given DBObject considering the given TypeInformation.
writePropertyInternal(Object, DBObject, MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
WriteResultChecking - Enum in org.springframework.data.mongodb.core
Enum to represent how strict the check of WriteResult shall be.
writeTypeRestrictions(DBObject, Set<Class<?>>) - Method in class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper
 
writeTypeRestrictions(DBObject, Set<Class<?>>) - Method in interface org.springframework.data.mongodb.core.convert.MongoTypeMapper
Writes type restrictions to the given DBObject.
writeTypeTo(DBObject, Object) - Method in class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper.DBObjectTypeAliasAccessor
 

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 - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y 
Skip navigation links
Spring Data MongoDB

Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.