Class JDBCDataSource
- java.lang.Object
-
- io.vertx.rxjava.servicediscovery.types.JDBCDataSource
-
public class JDBCDataSource extends Object
NOTE: This class has been automatically generated from theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<JDBCDataSource>__TYPE_ARGstatic StringTYPEstatic StringUNKNOWNUnknown type.
-
Constructor Summary
Constructors Constructor Description JDBCDataSource(io.vertx.servicediscovery.types.JDBCDataSource delegate)JDBCDataSource(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.vertx.servicediscovery.RecordcreateRecord(String name, io.vertx.core.json.JsonObject location, io.vertx.core.json.JsonObject metadata)booleanequals(Object o)io.vertx.servicediscovery.types.JDBCDataSourcegetDelegate()static voidgetJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient.static voidgetJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient.static voidgetJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject consumerConfiguration)Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient.static voidgetJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject consumerConfiguration, io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient.static voidgetJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient.static voidgetJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient.static voidgetJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject consumerConfiguration)Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient.static voidgetJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject consumerConfiguration, io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient.inthashCode()static JDBCDataSourcenewInstance(io.vertx.servicediscovery.types.JDBCDataSource arg)static rx.Single<JDBCClient>rxGetJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient.static rx.Single<JDBCClient>rxGetJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject consumerConfiguration)Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient.static rx.Single<JDBCClient>rxGetJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient.static rx.Single<JDBCClient>rxGetJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject consumerConfiguration)Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient.StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<JDBCDataSource> __TYPE_ARG
-
UNKNOWN
public static final String UNKNOWN
Unknown type.- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JDBCDataSource
public JDBCDataSource(io.vertx.servicediscovery.types.JDBCDataSource delegate)
-
JDBCDataSource
public JDBCDataSource(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.servicediscovery.types.JDBCDataSource getDelegate()
-
createRecord
public static io.vertx.servicediscovery.Record createRecord(String name, io.vertx.core.json.JsonObject location, io.vertx.core.json.JsonObject metadata)
-
getJDBCClient
public static void getJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.- Parameters:
discovery- The service discovery instancefilter- The filter, optionalresultHandler- The result handler
-
getJDBCClient
public static void getJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.- Parameters:
discovery- The service discovery instancefilter- The filter, optional
-
rxGetJDBCClient
public static rx.Single<JDBCClient> rxGetJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.- Parameters:
discovery- The service discovery instancefilter- The filter, optional- Returns:
-
getJDBCClient
public static void getJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.- Parameters:
discovery- The service discovery instancefilter- The filter (must not benull)resultHandler- The result handler
-
getJDBCClient
public static void getJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.- Parameters:
discovery- The service discovery instancefilter- The filter (must not benull)
-
rxGetJDBCClient
public static rx.Single<JDBCClient> rxGetJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.- Parameters:
discovery- The service discovery instancefilter- The filter (must not benull)- Returns:
-
getJDBCClient
public static void getJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject consumerConfiguration, io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.- Parameters:
discovery- The service discovery instancefilter- The filter, optionalconsumerConfiguration- the consumer configurationresultHandler- the result handler
-
getJDBCClient
public static void getJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.- Parameters:
discovery- The service discovery instancefilter- The filter, optionalconsumerConfiguration- the consumer configuration
-
rxGetJDBCClient
public static rx.Single<JDBCClient> rxGetJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.- Parameters:
discovery- The service discovery instancefilter- The filter, optionalconsumerConfiguration- the consumer configuration- Returns:
-
getJDBCClient
public static void getJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject consumerConfiguration, io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.- Parameters:
discovery- The service discovery instancefilter- The filter, must not benullconsumerConfiguration- the consumer configurationresultHandler- the result handler
-
getJDBCClient
public static void getJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.- Parameters:
discovery- The service discovery instancefilter- The filter, must not benullconsumerConfiguration- the consumer configuration
-
rxGetJDBCClient
public static rx.Single<JDBCClient> rxGetJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configuredJDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.- Parameters:
discovery- The service discovery instancefilter- The filter, must not benullconsumerConfiguration- the consumer configuration- Returns:
-
newInstance
public static JDBCDataSource newInstance(io.vertx.servicediscovery.types.JDBCDataSource arg)
-
-