public interface MongoService extends MongoClient
DEFAULT_DB_NAME, DEFAULT_POOL_NAMEcreateNonShared, createShared, createSharedstatic MongoService createEventBusProxy(Vertx vertx, String address)
vertx - the Vert.x instanceaddress - the address the service is listening on on the event busMongoService save(String collection, JsonObject document, Handler<AsyncResult<String>> resultHandler)
save in interface MongoClientMongoService saveWithOptions(String collection, JsonObject document, WriteOption writeOption, Handler<AsyncResult<String>> resultHandler)
saveWithOptions in interface MongoClientMongoService insert(String collection, JsonObject document, Handler<AsyncResult<String>> resultHandler)
insert in interface MongoClientMongoService insertWithOptions(String collection, JsonObject document, WriteOption writeOption, Handler<AsyncResult<String>> resultHandler)
insertWithOptions in interface MongoClient@Deprecated MongoService update(String collection, JsonObject query, JsonObject update, Handler<AsyncResult<Void>> resultHandler)
update in interface MongoClientMongoService updateCollection(String collection, JsonObject query, JsonObject update, Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
updateCollection in interface MongoClient@Deprecated MongoService updateWithOptions(String collection, JsonObject query, JsonObject update, UpdateOptions options, Handler<AsyncResult<Void>> resultHandler)
updateWithOptions in interface MongoClientMongoService updateCollectionWithOptions(String collection, JsonObject query, JsonObject update, UpdateOptions options, Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
updateCollectionWithOptions in interface MongoClient@Deprecated MongoService replace(String collection, JsonObject query, JsonObject replace, Handler<AsyncResult<Void>> resultHandler)
replace in interface MongoClientMongoService replaceDocuments(String collection, JsonObject query, JsonObject replace, Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
replaceDocuments in interface MongoClient@Deprecated MongoService replaceWithOptions(String collection, JsonObject query, JsonObject replace, UpdateOptions options, Handler<AsyncResult<Void>> resultHandler)
replaceWithOptions in interface MongoClientMongoService replaceDocumentsWithOptions(String collection, JsonObject query, JsonObject replace, UpdateOptions options, Handler<AsyncResult<MongoClientUpdateResult>> resultHandler)
replaceDocumentsWithOptions in interface MongoClientMongoService bulkWrite(String collection, List<BulkOperation> operations, Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler)
bulkWrite in interface MongoClientMongoService bulkWriteWithOptions(String collection, List<BulkOperation> operations, BulkWriteOptions bulkWriteOptions, Handler<AsyncResult<MongoClientBulkWriteResult>> resultHandler)
bulkWriteWithOptions in interface MongoClientMongoService find(String collection, JsonObject query, Handler<AsyncResult<List<JsonObject>>> resultHandler)
find in interface MongoClientdefault ReadStream<JsonObject> findBatch(String collection, JsonObject query)
findBatch in interface MongoClientMongoService findWithOptions(String collection, JsonObject query, FindOptions options, Handler<AsyncResult<List<JsonObject>>> resultHandler)
findWithOptions in interface MongoClientdefault ReadStream<JsonObject> findBatchWithOptions(String collection, JsonObject query, FindOptions options)
findBatchWithOptions in interface MongoClientMongoService findOne(String collection, JsonObject query, JsonObject fields, Handler<AsyncResult<JsonObject>> resultHandler)
findOne in interface MongoClientMongoService findOneAndUpdate(String collection, JsonObject query, JsonObject update, Handler<AsyncResult<JsonObject>> resultHandler)
findOneAndUpdate in interface MongoClientMongoService findOneAndUpdateWithOptions(String collection, JsonObject query, JsonObject update, FindOptions findOptions, UpdateOptions updateOptions, Handler<AsyncResult<JsonObject>> resultHandler)
findOneAndUpdateWithOptions in interface MongoClientMongoService findOneAndReplace(String collection, JsonObject query, JsonObject replace, Handler<AsyncResult<JsonObject>> resultHandler)
findOneAndReplace in interface MongoClientMongoService findOneAndReplaceWithOptions(String collection, JsonObject query, JsonObject update, FindOptions findOptions, UpdateOptions updateOptions, Handler<AsyncResult<JsonObject>> resultHandler)
findOneAndReplaceWithOptions in interface MongoClientMongoService findOneAndDelete(String collection, JsonObject query, Handler<AsyncResult<JsonObject>> resultHandler)
findOneAndDelete in interface MongoClientMongoService findOneAndDeleteWithOptions(String collection, JsonObject query, FindOptions findOptions, Handler<AsyncResult<JsonObject>> resultHandler)
findOneAndDeleteWithOptions in interface MongoClientMongoService count(String collection, JsonObject query, Handler<AsyncResult<Long>> resultHandler)
count in interface MongoClient@Deprecated MongoService remove(String collection, JsonObject query, Handler<AsyncResult<Void>> resultHandler)
remove in interface MongoClientMongoService removeDocuments(String collection, JsonObject query, Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
removeDocuments in interface MongoClient@Deprecated MongoService removeWithOptions(String collection, JsonObject query, WriteOption writeOption, Handler<AsyncResult<Void>> resultHandler)
removeWithOptions in interface MongoClientMongoService removeDocumentsWithOptions(String collection, JsonObject query, WriteOption writeOption, Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
removeDocumentsWithOptions in interface MongoClient@Deprecated MongoService removeOne(String collection, JsonObject query, Handler<AsyncResult<Void>> resultHandler)
removeOne in interface MongoClientMongoService removeDocument(String collection, JsonObject query, Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
removeDocument in interface MongoClient@Deprecated MongoService removeOneWithOptions(String collection, JsonObject query, WriteOption writeOption, Handler<AsyncResult<Void>> resultHandler)
removeOneWithOptions in interface MongoClientMongoService removeDocumentWithOptions(String collection, JsonObject query, WriteOption writeOption, Handler<AsyncResult<MongoClientDeleteResult>> resultHandler)
removeDocumentWithOptions in interface MongoClientMongoService createCollection(String collectionName, Handler<AsyncResult<Void>> resultHandler)
createCollection in interface MongoClientMongoService getCollections(Handler<AsyncResult<List<String>>> resultHandler)
getCollections in interface MongoClientMongoService dropCollection(String collection, Handler<AsyncResult<Void>> resultHandler)
dropCollection in interface MongoClientMongoService createIndex(String collection, JsonObject key, Handler<AsyncResult<Void>> resultHandler)
createIndex in interface MongoClientMongoService createIndexWithOptions(String collection, JsonObject key, IndexOptions options, Handler<AsyncResult<Void>> resultHandler)
createIndexWithOptions in interface MongoClientMongoService listIndexes(String collection, Handler<AsyncResult<JsonArray>> resultHandler)
listIndexes in interface MongoClientMongoService dropIndex(String collection, String indexName, Handler<AsyncResult<Void>> resultHandler)
dropIndex in interface MongoClientMongoService runCommand(String commandName, JsonObject command, Handler<AsyncResult<JsonObject>> resultHandler)
runCommand in interface MongoClientMongoService distinct(String collection, String fieldName, String resultClassname, Handler<AsyncResult<JsonArray>> resultHandler)
distinct in interface MongoClientdefault ReadStream<JsonObject> distinctBatch(String collection, String fieldName, String resultClassname)
distinctBatch in interface MongoClientMongoService distinctWithQuery(String collection, String fieldName, String resultClassname, JsonObject query, Handler<AsyncResult<JsonArray>> resultHandler)
distinctWithQuery in interface MongoClientdefault ReadStream<JsonObject> distinctBatchWithQuery(String collection, String fieldName, String resultClassname, JsonObject query)
distinctBatchWithQuery in interface MongoClientdefault ReadStream<JsonObject> distinctBatchWithQuery(String collection, String fieldName, String resultClassname, JsonObject query, int batchSize)
distinctBatchWithQuery in interface MongoClientvoid close()
close in interface MongoClientCopyright © 2018 Eclipse. All rights reserved.