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 |
User.principal()
Get the underlying principal for the User.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthProvider.authenticate(JsonObject authInfo,
Handler<AsyncResult<User>> resultHandler)
Authenticate a user.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
JWTOptions.getHeader() |
JsonObject |
JWTOptions.toJSON() |
Modifier and Type | Method and Description |
---|---|
static JWTAuth |
JWTAuth.create(Vertx vertx,
JsonObject config)
Create a JWT auth provider
|
String |
JWTAuth.generateToken(JsonObject claims,
JWTOptions options)
Generate a new JWT token.
|
Constructor and Description |
---|
JWTOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
static ShiroAuth |
ShiroAuth.create(Vertx vertx,
ShiroAuthRealmType realmType,
JsonObject config)
Create a Shiro auth provider
|
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.
Note: in the case of scaled servers, the JsonObject returns an aggregation of the metrics as the
dropwizard backend reports to a single server.
|
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
|
JsonObject |
MailResult.toJson() |
Modifier and Type | Method and Description |
---|---|
MessageConsumer<JsonObject> |
MailServiceVertxProxyHandler.registerHandler(String address) |
Modifier and Type | Method and Description |
---|---|
void |
MailServiceVertxProxyHandler.handle(Message<JsonObject> msg) |
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
|
MailResult(JsonObject json) |
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(String commandName,
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(String commandName,
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 |
RoutingContext.getBodyAsJson() |
Modifier and Type | Field and Description |
---|---|
static JsonObject |
PermittedOptions.DEFAULT_MATCH
The default permitted match :
null . |
Modifier and Type | Method and Description |
---|---|
JsonObject |
PermittedOptions.getMatch() |
JsonObject |
BridgeEvent.rawMessage()
Get the raw JSON message for the event.
|
Modifier and Type | Method and Description |
---|---|
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 RedisClient |
RedisClient.create(Vertx vertx,
JsonObject config) |
Modifier and Type | Method and Description |
---|---|
RedisClient |
RedisClient.hgetall(String key,
Handler<AsyncResult<JsonObject>> handler)
Get all the fields and values in a hash
|
RedisClient |
RedisClient.info(Handler<AsyncResult<JsonObject>> handler)
Get information and statistics about the server
|
RedisClient |
RedisClient.infoSection(String section,
Handler<AsyncResult<JsonObject>> handler)
Get information and statistics about the server
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
KillFilter.toJson() |
JsonObject |
LimitOptions.toJson() |
JsonObject |
MigrateOptions.toJson() |
JsonObject |
RangeLimitOptions.toJson() |
JsonObject |
ScanOptions.toJson() |
JsonObject |
SetOptions.toJson() |
JsonObject |
SortOptions.toJson() |
Constructor and Description |
---|
KillFilter(JsonObject json) |
LimitOptions(JsonObject obj) |
MigrateOptions(JsonObject json) |
RangeLimitOptions(JsonObject obj) |
ScanOptions(JsonObject obj) |
SetOptions(JsonObject json) |
SortOptions(JsonObject obj) |
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 |
User.principal()
Get the underlying principal for the User.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthProvider.authenticate(JsonObject authInfo,
Handler<AsyncResult<User>> resultHandler)
Authenticate a user.
|
rx.Observable<User> |
AuthProvider.authenticateObservable(JsonObject authInfo)
Authenticate a user.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
User.principal()
Get the underlying principal for the User.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthProvider.authenticate(JsonObject authInfo,
Handler<AsyncResult<User>> resultHandler)
Authenticate a user.
|
rx.Observable<User> |
AuthProvider.authenticateObservable(JsonObject authInfo)
Authenticate a user.
|
Modifier and Type | Method and Description |
---|---|
static JWTAuth |
JWTAuth.create(Vertx vertx,
JsonObject config)
Create a JWT auth provider
|
String |
JWTAuth.generateToken(JsonObject claims,
JWTOptions options)
Generate a new JWT token.
|
Modifier and Type | Method and Description |
---|---|
static ShiroAuth |
ShiroAuth.create(Vertx vertx,
ShiroAuthRealmType realmType,
JsonObject config)
Create a Shiro auth provider
|
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.
Note: in the case of scaled servers, the JsonObject returns an aggregation of the metrics as the
dropwizard backend reports to a single server.
|
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, io.vertx.core.json.JsonObject, java.lang.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(String commandName,
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, io.vertx.core.json.JsonObject, java.lang.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(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
rx.Observable<JsonObject> |
MongoClient.runCommandObservable(String commandName,
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(String commandName,
JsonObject command,
Handler<AsyncResult<JsonObject>> resultHandler)
Run an arbitrary MongoDB command.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
RoutingContext.getBodyAsJson() |
Modifier and Type | Method and Description |
---|---|
JsonObject |
BridgeEvent.rawMessage()
Get the raw JSON message for the event.
|
Modifier and Type | Method and Description |
---|---|
static RedisClient |
RedisClient.create(Vertx vertx,
JsonObject config) |
Modifier and Type | Method and Description |
---|---|
RedisClient |
RedisClient.hgetall(String key,
Handler<AsyncResult<JsonObject>> handler)
Get all the fields and values in a hash
|
RedisClient |
RedisClient.info(Handler<AsyncResult<JsonObject>> handler)
Get information and statistics about the server
|
RedisClient |
RedisClient.infoSection(String section,
Handler<AsyncResult<JsonObject>> handler)
Get information and statistics about the server
|
Copyright © 2015. All Rights Reserved.