Index

A B C D E F G I L M N O R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACKNOWLEDGED - Static variable in class services.moleculer.mongo.MongoDAO
 
all(String, Object...) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of a field is an array that contains all the specified values.
and(Tree...) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that performs a logical AND of the provided list of filters.

B

BsonTree - Class in services.moleculer.mongo
 
BsonTree(Bson) - Constructor for class services.moleculer.mongo.BsonTree
 

C

closeResources(boolean) - Method in class services.moleculer.mongo.MongoConnectionPool
 
CollectAllPromise<T> - Class in services.moleculer.mongo
 
CollectAllPromise(Publisher) - Constructor for class services.moleculer.mongo.CollectAllPromise
 
collection - Variable in class services.moleculer.mongo.MongoDAO
 
connectionString - Variable in class services.moleculer.mongo.MongoConnectionPool
 
connectionTimeout - Variable in class services.moleculer.mongo.MongoConnectionPool
 
count() - Method in class services.moleculer.mongo.MongoDAO
Counts the number of documents in the collection.
count(Tree) - Method in class services.moleculer.mongo.MongoDAO
Counts the number of documents in the collection according to the given filters.
count(Tree, CountOptions) - Method in class services.moleculer.mongo.MongoDAO
Counts the number of documents in the collection according to the given options.
COUNT - Static variable in class services.moleculer.mongo.MongoDAO
 
createAscendingIndexes(String...) - Method in class services.moleculer.mongo.MongoDAO
Creates ascending indexes.
createDescendingIndexes(String...) - Method in class services.moleculer.mongo.MongoDAO
Creates descending indexes.
createFilter(Bson) - Method in class services.moleculer.mongo.MongoFilters
Create a Tree object from a Bson filter.
createGeo2DIndex(String) - Method in class services.moleculer.mongo.MongoDAO
Creates a geo2d index.
createGeo2DSphereIndexes(String...) - Method in class services.moleculer.mongo.MongoDAO
Creates 2dsphere indexes.
createHashedIndex(String) - Method in class services.moleculer.mongo.MongoDAO
Creates a hashed index.
createIndexes(Tree) - Method in class services.moleculer.mongo.MongoDAO
Creates an index by the specified Tree object.
createIndexes(Bson) - Method in class services.moleculer.mongo.MongoDAO
Creates an index by the specified Bson object.
createTextIndex(String) - Method in class services.moleculer.mongo.MongoDAO
Creates a text index.

D

database - Variable in class services.moleculer.mongo.MongoConnectionPool
 
deleteAll() - Method in class services.moleculer.mongo.MongoDAO
Removes all documents from the collection.
Sample to delete result structure:
DELETED - Static variable in class services.moleculer.mongo.MongoDAO
 
deleteMany(Tree) - Method in class services.moleculer.mongo.MongoDAO
Removes all documents from the collection that match the given query filter.
deleteMany(Tree, DeleteOptions) - Method in class services.moleculer.mongo.MongoDAO
Removes all documents from the collection that match the given query filter.
deleteOne(Tree) - Method in class services.moleculer.mongo.MongoDAO
Removes at most one document from the collection that matches the given filter.
deleteOne(Tree, DeleteOptions) - Method in class services.moleculer.mongo.MongoDAO
Removes at most one document from the collection that matches the given filter.
destroy() - Method in class services.moleculer.mongo.MongoConnectionPool
 
drop() - Method in class services.moleculer.mongo.MongoDAO
Drops this collection from the Database.
dropIndex(String) - Method in class services.moleculer.mongo.MongoDAO
Drops the specified index.
dropIndex(String, DropIndexOptions) - Method in class services.moleculer.mongo.MongoDAO
Drops the given index.

E

elemMatch(String, Tree) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents containing a field that is an array where at least one member of the array matches the given filter.
eq(String) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the "_id" field equals the specified document identifier.
eq(String, Object) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of the field name equals the specified value.
exists(String) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents that either contain the given field.
expr(Tree) - Method in class services.moleculer.mongo.MongoFilters
Allows the use of aggregation expressions within the query language.

F

finalize() - Method in class services.moleculer.mongo.MongoConnectionPool
 
