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

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, 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
 
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
 
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(String) - Method in class org.springframework.data.mongodb.core.query.Criteria
Static factory method to create a Criteria using the provided key
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
 
applyPagination(Query, Pageable) - Static method in class org.springframework.data.mongodb.repository.query.QueryUtils
Deprecated.
applySorting(Query, Sort) - Static method in class org.springframework.data.mongodb.repository.query.QueryUtils
Deprecated.
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
 

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) - 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
 
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
 
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
 
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) - Constructor for class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
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(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
Creates a default IndexField with the given key and Order.
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
 
createIsNewStrategyFactoryBeanDefinition(String, ParserContext, Element) - Static method in class org.springframework.data.mongodb.config.MappingMongoConverterParser
 
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
 
createPersistentEntity(TypeInformation<T>) - Method in class org.springframework.data.mongodb.core.mapping.SimpleMongoMappingContext
Deprecated.
 
createPersistentProperty(Field, PropertyDescriptor, BasicMongoPersistentEntity<?>, SimpleTypeHolder) - Method in class org.springframework.data.mongodb.core.mapping.MongoMappingContext
 
createPersistentProperty(Field, PropertyDescriptor, SimpleMongoMappingContext.SimpleMongoPersistentEntity<?>, SimpleTypeHolder) - Method in class org.springframework.data.mongodb.core.mapping.SimpleMongoMappingContext
Deprecated.
 
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_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
 
DefaultMongoTypeMapper.DBObjectTypeAliasAccessor(String) - Constructor for class org.springframework.data.mongodb.core.convert.DefaultMongoTypeMapper.DBObjectTypeAliasAccessor
 
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.
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>, 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
 
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.
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

The query document is specified as a standard DBObject and so is the fields specification.

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
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) - 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(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
 
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 - 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
 
fields() - Method in class org.springframework.data.mongodb.core.query.Query
 
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
 
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
 
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.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.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
 
getFieldName() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
Returns the key to be used to store the value of the property inside a Mongo DBObject.
getFieldName() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
 
getFieldName() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
Returns the name of the field a property is persisted to.
getFieldOrder() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
 
getFieldOrder() - Method in interface org.springframework.data.mongodb.core.mapping.MongoPersistentProperty
Returns the order of the field if defined.
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
 
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, 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.
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 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
Returns the order of the IndexField or null in case we have a geo index field.
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
 
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
 
getRollovers() - Method in class org.springframework.data.mongodb.monitor.AssertMetrics
 
getScope() - Method in class org.springframework.data.mongodb.repository.cdi.MongoRepositoryBean
 
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.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.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
 
getSortObject() - Method in class org.springframework.data.mongodb.core.query.Sort
Deprecated.
 
getSource() - Method in class org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent
 
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.AfterLoadEvent
Returns the type for which the AfterLoadEvent shall be invoked for.
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.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, 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
 
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, Order) - Constructor for class org.springframework.data.mongodb.core.index.Index
 
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
isAssociation() - Method in class org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty
 
isAssociation() - Method in class org.springframework.data.mongodb.core.mapping.CachingMongoPersistentProperty
 
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
 
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.
isNewStrategyFactory() - Method in class org.springframework.data.mongodb.config.AbstractMongoConfiguration
isRemove() - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
 
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.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

lastModified() - Method in class org.springframework.data.mongodb.gridfs.GridFsResource
 
LEVEL - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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
 
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
 
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.
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
MongoDataIntegrityViolationException(String, WriteResult, MongoActionOperation) - Constructor for exception org.springframework.data.mongodb.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
 

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.
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
 
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 number of results to return.

O

on(String, Order) - Method in class org.springframework.data.mongodb.core.index.Index
 
on(String, Order) - Method in class org.springframework.data.mongodb.core.query.Sort
Deprecated.
 
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
 
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
 
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
An enum that specifies the ordering for sort or index specifications
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.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
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
 
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
 
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.
processDocument(DBObject) - Method in interface org.springframework.data.mongodb.core.DocumentCallbackHandler
 
PROPERTIES - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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, 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
Collection of utility methods to apply sorting and pagination to a DBCursor.

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<T>) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Remove all documents that match the provided query document criteria from the the collection used to store the entityClass.
remove(Query, String) - Method in interface org.springframework.data.mongodb.core.MongoOperations
Remove all documents from the specified collection that match the provided query document criteria.
remove(Object) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
remove(Object, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
remove(Query, Class<T>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
remove(Query, 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
 
returnNew(boolean) - Method in class org.springframework.data.mongodb.core.FindAndModifyOptions
 

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
 
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.
SimpleMongoMappingContext - Class in org.springframework.data.mongodb.core.mapping
Deprecated.
use MongoMappingContext instead.
SimpleMongoMappingContext() - Constructor for class org.springframework.data.mongodb.core.mapping.SimpleMongoMappingContext
Deprecated.
 
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) - Method in class org.springframework.data.mongodb.core.query.Query
 
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() - Method in class org.springframework.data.mongodb.core.query.Query
Deprecated.
use Query.with(Sort) instead
Sort - Class in org.springframework.data.mongodb.core.query
Sort() - Constructor for class org.springframework.data.mongodb.core.query.Sort
Deprecated.
 
Sort(String, Order) - Constructor for class org.springframework.data.mongodb.core.query.Sort
Deprecated.
 
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
 

T

TIMESTAMP - Static variable in class org.springframework.data.mongodb.log4j.MongoLog4jAppender
 
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.
toOrder(Sort.Order) - Static method in class org.springframework.data.mongodb.repository.query.QueryUtils
 
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
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
 
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
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<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
updateFirst(Query, Update, String) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
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<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
updateMulti(Query, Update, 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<?>) - Method in class org.springframework.data.mongodb.core.MongoTemplate
 
upsert(Query, Update, 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.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
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.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
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.
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.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.
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 SpringSource. All Rights Reserved.