Modifier and Type | Method and Description |
---|---|
JsonObject |
AbstractVerticle.config()
Get the configuration of the verticle.
|
JsonObject |
Context.config()
If the context is associated with a Verticle deployment, this returns the configuration that was specified when
the verticle was deployed.
|
JsonObject |
DeploymentOptions.getConfig()
Get the JSON configuration that will be passed to the verticle(s) when deployed.
|
JsonObject |
DeploymentOptions.toJson()
Convert this to JSON
|
Modifier and Type | Method and Description |
---|---|
void |
DeploymentOptions.fromJson(JsonObject json)
Initialise the fields of this instance from the specified JSON
|
DeploymentOptions |
DeploymentOptions.setConfig(JsonObject config)
Set the JSON configuration that will be passed to the verticle(s) when it's deployed
|
Constructor and Description |
---|
DeploymentOptions(JsonObject json)
Constructor for creating a instance from JSON
|
VertxOptions(JsonObject json)
Create an instance from a
JsonObject |
Constructor and Description |
---|
DatagramSocketOptions(JsonObject json)
Constructor to create options from JSON
|
Constructor and Description |
---|
DeliveryOptions(JsonObject json)
Create a delivery options from JSON
|
Constructor and Description |
---|
OpenOptions(JsonObject json)
Constructor to create options from JSON
|
Constructor and Description |
---|
HttpClientOptions(JsonObject json)
Constructor to create an options from JSON
|
HttpServerOptions(JsonObject json)
Create an options from JSON
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
JsonObject.clear()
Remove all the entries in this JSON object
|
JsonObject |
JsonObject.copy()
Copy the JSON object
|
JsonObject |
JsonArray.getJsonObject(int pos)
Get the JsonObject at position
pos in the array. |
JsonObject |
JsonObject.getJsonObject(String key)
Get the JsonObject value with the specified key
|
JsonObject |
JsonObject.getJsonObject(String key,
JsonObject def)
Like
getJsonObject(String) but specifying a default value to return if there is no entry. |
JsonObject |
JsonObject.mergeIn(JsonObject other)
Merge in another JSON object.
|
JsonObject |
JsonObject.put(String key,
Boolean value)
Put a Boolean into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
byte[] value)
Put a byte[] into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
CharSequence value)
Put an CharSequence into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
Double value)
Put a Double into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
Enum value)
Put an Enum into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
Float value)
Put a Float into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
Integer value)
Put an Integer into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
JsonArray value)
Put a JSON array into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
JsonObject value)
Put another JSON object into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
Long value)
Put a Long into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
Object value)
Put an Object into the JSON object with the specified key.
|
JsonObject |
JsonObject.put(String key,
String value)
Put a String into the JSON object with the specified key.
|
JsonObject |
JsonObject.putNull(String key)
Put a null value into the JSON object with the specified key.
|
Modifier and Type | Method and Description |
---|---|
JsonArray |
JsonArray.add(JsonObject value)
Add a JSON object to the JSON array.
|
JsonObject |
JsonObject.getJsonObject(String key,
JsonObject def)
Like
getJsonObject(String) but specifying a default value to return if there is no entry. |
JsonObject |
JsonObject.mergeIn(JsonObject other)
Merge in another JSON object.
|
JsonObject |
JsonObject.put(String key,
JsonObject value)
Put another JSON object into the JSON object with the specified key.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
MetricsOptions.toJson() |
Constructor and Description |
---|
MetricsOptions(JsonObject json)
Create an instance from a
JsonObject |
Constructor and Description |
---|
ClientOptionsBase(JsonObject json)
Create options from some JSON
|
JksOptions(JsonObject json)
Create options from JSON
|
NetClientOptions(JsonObject json)
Create options from JSON
|
NetServerOptions(JsonObject json)
Create some options from JSON
|
NetworkOptions(JsonObject json)
Constructor from JSON
|
PemKeyCertOptions(JsonObject json)
Create options from JSON
|
PemTrustOptions(JsonObject json)
Create options from JSON
|
PfxOptions(JsonObject json)
Create options from JSON
|
TCPSSLOptions(JsonObject json)
Create options from JSON
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
RoutingContext.getBodyAsJson() |
JsonObject |
Session.getPrincipal()
Get the principal
|
Modifier and Type | Method and Description |
---|---|
void |
Session.setPrincipal(JsonObject principal)
Set the principal (the unique user id) of the user -this signifies the user is logged in
|
Modifier and Type | Field and Description |
---|---|
static JsonObject |
PermittedOptions.DEFAULT_MATCH
The default permission match :
null . |
Modifier and Type | Method and Description |
---|---|
JsonObject |
PermittedOptions.getMatch() |
Modifier and Type | Method and Description |
---|---|
boolean |
EventBusBridgeHook.handleAuthorise(JsonObject message,
String sessionID,
Handler<AsyncResult<Boolean>> handler)
Called before authorisation - you can override authorisation here if you don't want the default
|
boolean |
EventBusBridgeHook.handleSendOrPub(SockJSSocket sock,
boolean send,
JsonObject msg,
String address)
Client is sending or publishing on the socket
|
PermittedOptions |
PermittedOptions.setMatch(JsonObject match)
This allows you to allow messages based on their structure.
|
Constructor and Description |
---|
BridgeOptions(JsonObject json)
Constructor from JSON
|
PermittedOptions(JsonObject json) |
SockJSHandlerOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
static AsyncSQLClient |
MySQLClient.createNonShared(Vertx vertx,
JsonObject config)
Create a MySQL client which maintains its own pool.
|
static AsyncSQLClient |
PostgreSQLClient.createNonShared(Vertx vertx,
JsonObject config)
Create a PostgreSQL client which maintains its own pool.
|
static AsyncSQLClient |
MySQLClient.createShared(Vertx vertx,
JsonObject config)
Like
MySQLClient.createShared(io.vertx.core.Vertx, JsonObject, String) but with the default pool name |
static AsyncSQLClient |
PostgreSQLClient.createShared(Vertx vertx,
JsonObject config)
Like
PostgreSQLClient.createShared(io.vertx.core.Vertx, JsonObject, String) but with the default pool name |
static AsyncSQLClient |
MySQLClient.createShared(Vertx vertx,
JsonObject config,
String poolName)
Create a MySQL client which shares its data source with any other MySQL clients created with the same
data source name
|
static AsyncSQLClient |
PostgreSQLClient.createShared(Vertx vertx,
JsonObject config,
String poolName)
Create a PostgreSQL client which shares its pool with any other MySQL clients created with the same
pool name
|
Modifier and Type | Method and Description |
---|---|
void |
AuthProvider.hasPermission(JsonObject principal,
String permission,
Handler<AsyncResult<Boolean>> resultHandler)
Handle whether a principal has a permission
|
void |
AuthProvider.hasRole(JsonObject principal,
String role,
Handler<AsyncResult<Boolean>> resultHandler)
Handle whether a principal has a role
|
AuthService |
AuthService.login(JsonObject principal,
JsonObject credentials,
Handler<AsyncResult<String>> resultHandler)
Authenticate (login) using the specified credentials.
|
AuthService |
AuthServiceVertxEBProxy.login(JsonObject principal,
JsonObject credentials,
Handler<AsyncResult<String>> resultHandler) |
void |
AuthProvider.login(JsonObject principal,
JsonObject credentials,
Handler<AsyncResult<Void>> resultHandler)
Handle the actual login
|
AuthService |
AuthService.loginWithTimeout(JsonObject principal,
JsonObject credentials,
long timeout,
Handler<AsyncResult<String>> resultHandler)
Authenticate (login) using the specified credentials.
|
AuthService |
AuthServiceVertxEBProxy.loginWithTimeout(JsonObject principal,
JsonObject credentials,
long timeout,
Handler<AsyncResult<String>> resultHandler) |
Modifier and Type | Method and Description |
---|---|
void |
AuthServiceVertxProxyHandler.handle(Message<JsonObject> msg) |
Modifier and Type | Method and Description |
---|---|
static ShiroAuthProvider |
ShiroAuthProvider.create(Vertx vertx,
ShiroAuthRealmType shiroAuthRealmType,
JsonObject config) |
static AuthService |
ShiroAuthService.create(Vertx vertx,
ShiroAuthRealmType authRealmType,
JsonObject config)
Create an auth service using the specified auth realm type.
|
boolean |
ShiroAuthRealm.hasPermission(JsonObject principal,
String permission) |
boolean |
ShiroAuthRealm.hasRole(JsonObject principal,
String role) |
void |
ShiroAuthRealm.login(JsonObject principal,
JsonObject credentials) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
MetricsService.getMetricsSnapshot(Measured o)
Will return the metrics that correspond with this measured object, null if no metrics is available.
|
Constructor and Description |
---|
DropwizardMetricsOptions(JsonObject json)
Create an instance from a
JsonObject |
Match(JsonObject json)
Create an instance from a
JsonObject |
Modifier and Type | Method and Description |
---|---|
static JDBCClient |
JDBCClient.createNonShared(Vertx vertx,
JsonObject config)
Create a JDBC client which maintains its own data source.
|
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config)
Like
JDBCClient.createShared(io.vertx.core.Vertx, JsonObject, String) but with the default data source name |
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a JDBC client which shares its data source with any other JDBC clients created with the same
data source name
|
Modifier and Type | Method and Description |
---|---|
DataSource |
DataSourceProvider.getDataSource(JsonObject config) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
MailAttachment.toJson()
convert this object to Json representation
|
JsonObject |
MailConfig.toJson()
convert config object to Json representation
|
JsonObject |
MailMessage.toJson()
convert the mail message to Json representation
|
Modifier and Type | Method and Description |
---|---|
void |
MailServiceVertxProxyHandler.handle(Message<JsonObject> msg) |
MailService |
MailService.sendMail(MailMessage email,
Handler<AsyncResult<JsonObject>> resultHandler)
send a single mail via MailService
|
MailService |
MailServiceVertxEBProxy.sendMail(MailMessage email,
Handler<AsyncResult<JsonObject>> resultHandler) |
Constructor and Description |
---|
MailAttachment(JsonObject json)
create a MailAttachment object from a JsonObject representation
|
MailConfig(JsonObject config)
construct config object from Json representation
|
MailMessage(JsonObject json)
construct object from a JsonObject representation
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
FindOptions.getFields()
Get the fields
|
JsonObject |
FindOptions.getSort()
Get the sort document
|
JsonObject |
FindOptions.toJson()
Convert to JSON
|
JsonObject |
UpdateOptions.toJson() |
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
static MongoClient |
MongoClient.createNonShared(Vertx vertx,
JsonObject config)
Create a Mongo client which maintains its own data source.
|
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config)
Like
MongoClient.createShared(io.vertx.core.Vertx, JsonObject, String) but with the default data source name |
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a Mongo client which shares its data source with any other Mongo clients created with the same
data source name
|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection
|
MongoClient |
MongoClient.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.remove(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Remove matching documents from a collection
|
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Remove a single matching document from a collection
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Remove a single matching document from a collection with the specified write option
|
MongoClient |
MongoClient.removeWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Remove matching documents from a collection with the specified write option
|
MongoClient |
MongoClient.replace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<Void>> resultHandler)
Replace matching documents in the specified collection
|
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Replace matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.runCommand(JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
MongoClient |
MongoClient.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection
|
MongoClient |
MongoClient.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection with the specified write option
|
FindOptions |
FindOptions.setFields(JsonObject fields)
Set the fields
|
FindOptions |
FindOptions.setSort(JsonObject sort)
Set the sort document
|
MongoClient |
MongoClient.update(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<Void>> resultHandler)
Update matching documents in the specified collection
|
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Update matching documents in the specified collection, specifying options
|
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.runCommand(JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
Constructor and Description |
---|
FindOptions(JsonObject json)
Constructor from JSON
|
UpdateOptions(JsonObject json)
Constructor from JSON
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
TestOptions.toJson() |
Constructor and Description |
---|
TestOptions(JsonObject json)
Create a new options from the specified json.
|
Modifier and Type | Method and Description |
---|---|
Handler<Message<JsonObject>> |
EventBusCollector.asMessageHandler() |
Modifier and Type | Method and Description |
---|---|
JsonObject |
ReportingOptions.toJson() |
JsonObject |
ReportOptions.toJson() |
Constructor and Description |
---|
ReportingOptions(JsonObject json)
Create a new options from the specified json.
|
ReportOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
Context.config()
If the context is associated with a Verticle deployment, this returns the configuration that was specified when
the verticle was deployed.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
RoutingContext.getBodyAsJson() |
JsonObject |
Session.getPrincipal()
Get the principal
|
Modifier and Type | Method and Description |
---|---|
void |
Session.setPrincipal(JsonObject principal)
Set the principal (the unique user id) of the user -this signifies the user is logged in
|
Modifier and Type | Method and Description |
---|---|
static AsyncSQLClient |
MySQLClient.createNonShared(Vertx vertx,
JsonObject config)
Create a MySQL client which maintains its own pool.
|
static AsyncSQLClient |
PostgreSQLClient.createNonShared(Vertx vertx,
JsonObject config)
Create a PostgreSQL client which maintains its own pool.
|
static AsyncSQLClient |
MySQLClient.createShared(Vertx vertx,
JsonObject config)
Like
MySQLClient.createShared(io.vertx.rxjava.core.Vertx, JsonObject, String) but with the default pool name |
static AsyncSQLClient |
PostgreSQLClient.createShared(Vertx vertx,
JsonObject config)
Like
PostgreSQLClient.createShared(io.vertx.rxjava.core.Vertx, JsonObject, String) but with the default pool name |
static AsyncSQLClient |
MySQLClient.createShared(Vertx vertx,
JsonObject config,
String poolName)
Create a MySQL client which shares its data source with any other MySQL clients created with the same
data source name
|
static AsyncSQLClient |
PostgreSQLClient.createShared(Vertx vertx,
JsonObject config,
String poolName)
Create a PostgreSQL client which shares its pool with any other MySQL clients created with the same
pool name
|
Modifier and Type | Method and Description |
---|---|
void |
AuthProvider.hasPermission(JsonObject principal,
String permission,
Handler<AsyncResult<Boolean>> resultHandler)
Handle whether a principal has a permission
|
rx.Observable<Boolean> |
AuthProvider.hasPermissionObservable(JsonObject principal,
String permission)
Handle whether a principal has a permission
|
void |
AuthProvider.hasRole(JsonObject principal,
String role,
Handler<AsyncResult<Boolean>> resultHandler)
Handle whether a principal has a role
|
rx.Observable<Boolean> |
AuthProvider.hasRoleObservable(JsonObject principal,
String role)
Handle whether a principal has a role
|
AuthService |
AuthService.login(JsonObject principal,
JsonObject credentials,
Handler<AsyncResult<String>> resultHandler)
Authenticate (login) using the specified credentials.
|
void |
AuthProvider.login(JsonObject principal,
JsonObject credentials,
Handler<AsyncResult<Void>> resultHandler)
Handle the actual login
|
rx.Observable<Void> |
AuthProvider.loginObservable(JsonObject principal,
JsonObject credentials)
Handle the actual login
|
rx.Observable<String> |
AuthService.loginObservable(JsonObject principal,
JsonObject credentials)
Authenticate (login) using the specified credentials.
|
AuthService |
AuthService.loginWithTimeout(JsonObject principal,
JsonObject credentials,
long timeout,
Handler<AsyncResult<String>> resultHandler)
Authenticate (login) using the specified credentials.
|
rx.Observable<String> |
AuthService.loginWithTimeoutObservable(JsonObject principal,
JsonObject credentials,
long timeout)
Authenticate (login) using the specified credentials.
|
Modifier and Type | Method and Description |
---|---|
static ShiroAuthProvider |
ShiroAuthProvider.create(Vertx vertx,
ShiroAuthRealmType shiroAuthRealmType,
JsonObject config) |
static AuthService |
ShiroAuthService.create(Vertx vertx,
ShiroAuthRealmType authRealmType,
JsonObject config)
Create an auth service using the specified auth realm type.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
MetricsService.getMetricsSnapshot(Measured o)
Will return the metrics that correspond with this measured object, null if no metrics is available.
|
Modifier and Type | Method and Description |
---|---|
static JDBCClient |
JDBCClient.createNonShared(Vertx vertx,
JsonObject config)
Create a JDBC client which maintains its own data source.
|
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config)
Like
JDBCClient.createShared(io.vertx.rxjava.core.Vertx, JsonObject, String) but with the default data source name |
static JDBCClient |
JDBCClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a JDBC client which shares its data source with any other JDBC clients created with the same
data source name
|
Modifier and Type | Method and Description |
---|---|
rx.Observable<List<JsonObject>> |
MongoClient.findObservable(String collection,
JsonObject query)
Find matching documents in the specified collection
|
rx.Observable<JsonObject> |
MongoClient.findOneObservable(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
rx.Observable<List<JsonObject>> |
MongoClient.findWithOptionsObservable(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
rx.Observable<JsonObject> |
MongoClient.runCommandObservable(JsonObject command)
Run an arbitrary MongoDB command.
|
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.count(String collection,
JsonObject query,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
rx.Observable<Long> |
MongoClient.countObservable(String collection,
JsonObject query)
Count matching documents in a collection.
|
static MongoClient |
MongoClient.createNonShared(Vertx vertx,
JsonObject config)
Create a Mongo client which maintains its own data source.
|
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config)
Like
MongoClient.createShared(io.vertx.rxjava.core.Vertx, JsonObject, String) but with the default data source name |
static MongoClient |
MongoClient.createShared(Vertx vertx,
JsonObject config,
String dataSourceName)
Create a Mongo client which shares its data source with any other Mongo clients created with the same
data source name
|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
rx.Observable<List<JsonObject>> |
MongoClient.findObservable(String collection,
JsonObject query)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
rx.Observable<JsonObject> |
MongoClient.findOneObservable(String collection,
JsonObject query,
JsonObject fields)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
rx.Observable<List<JsonObject>> |
MongoClient.findWithOptionsObservable(String collection,
JsonObject query,
FindOptions options)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.insert(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection
|
rx.Observable<String> |
MongoClient.insertObservable(String collection,
JsonObject document)
Insert a document in the specified collection
|
MongoClient |
MongoClient.insertWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Insert a document in the specified collection with the specified write option
|
rx.Observable<String> |
MongoClient.insertWithOptionsObservable(String collection,
JsonObject document,
WriteOption writeOption)
Insert a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.remove(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Remove matching documents from a collection
|
rx.Observable<Void> |
MongoClient.removeObservable(String collection,
JsonObject query)
Remove matching documents from a collection
|
MongoClient |
MongoClient.removeOne(String collection,
JsonObject query,
Handler<AsyncResult<Void>> resultHandler)
Remove a single matching document from a collection
|
rx.Observable<Void> |
MongoClient.removeOneObservable(String collection,
JsonObject query)
Remove a single matching document from a collection
|
MongoClient |
MongoClient.removeOneWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Remove a single matching document from a collection with the specified write option
|
rx.Observable<Void> |
MongoClient.removeOneWithOptionsObservable(String collection,
JsonObject query,
WriteOption writeOption)
Remove a single matching document from a collection with the specified write option
|
MongoClient |
MongoClient.removeWithOptions(String collection,
JsonObject query,
WriteOption writeOption,
Handler<AsyncResult<Void>> resultHandler)
Remove matching documents from a collection with the specified write option
|
rx.Observable<Void> |
MongoClient.removeWithOptionsObservable(String collection,
JsonObject query,
WriteOption writeOption)
Remove matching documents from a collection with the specified write option
|
MongoClient |
MongoClient.replace(String collection,
JsonObject query,
JsonObject replace,
Handler<AsyncResult<Void>> resultHandler)
Replace matching documents in the specified collection
|
rx.Observable<Void> |
MongoClient.replaceObservable(String collection,
JsonObject query,
JsonObject replace)
Replace matching documents in the specified collection
|
MongoClient |
MongoClient.replaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Replace matching documents in the specified collection, specifying options
|
rx.Observable<Void> |
MongoClient.replaceWithOptionsObservable(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options)
Replace matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.runCommand(JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
rx.Observable<JsonObject> |
MongoClient.runCommandObservable(JsonObject command)
Run an arbitrary MongoDB command.
|
MongoClient |
MongoClient.save(String collection,
JsonObject document,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection
|
rx.Observable<String> |
MongoClient.saveObservable(String collection,
JsonObject document)
Save a document in the specified collection
|
MongoClient |
MongoClient.saveWithOptions(String collection,
JsonObject document,
WriteOption writeOption,
Handler<AsyncResult<String>> resultHandler)
Save a document in the specified collection with the specified write option
|
rx.Observable<String> |
MongoClient.saveWithOptionsObservable(String collection,
JsonObject document,
WriteOption writeOption)
Save a document in the specified collection with the specified write option
|
MongoClient |
MongoClient.update(String collection,
JsonObject query,
JsonObject update,
Handler<AsyncResult<Void>> resultHandler)
Update matching documents in the specified collection
|
rx.Observable<Void> |
MongoClient.updateObservable(String collection,
JsonObject query,
JsonObject update)
Update matching documents in the specified collection
|
MongoClient |
MongoClient.updateWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options,
Handler<AsyncResult<Void>> resultHandler)
Update matching documents in the specified collection, specifying options
|
rx.Observable<Void> |
MongoClient.updateWithOptionsObservable(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options)
Update matching documents in the specified collection, specifying options
|
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.find(String collection,
JsonObject query,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection
|
MongoClient |
MongoClient.findOne(String collection,
JsonObject query,
JsonObject fields,
Handler<AsyncResult<JsonObject>> resultHandler)
Find a single matching document in the specified collection
|
MongoClient |
MongoClient.findWithOptions(String collection,
JsonObject query,
FindOptions options,
Handler<AsyncResult<List<JsonObject>>> resultHandler)
Find matching documents in the specified collection, specifying options
|
MongoClient |
MongoClient.runCommand(JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
Copyright © 2015. All Rights Reserved.