find(Tree) - Method in class services.moleculer.mongo.MongoDAO
Queries the all records from the collection by the specified filter.
find(Tree, Tree) - Method in class services.moleculer.mongo.MongoDAO
Queries the all records from the collection by the specified filter.
find(Tree, Tree, int, int) - Method in class services.moleculer.mongo.MongoDAO
Queries the specified number of records from the collection.
findOne(Tree) - Method in class services.moleculer.mongo.MongoDAO
Finds one document by the specified query filter.
findOneAndDelete(Tree) - Method in class services.moleculer.mongo.MongoDAO
Atomically find a document and remove it.
findOneAndDelete(Tree, FindOneAndDeleteOptions) - Method in class services.moleculer.mongo.MongoDAO
Atomically find a document and remove it.
findOneAndReplace(Tree, Tree) - Method in class services.moleculer.mongo.MongoDAO
Atomically find a document and replace it.
findOneAndReplace(Tree, Tree, FindOneAndReplaceOptions) - Method in class services.moleculer.mongo.MongoDAO
Atomically find a document and replace it.
findOneAndUpdate(Tree, Tree) - Method in class services.moleculer.mongo.MongoDAO
Atomically find a document and update it.
findOneAndUpdate(Tree, Tree, FindOneAndUpdateOptions) - Method in class services.moleculer.mongo.MongoDAO
Atomically find a document and update it.

G

geoIntersects(String, Geometry) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents containing a field with geospatial data that intersects with the specified shape.
geoWithin(String, Geometry) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents containing a field with geospatial data that exists entirely within the specified shape.
geoWithinBox(String, double, double, double, double) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents containing a field with grid coordinates data that exist entirely within the specified box.
geoWithinCenter(String, double, double, double) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents containing a field with grid coordinates data that exist entirely within the specified circle.
geoWithinPolygon(String, List) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents containing a field with grid coordinates data that exist entirely within the specified polygon.
getCollection() - Method in class services.moleculer.mongo.MongoDAO
 
getConnectionString() - Method in class services.moleculer.mongo.MongoConnectionPool
 
getConnectionTimeout() - Method in class services.moleculer.mongo.MongoConnectionPool
 
getDatabase() - Method in class services.moleculer.mongo.MongoConnectionPool
 
getMaxItemsPerQuery() - Method in class services.moleculer.mongo.MongoDAO
 
getMongoDatabase() - Method in class services.moleculer.mongo.MongoConnectionPool
 
gt(String, Object) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of the given field is greater than the specified value.
gte(String, Object) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of the given field is greater than or equal to the specified value.

I

ID - Static variable in class services.moleculer.mongo.MongoDAO
 
in(String, Object...) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of a field equals any value in the list of specified values.
init() - Method in class services.moleculer.mongo.MongoConnectionPool
 
insertOne(Tree) - Method in class services.moleculer.mongo.MongoDAO
Inserts the provided document.
insertOne(Tree, InsertOneOptions) - Method in class services.moleculer.mongo.MongoDAO
Inserts the provided document.

L

listIndexes() - Method in class services.moleculer.mongo.MongoDAO
Get all the indexes in this collection.

Sample return structure:
logger - Static variable in class services.moleculer.mongo.MongoConnectionPool
 
lt(String, Object) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of the given field is less than the specified value.
lte(String, Object) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of the given field is less than or equal to the specified value.

M

mapReduce(String, String) - Method in class services.moleculer.mongo.MongoDAO
Aggregates documents according to the specified map-reduce function.
MATCHED - Static variable in class services.moleculer.mongo.MongoDAO
 
maxItemsPerQuery - Variable in class services.moleculer.mongo.MongoDAO
 
mod(String, long, long) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of a field divided by a divisor has the specified remainder (i.e. perform a modulo operation to select documents).
MODIFIED - Static variable in class services.moleculer.mongo.MongoDAO
 
mongoClient - Variable in class services.moleculer.mongo.MongoConnectionPool
 
MongoCollection - Annotation Interface in services.moleculer.mongo
Name of the Mongo Collection.
MongoConnection - Annotation Interface in services.moleculer.mongo
Name of the Mongo Connection.
MongoConnectionPool - Class in services.moleculer.mongo
Connection Pool for MongoDB.
MongoConnectionPool() - Constructor for class services.moleculer.mongo.MongoConnectionPool
 
MongoDAO - Class in services.moleculer.mongo
Superclass of all Mongo handlers.
MongoDAO() - Constructor for class services.moleculer.mongo.MongoDAO
 
mongoDatabase - Variable in class services.moleculer.mongo.MongoConnectionPool
 
MongoFilters - Class in services.moleculer.mongo
 
