public interface io.vertx.jdbcclient.JDBCPool extends io.vertx.sqlclient.Pool
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.vertx.jdbcclient.JDBCPool
super_class: java.lang.Object
{
public static final io.vertx.sqlclient.PropertyKind<io.vertx.sqlclient.Row> GENERATED_KEYS;
descriptor: Lio/vertx/sqlclient/PropertyKind;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lio/vertx/sqlclient/PropertyKind<Lio/vertx/sqlclient/Row;>;
public static final io.vertx.sqlclient.PropertyKind<java.lang.Boolean> OUTPUT;
descriptor: Lio/vertx/sqlclient/PropertyKind;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lio/vertx/sqlclient/PropertyKind<Ljava/lang/Boolean;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "generated-keys"
ldc Lio/vertx/sqlclient/Row;
invokestatic io.vertx.sqlclient.PropertyKind.create:(Ljava/lang/String;Ljava/lang/Class;)Lio/vertx/sqlclient/PropertyKind;
putstatic io.vertx.jdbcclient.JDBCPool.GENERATED_KEYS:Lio/vertx/sqlclient/PropertyKind;
1: ldc "callable-statement-output"
ldc Ljava/lang/Boolean;
invokestatic io.vertx.sqlclient.PropertyKind.create:(Ljava/lang/String;Ljava/lang/Class;)Lio/vertx/sqlclient/PropertyKind;
putstatic io.vertx.jdbcclient.JDBCPool.OUTPUT:Lio/vertx/sqlclient/PropertyKind;
return
LocalVariableTable:
Start End Slot Name Signature
public static io.vertx.jdbcclient.JDBCPool pool(io.vertx.core.Vertx, io.vertx.jdbcclient.JDBCConnectOptions, io.vertx.sqlclient.PoolOptions);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/jdbcclient/JDBCConnectOptions;Lio/vertx/sqlclient/PoolOptions;)Lio/vertx/jdbcclient/JDBCPool;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=11, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
checkcast io.vertx.core.impl.ContextInternal
astore 3
start local 3 1: new io.vertx.jdbcclient.impl.JDBCPoolImpl
dup
2: aload 0
3: new io.vertx.ext.jdbc.impl.JDBCClientImpl
dup
aload 0
new io.vertx.jdbcclient.impl.AgroalCPDataSourceProvider
dup
aload 1
aload 2
invokespecial io.vertx.jdbcclient.impl.AgroalCPDataSourceProvider.<init>:(Lio/vertx/jdbcclient/JDBCConnectOptions;Lio/vertx/sqlclient/PoolOptions;)V
invokespecial io.vertx.ext.jdbc.impl.JDBCClientImpl.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/jdbc/spi/DataSourceProvider;)V
4: aload 3
invokeinterface io.vertx.core.impl.ContextInternal.tracer:()Lio/vertx/core/spi/tracing/VertxTracer;
ifnonnull 6
5: aconst_null
goto 7
6: StackMap locals: io.vertx.core.Vertx io.vertx.jdbcclient.JDBCConnectOptions io.vertx.sqlclient.PoolOptions io.vertx.core.impl.ContextInternal
StackMap stack: new 1 new 1 io.vertx.core.Vertx io.vertx.ext.jdbc.impl.JDBCClientImpl
new io.vertx.sqlclient.impl.tracing.QueryTracer
dup
aload 3
invokeinterface io.vertx.core.impl.ContextInternal.tracer:()Lio/vertx/core/spi/tracing/VertxTracer;
aload 1
invokevirtual io.vertx.jdbcclient.JDBCConnectOptions.getTracingPolicy:()Lio/vertx/core/tracing/TracingPolicy;
aload 1
invokevirtual io.vertx.jdbcclient.JDBCConnectOptions.getJdbcUrl:()Ljava/lang/String;
aload 1
invokevirtual io.vertx.jdbcclient.JDBCConnectOptions.getUser:()Ljava/lang/String;
aload 1
invokevirtual io.vertx.jdbcclient.JDBCConnectOptions.getDatabase:()Ljava/lang/String;
invokespecial io.vertx.sqlclient.impl.tracing.QueryTracer.<init>:(Lio/vertx/core/spi/tracing/VertxTracer;Lio/vertx/core/tracing/TracingPolicy;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
7: StackMap locals: io.vertx.core.Vertx io.vertx.jdbcclient.JDBCConnectOptions io.vertx.sqlclient.PoolOptions io.vertx.core.impl.ContextInternal
StackMap stack: new 1 new 1 io.vertx.core.Vertx io.vertx.ext.jdbc.impl.JDBCClientImpl io.vertx.sqlclient.impl.tracing.QueryTracer
invokespecial io.vertx.jdbcclient.impl.JDBCPoolImpl.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/jdbc/impl/JDBCClientImpl;Lio/vertx/sqlclient/impl/tracing/QueryTracer;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 vertx Lio/vertx/core/Vertx;
0 8 1 connectOptions Lio/vertx/jdbcclient/JDBCConnectOptions;
0 8 2 poolOptions Lio/vertx/sqlclient/PoolOptions;
1 8 3 context Lio/vertx/core/impl/ContextInternal;
MethodParameters:
Name Flags
vertx
connectOptions
poolOptions
public static io.vertx.jdbcclient.JDBCPool pool(io.vertx.core.Vertx, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/core/json/JsonObject;)Lio/vertx/jdbcclient/JDBCPool;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
checkcast io.vertx.core.impl.ContextInternal
astore 2
start local 2 1: new io.vertx.jdbcclient.impl.JDBCPoolImpl
dup
2: aload 0
3: new io.vertx.ext.jdbc.impl.JDBCClientImpl
dup
aload 0
aload 1
invokestatic java.util.UUID.randomUUID:()Ljava/util/UUID;
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
invokespecial io.vertx.ext.jdbc.impl.JDBCClientImpl.<init>:(Lio/vertx/core/Vertx;Lio/vertx/core/json/JsonObject;Ljava/lang/String;)V
4: aload 2
invokeinterface io.vertx.core.impl.ContextInternal.tracer:()Lio/vertx/core/spi/tracing/VertxTracer;
ifnonnull 6
5: aconst_null
goto 7
6: StackMap locals: io.vertx.core.Vertx io.vertx.core.json.JsonObject io.vertx.core.impl.ContextInternal
StackMap stack: new 1 new 1 io.vertx.core.Vertx io.vertx.ext.jdbc.impl.JDBCClientImpl
new io.vertx.sqlclient.impl.tracing.QueryTracer
dup
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.tracer:()Lio/vertx/core/spi/tracing/VertxTracer;
getstatic io.vertx.core.tracing.TracingPolicy.PROPAGATE:Lio/vertx/core/tracing/TracingPolicy;
aload 1
ldc "jdbcUrl"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 1
ldc "user"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 1
ldc "database"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial io.vertx.sqlclient.impl.tracing.QueryTracer.<init>:(Lio/vertx/core/spi/tracing/VertxTracer;Lio/vertx/core/tracing/TracingPolicy;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
7: StackMap locals: io.vertx.core.Vertx io.vertx.core.json.JsonObject io.vertx.core.impl.ContextInternal
StackMap stack: new 1 new 1 io.vertx.core.Vertx io.vertx.ext.jdbc.impl.JDBCClientImpl io.vertx.sqlclient.impl.tracing.QueryTracer
invokespecial io.vertx.jdbcclient.impl.JDBCPoolImpl.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/jdbc/impl/JDBCClientImpl;Lio/vertx/sqlclient/impl/tracing/QueryTracer;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 vertx Lio/vertx/core/Vertx;
0 8 1 config Lio/vertx/core/json/JsonObject;
1 8 2 context Lio/vertx/core/impl/ContextInternal;
MethodParameters:
Name Flags
vertx
config
}
SourceFile: "JDBCPool.java"
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()