public abstract class io.vertx.sqlclient.impl.SqlConnectionBase<C extends io.vertx.sqlclient.impl.SqlConnectionBase> extends io.vertx.sqlclient.impl.SqlClientBase<C>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.vertx.sqlclient.impl.SqlConnectionBase
super_class: io.vertx.sqlclient.impl.SqlClientBase
{
protected final io.vertx.core.Context context;
descriptor: Lio/vertx/core/Context;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final io.vertx.sqlclient.impl.Connection conn;
descriptor: Lio/vertx/sqlclient/impl/Connection;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected void <init>(io.vertx.core.Context, io.vertx.sqlclient.impl.Connection);
descriptor: (Lio/vertx/core/Context;Lio/vertx/sqlclient/impl/Connection;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial io.vertx.sqlclient.impl.SqlClientBase.<init>:()V
1: aload 0
aload 1
putfield io.vertx.sqlclient.impl.SqlConnectionBase.context:Lio/vertx/core/Context;
2: aload 0
aload 2
putfield io.vertx.sqlclient.impl.SqlConnectionBase.conn:Lio/vertx/sqlclient/impl/Connection;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/sqlclient/impl/SqlConnectionBase<TC;>;
0 4 1 context Lio/vertx/core/Context;
0 4 2 conn Lio/vertx/sqlclient/impl/Connection;
MethodParameters:
Name Flags
context
conn
public C prepare(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.sqlclient.PreparedQuery>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/sqlclient/impl/SqlConnectionBase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new io.vertx.sqlclient.impl.command.PrepareStatementCommand
dup
aload 1
invokespecial io.vertx.sqlclient.impl.command.PrepareStatementCommand.<init>:(Ljava/lang/String;)V
aload 0
aload 2
invokedynamic handle(Lio/vertx/sqlclient/impl/SqlConnectionBase;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/sqlclient/impl/SqlConnectionBase.lambda$0(Lio/vertx/core/Handler;Lio/vertx/sqlclient/impl/command/CommandResponse;)V (7)
(Lio/vertx/sqlclient/impl/command/CommandResponse;)V
invokevirtual io.vertx.sqlclient.impl.SqlConnectionBase.schedule:(Lio/vertx/sqlclient/impl/command/CommandBase;Lio/vertx/core/Handler;)V
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/sqlclient/impl/SqlConnectionBase<TC;>;
0 2 1 sql Ljava/lang/String;
0 2 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/sqlclient/PreparedQuery;>;>;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/sqlclient/PreparedQuery;>;>;)TC;
MethodParameters:
Name Flags
sql
handler
private void lambda$0(io.vertx.core.Handler, io.vertx.sqlclient.impl.command.CommandResponse);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/sqlclient/impl/command/CommandResponse;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 2 0: aload 2
invokevirtual io.vertx.sqlclient.impl.command.CommandResponse.succeeded:()Z
ifeq 3
1: aload 1
new io.vertx.sqlclient.impl.PreparedQueryImpl
dup
aload 0
getfield io.vertx.sqlclient.impl.SqlConnectionBase.conn:Lio/vertx/sqlclient/impl/Connection;
aload 0
getfield io.vertx.sqlclient.impl.SqlConnectionBase.context:Lio/vertx/core/Context;
aload 2
invokevirtual io.vertx.sqlclient.impl.command.CommandResponse.result:()Ljava/lang/Object;
checkcast io.vertx.sqlclient.impl.PreparedStatement
invokespecial io.vertx.sqlclient.impl.PreparedQueryImpl.<init>:(Lio/vertx/sqlclient/impl/Connection;Lio/vertx/core/Context;Lio/vertx/sqlclient/impl/PreparedStatement;)V
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual io.vertx.sqlclient.impl.command.CommandResponse.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/sqlclient/impl/SqlConnectionBase<TC;>;
0 5 2 cr Lio/vertx/sqlclient/impl/command/CommandResponse<Lio/vertx/sqlclient/impl/PreparedStatement;>;
}
Signature: <C:Lio/vertx/sqlclient/impl/SqlConnectionBase;>Lio/vertx/sqlclient/impl/SqlClientBase<TC;>;
SourceFile: "SqlConnectionBase.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles