public class io.vertx.ext.jdbc.impl.actions.JDBCQuery extends io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction<io.vertx.ext.sql.ResultSet>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.jdbc.impl.actions.JDBCQuery
super_class: io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction
{
private final java.lang.String sql;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.json.JsonArray in;
descriptor: Lio/vertx/core/json/JsonArray;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.vertx.core.Vertx, io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper, io.vertx.ext.sql.SQLOptions, io.vertx.core.impl.ContextInternal, java.lang.String, io.vertx.core.json.JsonArray);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;Lio/vertx/ext/sql/SQLOptions;Lio/vertx/core/impl/ContextInternal;Ljava/lang/String;Lio/vertx/core/json/JsonArray;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;Lio/vertx/ext/sql/SQLOptions;Lio/vertx/core/impl/ContextInternal;)V
1: aload 0
aload 5
putfield io.vertx.ext.jdbc.impl.actions.JDBCQuery.sql:Ljava/lang/String;
2: aload 0
aload 6
putfield io.vertx.ext.jdbc.impl.actions.JDBCQuery.in:Lio/vertx/core/json/JsonArray;
3: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/jdbc/impl/actions/JDBCQuery;
0 4 1 vertx Lio/vertx/core/Vertx;
0 4 2 helper Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
0 4 3 options Lio/vertx/ext/sql/SQLOptions;
0 4 4 ctx Lio/vertx/core/impl/ContextInternal;
0 4 5 sql Ljava/lang/String;
0 4 6 in Lio/vertx/core/json/JsonArray;
MethodParameters:
Name Flags
vertx
helper
options
ctx
sql
in
public io.vertx.ext.sql.ResultSet execute(java.sql.Connection);
descriptor: (Ljava/sql/Connection;)Lio/vertx/ext/sql/ResultSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=11, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 1
aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCQuery.sql:Ljava/lang/String;
invokeinterface java.sql.Connection.prepareStatement:(Ljava/lang/String;)Ljava/sql/PreparedStatement;
astore 4
start local 4 2: aload 0
aload 4
invokevirtual io.vertx.ext.jdbc.impl.actions.JDBCQuery.applyStatementOptions:(Ljava/sql/Statement;)V
3: aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCQuery.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aload 4
aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCQuery.in:Lio/vertx/core/json/JsonArray;
invokevirtual io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper.fillStatement:(Ljava/sql/PreparedStatement;Lio/vertx/core/json/JsonArray;)V
4: aload 4
invokeinterface java.sql.PreparedStatement.execute:()Z
istore 5
start local 5 5: aconst_null
astore 6
start local 6 6: iload 5
ifeq 25
7: aconst_null
astore 7
start local 7 8: goto 24
9: StackMap locals: io.vertx.ext.jdbc.impl.actions.JDBCQuery java.sql.Connection java.lang.Throwable java.lang.Throwable java.sql.PreparedStatement int io.vertx.ext.sql.ResultSet io.vertx.ext.sql.ResultSet
StackMap stack:
aconst_null
astore 8
aconst_null
astore 9
10: aload 4
invokeinterface java.sql.PreparedStatement.getResultSet:()Ljava/sql/ResultSet;
astore 10
start local 10 11: aload 7
ifnonnull 15
12: aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCQuery.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aload 10
invokevirtual io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper.asList:(Ljava/sql/ResultSet;)Lio/vertx/ext/sql/ResultSet;
astore 6
13: aload 6
astore 7
14: goto 17
15: StackMap locals: java.lang.Throwable java.lang.Throwable java.sql.ResultSet
StackMap stack:
aload 7
aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCQuery.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aload 10
invokevirtual io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper.asList:(Ljava/sql/ResultSet;)Lio/vertx/ext/sql/ResultSet;
invokevirtual io.vertx.ext.sql.ResultSet.setNext:(Lio/vertx/ext/sql/ResultSet;)Lio/vertx/ext/sql/ResultSet;
pop
16: aload 7
invokevirtual io.vertx.ext.sql.ResultSet.getNext:()Lio/vertx/ext/sql/ResultSet;
astore 7
17: StackMap locals:
StackMap stack:
aload 10
ifnull 23
aload 10
invokeinterface java.sql.ResultSet.close:()V
goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 8
aload 10
ifnull 19
aload 10
invokeinterface java.sql.ResultSet.close:()V
end local 10 StackMap locals:
StackMap stack:
19: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 9
aload 8
ifnonnull 21
aload 9
astore 8
goto 22
StackMap locals:
StackMap stack:
21: aload 8
aload 9
if_acmpeq 22
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
22: aload 8
athrow
23: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.sql.PreparedStatement.getMoreResults:()Z
istore 5
24: StackMap locals:
StackMap stack:
iload 5
ifne 9
end local 7 25: StackMap locals:
StackMap stack:
aload 6
26: aload 4
ifnull 27
aload 4
invokeinterface java.sql.PreparedStatement.close:()V
27: StackMap locals:
StackMap stack: io.vertx.ext.sql.ResultSet
areturn
end local 6 end local 5 StackMap locals: io.vertx.ext.jdbc.impl.actions.JDBCQuery java.sql.Connection java.lang.Throwable java.lang.Throwable java.sql.PreparedStatement
StackMap stack: java.lang.Throwable
28: astore 2
29: aload 4
ifnull 30
aload 4
invokeinterface java.sql.PreparedStatement.close:()V
end local 4 StackMap locals:
StackMap stack:
30: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
31: astore 3
aload 2
ifnonnull 32
aload 3
astore 2
goto 33
StackMap locals:
StackMap stack:
32: aload 2
aload 3
if_acmpeq 33
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
33: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lio/vertx/ext/jdbc/impl/actions/JDBCQuery;
0 34 1 conn Ljava/sql/Connection;
2 30 4 statement Ljava/sql/PreparedStatement;
5 28 5 retResult Z
6 28 6 resultSet Lio/vertx/ext/sql/ResultSet;
8 25 7 ref Lio/vertx/ext/sql/ResultSet;
11 19 10 rs Ljava/sql/ResultSet;
Exception table:
from to target type
11 17 18 any
10 20 20 any
2 26 28 any
1 27 31 any
28 31 31 any
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
conn
protected java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "query"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/jdbc/impl/actions/JDBCQuery;
public java.lang.Object execute(java.sql.Connection);
descriptor: (Ljava/sql/Connection;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.ext.jdbc.impl.actions.JDBCQuery.execute:(Ljava/sql/Connection;)Lio/vertx/ext/sql/ResultSet;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.sql.SQLException
}
Signature: Lio/vertx/ext/jdbc/impl/actions/AbstractJDBCAction<Lio/vertx/ext/sql/ResultSet;>;
SourceFile: "JDBCQuery.java"