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 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
 
add(Distance) - Method in class org.springframework.data.mongodb.core.geo.Distance
Adds the given distance to the current one.
add(Distance, Metric) - Method in class org.springframework.data.mongodb.core.geo.Distance
Adds the given Distance to the current one and forces the result to be in a given Metric.
addCriteria(Criteria) - Method in class org.springframework.data.mongodb.core.query.BasicQuery
 
addCriteria(Criteria) - Method in class org.springframework.data.mongodb.core.query.Query
Adds the given Criteria 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.
addMultiFieldOperation(String, String, Object) - Method in class org.springframework.data.mongodb.core.query.Update
 
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, Object) - Method in class org.springframework.data.mongodb.core.query.Update
Update using the $addToSet update modifier
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.core.MongoFactoryBean
 
afterPropertiesSet() - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
 
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.
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.
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
 
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(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
andExclude(String...) - Method in class org.springframework.data.mongodb.core.aggregation.ProjectionOperation
Excludes the given fields from the projection.
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.ProjectionOperationBuilder
Allows to specify an alias for the previous projection operation.
asArray() - Method in class org.springframework.data.mongodb.core.geo.Point
 
asList() - Method in class org.springframework.data.mongodb.core.geo.Box
 
asList() - Method in class org.springframework.data.mongodb.core.geo.Circle
 
asList() - Method in class org.springframework.data.mongodb.core.geo.Point
 
asList() - Method in class org.springframework.data.mongodb.core.geo.Polygon
 
asList() - Method in interface org.springframework.data.mongodb.core.geo.Shape
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
 
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(IsNewAwareAuditingHandler<Object>) - Constructor for class org.springframework.data.mongodb.core.mapping.event.AuditingEventListener
Creates a new AuditingEventListener using the given MappingContext and AuditingHandler.
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.

B

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.
Box - Class in org.springframework.data.mongodb.core.geo
Represents a geospatial box value
Box(Point, Point) - Constructor for class org.springframework.data.mongodb.core.geo.Box
 
Box(double[], double[]) - Constructor for class org.springframework.data.mongodb.core.geo.Box
 
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
 

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
CamelCaseAbbreviatingFieldNamingStrategy - Class in org.springframework.data.mongodb.core.mapping
FieldNamingStrategy that abbreviates field names by using the very first letter of the camel case parts of the MongoPersistentProperty's name.
CamelCaseAbbreviatingFieldNamingStrategy() - Constructor for class org.springframework.data.mongodb.core.mapping.CamelCaseAbbreviatingFieldNamingStrategy
 
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
 
checkForIndexes(MongoPersistentEntity<?>) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator
 
Circle - Class in org.springframework.data.mongodb.core.geo
Represents a geospatial circle value
Circle(Point, double) - Constructor for class org.springframework.data.mongodb.core.geo.Circle
Creates a new Circle from the given Point and radius.
Circle(double, double, double) - Constructor for class org.springframework.data.mongodb.core.geo.Circle
Creates a new Circle from the given coordinates and radius.
close() - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
closeDB(DB) - Static method in class org.springframework.data.mongodb.core.MongoDbUtils
Perform actual closing of the Mongo DB object, catching and logging any cleanup exceptions thrown.
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
 
CompoundIndex - Annotation Type in org.springframework.data.mongodb.core.index
Mark a class to use compound indexes.
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
 
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 enum org.springframework.data.mongodb.core.mapping.MongoPersistentProperty.PropertyToFieldNameConverter
 
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.
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<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
count(Query, 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>) - 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
 
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(Object, DBRef) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
createFrom(List<MongoParameters.MongoParameter>) - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
 
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.
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
 
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
 
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.
CustomMetric - Class in org.springframework.data.mongodb.core.geo
Value object to create custom Metrics on the fly.
CustomMetric(double) - Constructor for class org.springframework.data.mongodb.core.geo.CustomMetric
Creates a custom Metric using the given multiplier.

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
 
DBRef - Annotation Type in org.springframework.data.mongodb.core.mapping
An annotation that indicates the annotated field is to be stored using a DBRef.
DEFAULT_CONTEXT - 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
 
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.
DefaultMongoTypeMapper.DBObjectTypeAliasAccessor(String) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper.DBObjectTypeAliasAccessor
 
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.MongoFactoryBean
 
destroy() - Method in class org.springframework.data.mongodb.core.SimpleMongoDbFactory
Clean up the Mongo instance if it was created by the factory itself.
Distance - Class in org.springframework.data.mongodb.core.geo
Value object to represent distances in a given metric.
Distance(double) - Constructor for class org.springframework.data.mongodb.core.geo.Distance
Creates a new Distance.
Distance(double, Metric) - Constructor for class org.springframework.data.mongodb.core.geo.Distance
Creates a new Distance with the given Metric.
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
 
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

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
 
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(String, String, DBObject, boolean, boolean, boolean, boolean, int) - Method in class org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator
Triggers the actual index creation.
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.Box
 
equals(Object) - Method in class org.springframework.data.mongodb.core.geo.Circle
 
equals(Object) - Method in class org.springframework.data.mongodb.core.geo.Distance
 
equals(Object) - Method in class org.springframework.data.mongodb.core.geo.GeoResult
 
equals(Object) - Method in class org.springframework.data.mongodb.core.geo.GeoResults
 
equals(Object) - Method in class org.springframework.data.mongodb.core.geo.Point
 
equals(Object) - Method in class org.springframework.data.mongodb.core.geo.Polygon
 
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.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.Criteria
 
equals(Object) - Method in class org.springframework.data.mongodb.core.query.Field
 
equals(Object) - Method in class org.springframework.data.mongodb.core.query.Query
 
exclude(String) - Method in class org.springframework.data.mongodb.core.query.Field
 
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(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
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
 
executeInSession(DbCallback<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Executes the given DbCallback within the same connection to the database so as to ensure consistency in a write heavy environment where you may read the data that you wrote.
executeInSession(DbCallback<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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
 
exists(Query, Class<?>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
 
exists(Query, Class<?>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
 
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(ID) - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
ExposedFields - Class in org.springframework.data.mongodb.core.aggregation
Value object to capture the fields exposed by an AggregationOperation.
extraOption(String, Object) - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
Add additional extra options that may not have a method on this class.

F

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
 
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 - Interface in org.springframework.data.mongodb.core.mapping
SPI interface to determine how to name document fields in cases the field name is not manually defined.
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, Pageable) - 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
 
findAndModify(Query, Update, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
 
findAndModify(Query, Update, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
 
findAndModify(Query, Update, FindAndModifyOptions, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
 
findAndModify(Query, Update, FindAndModifyOptions, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
 
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.
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(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.
geoNear(NearQuery, Class<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Returns GeoResult for all entities matching the given NearQuery.
geoNear(NearQuery, Class<T>, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Returns GeoResult 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
 
GeoNearOperation(NearQuery) - Constructor for class org.springframework.data.mongodb.core.aggregation.GeoNearOperation
 
GeoPage<T> - Class in org.springframework.data.mongodb.core.geo
Custom Page to carry the average distance retrieved from the GeoResults the GeoPage is set up from.
GeoPage(GeoResults<T>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoPage
Creates a new GeoPage from the given GeoResults.
GeoPage(GeoResults<T>, Pageable, long) - Constructor for class org.springframework.data.mongodb.core.geo.GeoPage
Creates a new GeoPage from the given GeoResults, Pageable and total.
GeoResult<T> - Class in org.springframework.data.mongodb.core.geo
Calue object capturing some arbitrary object plus a distance.
GeoResult(T, Distance) - Constructor for class org.springframework.data.mongodb.core.geo.GeoResult
Creates a new GeoResult for the given content and distance.
GeoResults<T> - Class in org.springframework.data.mongodb.core.geo
Value object to capture GeoResults as well as the average distance they have.
GeoResults(List<GeoResult<T>>) - Constructor for class org.springframework.data.mongodb.core.geo.GeoResults
Creates a new GeoResults instance manually calculating the average distance from the distance values of the given GeoResults.
GeoResults(List<GeoResult<T>>, Metric) - Constructor for class org.springframework.data.mongodb.core.geo.GeoResults
 
GeoResults(List<GeoResult<T>>, Distance) - Constructor for class org.springframework.data.mongodb.core.geo.GeoResults
Creates a new GeoResults instance from the given GeoResults and average distance.
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.
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
 
getAvailable() - Method in class org.springframework.data.mongodb.monitor.ConnectionMetrics
 
getAverageDistance() - Method in class org.springframework.data.mongodb.core.geo.GeoPage
Returns the average distance of the underlying results.
getAverageDistance() - Method in class org.springframework.data.mongodb.core.geo.GeoResults
Returns the average distance of all GeoResults in this list.
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.Circle
Returns the center of the Circle.
getClassLoader() - Method in class org.springframework.data.mongodb.gridfs.GridFsTemplate
 
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.Box
 
getCommand() - Method in class org.springframework.data.mongodb.core.geo.Circle
 
getCommand() - Method in class org.springframework.data.mongodb.core.geo.Polygon
 
getCommand() - Method in interface org.springframework.data.mongodb.core.geo.Shape
Returns the command to be used to create the $within criterion.
getCommandCount() - Method in class org.springframework.data.mongodb.monitor.OperationCounters
 
getContent() - Method in class org.springframework.data.mongodb.core.geo.GeoResult
Returns the actual content object.
getContent() - Method in class org.springframework.data.mongodb.core.geo.GeoResults
Returns the actual
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.
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
 
getCurrent() - Method in class org.springframework.data.mongodb.monitor.ConnectionMetrics
 
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
 
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 write an onject 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
Obtains a DB connection for the given Mongo instance and database name
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
 
getDistance() - Method in class org.springframework.data.mongodb.core.geo.GeoResult
Returns the distance the actual content object has from the origin.
getDistanceIndex() - Method in class org.springframework.data.mongodb.repository.query.MongoParameters
Returns the index of a Distance parameter to be used for geo queries.
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
 
getEntityInformation() - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
 
getEntityType() - Method in class org.springframework.data.mongodb.core.MongoAction
 
getExtraOptions() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
 
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.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(MongoPersistentProperty) - Method in class org.springframework.data.mongodb.core.mapping.CamelCaseAbbreviatingFieldNamingStrategy
 
getFieldName(MongoPersistentProperty) - Method in interface org.springframework.data.mongodb.core.mapping.FieldNamingStrategy
Returns the field name to be used for the given MongoPersistentProperty.
getFieldName() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
Returns the name of the field a property is persisted to.
getFieldName(MongoPersistentProperty) - Method in enum org.springframework.data.mongodb.core.mapping.PropertyNameFieldNamingStrategy
 
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
 
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
 
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 mongo.
getId() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
Returns the Resource's id.
getId(T) - Method in class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
 
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
 
getIdType() - Method in class org.springframework.data.mongodb.repository.support.MappingMongoEntityInformation
 
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.GeospatialIndex
 
getIndexKeys() - Method in class org.springframework.data.mongodb.core.index.Index
 
getIndexKeys() - Method in interface org.springframework.data.mongodb.core.index.IndexDefinition
 
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
 
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
 
getKeys() - Method in class org.springframework.data.mongodb.core.mapreduce.GroupByResults
 
getLastFinished() - Method in class org.springframework.data.mongodb.monitor.BackgroundFlushingMetrics
 
getLastMs() - Method in class org.springframework.data.mongodb.monitor.BackgroundFlushingMetrics
 
getLimit() - Method in class org.springframework.data.mongodb.core.query.Query
 
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
 
getLowerLeft() - Method in class org.springframework.data.mongodb.core.geo.Box
 
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.
getMappedResults() - Method in class org.springframework.data.mongodb.core.aggregation.AggregationResults
Returns the aggregation results.
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.
getMaxDistance() - Method in class org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor
 
getMaxDistance() - Method in interface org.springframework.data.mongodb.repository.query.MongoParameterAccessor
Returns a Distance to be applied to Mongo geo queries.
getMaxDistance() - Method in class org.springframework.data.mongodb.repository.query.MongoParametersParameterAccessor
 
getMaxDocuments() - Method in class org.springframework.data.mongodb.core.CollectionOptions
 
getMemoryInfoSupported() - Method in class org.springframework.data.mongodb.monitor.MemoryMetrics
 
getMemoryMappedSpace() - Method in class org.springframework.data.mongodb.monitor.MemoryMetrics
 
getMetric() - Method in class org.springframework.data.mongodb.core.geo.Distance
 
getMetric() - Method in class org.springframework.data.mongodb.core.query.NearQuery
Returns the Metric underlying the actual query.
getMisses() - Method in class org.springframework.data.mongodb.monitor.BtreeIndexCounters
 
getMissRatio() - Method in class org.springframework.data.mongodb.monitor.BtreeIndexCounters
 
getModulePrefix() - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
 
getMongoActionOperation() - Method in class org.springframework.data.mongodb.core.MongoAction
 
getMongoOperations() - Method in class org.springframework.data.mongodb.repository.support.SimpleMongoRepository
Returns the underlying MongoOperations instance.
getMsg() - Method in class org.springframework.data.mongodb.monitor.AssertMetrics
 
getMultiplier() - Method in class org.springframework.data.mongodb.core.geo.CustomMetric
 
getMultiplier() - Method in interface org.springframework.data.mongodb.core.geo.Metric
Returns the multiplier to calculate metrics values from a base scale.
getMultiplier() - Method in enum org.springframework.data.mongodb.core.geo.Metrics
 
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
 
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.
getNormalizedValue() - Method in class org.springframework.data.mongodb.core.geo.Distance
Returns the normalized value regarding the underlying Metric.
getObject() - Method in class org.springframework.data.mongodb.core.MongoFactoryBean
 
getObject() - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
 
getObjectType() - Method in class org.springframework.data.mongodb.core.MongoFactoryBean
 
getObjectType() - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
 
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
 
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
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
 
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.Circle
Returns the radius of the Circle.
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
 
getRollovers() - Method in class org.springframework.data.mongodb.monitor.AssertMetrics
 
getScopeVariables() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceOptions
 
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
 
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
 
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
 
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.
getTargetRepository(RepositoryMetadata) - Method in class org.springframework.data.mongodb.repository.support.MongoRepositoryFactory
 
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 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.
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
 
getUpperRight() - Method in class org.springframework.data.mongodb.core.geo.Box
 
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
Return UserCredentials to be used when connecting to the MongoDB instance or null if none shall be used.
getValue() - Method in class org.springframework.data.mongodb.core.geo.Distance
 
getValueInternal(MongoPersistentProperty, DBObject, SpELExpressionEvaluator, Object) - 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
 
getWriteResult() - Method in exception org.springframework.data.mongodb.core.MongoDataIntegrityViolationException
Returns the WriteResult that caused the exception.
getX() - Method in class org.springframework.data.mongodb.core.geo.Point
 
getY() - Method in class org.springframework.data.mongodb.core.geo.Point
 
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
 
hasCustomReadTarget(Class<?>, Class<?>) - Method in class org.springframework.data.mongodb.core.convert.CustomConversions
Returns whether we have a custom conversion registered to read 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 write 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 write an object of the given source type into an object of the given Mongo native target type.
hashCode() - Method in class org.springframework.data.mongodb.core.geo.Box
 
hashCode() - Method in class org.springframework.data.mongodb.core.geo.Circle
 
hashCode() - Method in class org.springframework.data.mongodb.core.geo.Distance
 
hashCode() - Method in class org.springframework.data.mongodb.core.geo.GeoResult
 
hashCode() - Method in class org.springframework.data.mongodb.core.geo.GeoResults
 
hashCode() - Method in class org.springframework.data.mongodb.core.geo.Point
 
hashCode() - Method in class org.springframework.data.mongodb.core.geo.Polygon
 
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.mapreduce.MapReduceCounts
 
hashCode() - Method in class org.springframework.data.mongodb.core.mapreduce.MapReduceTiming
 
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.Query
 
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
 
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
 
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
 
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
 
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
 
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.
isAssociation() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
 
isAssociation() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
 
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
 
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 propert 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.
isDropDuplicates() - Method in class org.springframework.data.mongodb.core.index.IndexInfo
 
isExplicitIdProperty() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
 
isExplicitIdProperty() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
Returns whether the property is explicitly marked as an identifier property of the owning PersistentEntity.
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 te query is a geo near query.
isIdProperty() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
Also considers fields as id that are of supported id type and name.
isIdProperty() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
 
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.
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
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.
isSingleton() - Method in class org.springframework.data.mongodb.core.MongoFactoryBean
 
isSingleton() - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
 
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.
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.
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
 
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.geo.GeoResults
 
iterator() - Method in class org.springframework.data.mongodb.core.geo.Polygon
 
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.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

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.
lastModified() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
 
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
 
log - Static variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
log - Variable in class org.springframework.data.mongodb.crossstore.MongoChangeSetPersister
 
logCommandExecutionError(DBObject, CommandResult) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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
 
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(MongoDbFactory, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty>) - Constructor for class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Creates a new MappingMongoConverter given the new MongoDbFactory and MappingContext.
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
Creates a new MapReduceResults from the given mapped results and the raw one.
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.
MatchOperation - Class in org.springframework.data.mongodb.core.aggregation
Encapsulates the $match-operation
MatchOperation(Criteria) - Constructor for class org.springframework.data.mongodb.core.aggregation.MatchOperation
Creates a new MatchOperation for the given Criteria.
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.
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.
maybeConvertList(Iterable<?>) - 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
 
Metric - Interface in org.springframework.data.mongodb.core.geo
Interface for Metrics that can be applied to a base scale.
Metrics - Enum in org.springframework.data.mongodb.core.geo
Commonly used Metrics for NearQuerys.
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.
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
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 annoated 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
 
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.
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 - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
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.
MongoDocumentWriter - Interface in org.springframework.data.mongodb.core
 
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
Convenient factory for configuring MongoDB.
MongoFactoryBean() - Constructor for class org.springframework.data.mongodb.core.MongoFactoryBean
 
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
A factory bean for construction of a MongoOptions instance
MongoOptionsFactoryBean() - Constructor for class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
 
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
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) - Constructor for class org.springframework.data.mongodb.repository.cdi.MongoRepositoryBean
Creates a new MongoRepositoryBean.
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.

N

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
 
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.
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.
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
 
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
num(int) - Method in class org.springframework.data.mongodb.core.query.NearQuery
Configures the maximum number of results to return.

O

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
 
onApplicationEvent(MappingContextEvent<MongoPersistentEntity<?>, MongoPersistentProperty>) - 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
 
OperationCounters - Class in org.springframework.data.mongodb.monitor
JMX Metrics for Operation counters
OperationCounters(Mongo) - Constructor for class org.springframework.data.mongodb.monitor.OperationCounters
 
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
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.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.
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

parse(Element, ParserContext) - Method in class org.springframework.data.mongodb.config.MappingMongoConverterParser
 
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.
Point - Class in org.springframework.data.mongodb.core.geo
Represents a geospatial point value.
Point(double, double) - Constructor for class org.springframework.data.mongodb.core.geo.Point
 
Point(Point) - Constructor for class org.springframework.data.mongodb.core.geo.Point
 
Polygon - Class in org.springframework.data.mongodb.core.geo
Simple value object to represent a Polygon.
Polygon(Point, Point, Point, Point...) - Constructor for class org.springframework.data.mongodb.core.geo.Polygon
Creates a new Polygon for the given Points.
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
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, XmlRepositoryConfigurationSource) - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
 
postProcess(BeanDefinitionBuilder, AnnotationRepositoryConfigurationSource) - Method in class org.springframework.data.mongodb.repository.config.MongoRepositoryConfigurationExtension
 
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.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.ProjectionOperationBuilder - Class in org.springframework.data.mongodb.core.aggregation
Builder for ProjectionOperations on a field.
ProjectionOperation.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.
PROPERTIES - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
PropertyNameFieldNamingStrategy - Enum in org.springframework.data.mongodb.core.mapping
publishEvent(ApplicationEvent) - 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
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(Criteria) - Constructor for class org.springframework.data.mongodb.core.query.Query
Creates a new Query using the given Criteria.
query(Criteria) - Static method in class org.springframework.data.mongodb.core.query.Query
Static factory method to create a Query using the provided Criteria.
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.
QueryUtils - Class in org.springframework.data.mongodb.repository.query
Deprecated.

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
 
read(TypeInformation<S>, DBObject, Object) - 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, Object) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Reads the given DBObject into a Map. will recursively resolve nested Maps as well.
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
regex(String, String) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a criterion using a $regex and $options
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.
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(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
 
resetIndexCache() - Method in interface org.springframework.data.mongodb.core.IndexOperations
Clears all indices that have not yet been applied to this collection.
resolve(MongoAction) - Method in interface org.springframework.data.mongodb.core.WriteConcernResolver
Resolve the WriteConcern given the MongoAction.
resolveId(Element, AbstractBeanDefinition, ParserContext) - Method in class org.springframework.data.mongodb.config.MongoDbFactoryParser
 
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".

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.
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.ServerAddressPropertyEditor
 
setAsText(String) - Method in class org.springframework.data.mongodb.config.WriteConcernPropertyEditor
Parse a string to a List
setAutoConnectRetry(boolean) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
this controls whether or not on a connect, the system retries automatically
setCapped(Boolean) - Method in class org.springframework.data.mongodb.core.CollectionOptions
 
setCollectionPattern(String) - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
setConnectionsPerHost(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
number of connections allowed per host will block if run out
setConnectTimeout(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
connect timeout in milliseconds. 0 is default and infinite
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.
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
 
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.MongoFactoryBean
 
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.
setHost(String) - Method in class org.springframework.data.mongodb.core.MongoFactoryBean
 
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.
setMaxAutoConnectRetryTime(long) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
The maximum amount of time in millisecons to spend retrying to open connection to the same server.
setMaxDocuments(Integer) - Method in class org.springframework.data.mongodb.core.CollectionOptions
 
setMaxWaitTime(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
max wait time of a blocking thread for a connection
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
 
setMongoTemplate(MongoTemplate) - Method in class org.springframework.data.mongodb.crossstore.MongoChangeSetPersister
 
setName(String) - Method in class org.springframework.data.mongodb.core.index.IndexPredicate
 
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.MongoFactoryBean
 
setPort(int) - Method in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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.MongoFactoryBean
 
setSize(Integer) - Method in class org.springframework.data.mongodb.core.CollectionOptions
 
setSlaveOk(boolean) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
Specifies if the driver is allowed to read from secondaries or slaves.
setSocketKeepAlive(boolean) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
This controls whether or not to have socket keep alive
setSocketTimeout(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
socket timeout. 0 is default and infinite
setSortObject(DBObject) - Method in class org.springframework.data.mongodb.core.query.BasicQuery
 
setThreadsAllowedToBlockForConnectionMultiplier(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
multiplier for connectionsPerHost for # of threads that can block if connectionsPerHost is 10, and threadsAllowedToBlockForConnectionMultiplier is 5, then 50 threads can block more than that and an exception will be throw
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
 
setUseFieldAccessOnly(boolean) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
Configures whether to use field access only for entity mapping.
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.MongoFactoryBean
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
This controls whether or not to fsync.
setWriteNumber(int) - Method in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
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
This controls timeout for write operations in milliseconds.
Shape - Interface in org.springframework.data.mongodb.core.geo
Common interface for all shapes.
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
Create an instance of SimpleMongoDbFactory given the Mongo instance and database name.
SimpleMongoDbFactory(Mongo, String, UserCredentials) - Constructor for class org.springframework.data.mongodb.core.SimpleMongoDbFactory
Create an instance of SimpleMongoDbFactory given the Mongo instance, database name, and username/password
SimpleMongoDbFactory(MongoURI) - Constructor for class org.springframework.data.mongodb.core.SimpleMongoDbFactory
Creates a new SimpleMongoDbFactory instance from the given MongoURI.
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(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
 
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
 
socketKeepAlive - Variable in class org.springframework.data.mongodb.core.MongoOptionsFactoryBean
This controls whether or not to have socket keep alive turned on (SO_KEEPALIVE).
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.
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
 
spelExpressionParser - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
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, 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, 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
 
StringBasedMongoQuery - Class in org.springframework.data.mongodb.repository.query
Query to use a plain JSON String to create the Query to actually execute.
StringBasedMongoQuery(String, MongoQueryMethod, MongoOperations) - Constructor for class org.springframework.data.mongodb.repository.query.StringBasedMongoQuery
Creates a new StringBasedMongoQuery.
StringBasedMongoQuery(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

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(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.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(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.geo.Box
 
toString() - Method in class org.springframework.data.mongodb.core.geo.Circle
 
toString() - Method in class org.springframework.data.mongodb.core.geo.Distance
 
toString() - Method in class org.springframework.data.mongodb.core.geo.GeoResult
 
toString() - Method in class org.springframework.data.mongodb.core.geo.GeoResults
 
toString() - Method in class org.springframework.data.mongodb.core.geo.Point
 
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
 
TRACEBACK - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
translateExceptionIfPossible(RuntimeException) - Method in class org.springframework.data.mongodb.core.MongoExceptionTranslator
 
translateExceptionIfPossible(RuntimeException) - Method in class org.springframework.data.mongodb.core.MongoFactoryBean
 
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.
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.
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
 
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.
unwrapList(BasicDBList, TypeInformation<T>) - Method in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
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.Position - Enum in org.springframework.data.mongodb.core.query
 
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
 
useFieldAccessOnly - Variable in class org.springframework.data.mongodb.core.convert.MappingMongoConverter
 
usePropertyAccess() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
 
usePropertyAccess() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
Returns whether property access shall be used for reading the property value.

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.
valueOf(String) - Static method in enum org.springframework.data.mongodb.core.geo.Metrics
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.mapping.PropertyNameFieldNamingStrategy
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.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.geo.Metrics
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.mapping.PropertyNameFieldNamingStrategy
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() - 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.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(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.
withBits(int) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
 
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
 
withinSphere(Circle) - Method in class org.springframework.data.mongodb.core.query.Criteria
Creates a geospatial criterion using a $within $center operation.
withMax(int) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
 
withMin(int) - Method in class org.springframework.data.mongodb.core.index.GeospatialIndex
 
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
 

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 Y 
Spring Data MongoDB

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.