MongoFilters() - Constructor for class services.moleculer.mongo.MongoFilters
 

N

ne(String, Object) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of the field name does not equal the specified value.
near(String, Point, Double, Double) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents containing a field with geospatial data that is near the specified GeoJSON point.
nin(String, Object...) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of a field does not equal any of the specified values or does not exist.
nor(Tree...) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that performs a logical NOR operation on all the specified filters.
not(Tree) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents that do not match the passed in filter.
notExists(String) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents that either do not contain the given field.

O

onComplete() - Method in class services.moleculer.mongo.CollectAllPromise
 
onComplete() - Method in class services.moleculer.mongo.SingleResultPromise
 
onError(Throwable) - Method in class services.moleculer.mongo.CollectAllPromise
 
onError(Throwable) - Method in class services.moleculer.mongo.SingleResultPromise
 
onNext(T) - Method in class services.moleculer.mongo.CollectAllPromise
 
onNext(T) - Method in class services.moleculer.mongo.SingleResultPromise
 
onSubscribe(Subscription) - Method in class services.moleculer.mongo.CollectAllPromise
 
onSubscribe(Subscription) - Method in class services.moleculer.mongo.SingleResultPromise
 
or(Tree...) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that preforms a logical OR of the provided list of filters.

R

regex(String, String) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of the field matches the given regular expression pattern with the given options applied.
regex(String, String, String) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of the field matches the given regular expression pattern with the given options applied.
renameCollection(String, String) - Method in class services.moleculer.mongo.MongoDAO
Rename the collection.
renameCollection(String, String, RenameCollectionOptions) - Method in class services.moleculer.mongo.MongoDAO
Rename the collection.
replaceOne(Tree, Tree) - Method in class services.moleculer.mongo.MongoDAO
Replace a document in the collection according to the specified arguments.
replaceOne(Tree, Tree, ReplaceOptions) - Method in class services.moleculer.mongo.MongoDAO
Replace a document in the collection according to the specified arguments.
ROWS - Static variable in class services.moleculer.mongo.MongoDAO
 

S

services.moleculer.mongo - package services.moleculer.mongo
 
SET - Static variable in class services.moleculer.mongo.MongoDAO
 
setApplicationContext(ApplicationContext) - Method in class services.moleculer.mongo.SpringMongoDAO
 
setCollection(MongoCollection) - Method in class services.moleculer.mongo.MongoDAO
 
setConnectionString(String) - Method in class services.moleculer.mongo.MongoConnectionPool
 
setConnectionTimeout(long) - Method in class services.moleculer.mongo.MongoConnectionPool
 
setDatabase(String) - Method in class services.moleculer.mongo.MongoConnectionPool
 
setMaxItemsPerQuery(int) - Method in class services.moleculer.mongo.MongoDAO
 
setMongoConnectionPool(MongoConnectionPool) - Method in class services.moleculer.mongo.MongoDAO
Sets the MongoConnectionPool of this DAO.
SingleResultPromise<T> - Class in services.moleculer.mongo
 
SingleResultPromise(Publisher) - Constructor for class services.moleculer.mongo.SingleResultPromise
 
size(String, int) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents where the value of a field is an array of the specified size.
SpringMongoDAO - Class in services.moleculer.mongo
 
SpringMongoDAO() - Constructor for class services.moleculer.mongo.SpringMongoDAO
 

T

text(String) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents matching the given search term.
text(String, TextSearchOptions) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents matching the given the search term with the given text search options.
thenWithResult(CheckedFunction) - Method in class services.moleculer.mongo.SingleResultPromise
 
toBson(Tree) - Method in class services.moleculer.mongo.MongoFilters
Converts Tree object to Bson object.

U

updateMany(Tree, Tree) - Method in class services.moleculer.mongo.MongoDAO
Update all documents in the collection according to the specified arguments.
updateOne(Tree, Tree) - Method in class services.moleculer.mongo.MongoDAO
Update a single document in the collection according to the specified arguments.

V

value - Variable in class services.moleculer.mongo.SingleResultPromise
 
value() - Element in annotation interface services.moleculer.mongo.MongoCollection
 
value() - Element in annotation interface services.moleculer.mongo.MongoConnection
 
values - Variable in class services.moleculer.mongo.CollectAllPromise
 

W

where(String) - Method in class services.moleculer.mongo.MongoFilters
Creates a filter that matches all documents for which the given expression is true.
A B C D E F G I L M N O R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form