public class io.vertx.ext.jdbc.impl.actions.JDBCCallable 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.JDBCCallable
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
private final io.vertx.core.json.JsonArray out;
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, 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;Lio/vertx/core/json/JsonArray;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 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.JDBCCallable.sql:Ljava/lang/String;
2: aload 0
aload 6
putfield io.vertx.ext.jdbc.impl.actions.JDBCCallable.in:Lio/vertx/core/json/JsonArray;
3: aload 0
aload 7
putfield io.vertx.ext.jdbc.impl.actions.JDBCCallable.out:Lio/vertx/core/json/JsonArray;
4: return
end local 7 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 5 0 this Lio/vertx/ext/jdbc/impl/actions/JDBCCallable;
0 5 1 vertx Lio/vertx/core/Vertx;
0 5 2 helper Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
0 5 3 options Lio/vertx/ext/sql/SQLOptions;
0 5 4 ctx Lio/vertx/core/impl/ContextInternal;
0 5 5 sql Ljava/lang/String;
0 5 6 in Lio/vertx/core/json/JsonArray;
0 5 7 out Lio/vertx/core/json/JsonArray;
MethodParameters:
Name Flags
vertx
helper
options
ctx
sql
in
out
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=5, locals=12, 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.JDBCCallable.sql:Ljava/lang/String;
invokeinterface java.sql.Connection.prepareCall:(Ljava/lang/String;)Ljava/sql/CallableStatement;
astore 4
start local 4 2: aload 0
aload 4
invokevirtual io.vertx.ext.jdbc.impl.actions.JDBCCallable.applyStatementOptions:(Ljava/sql/Statement;)V
3: aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCCallable.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aload 4
aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCCallable.in:Lio/vertx/core/json/JsonArray;
aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCCallable.out:Lio/vertx/core/json/JsonArray;
invokevirtual io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper.fillStatement:(Ljava/sql/CallableStatement;Lio/vertx/core/json/JsonArray;Lio/vertx/core/json/JsonArray;)V
4: aload 4
invokeinterface java.sql.CallableStatement.execute:()Z
istore 5
start local 5 5: aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCCallable.out:Lio/vertx/core/json/JsonArray;
ifnull 6
aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCCallable.out:Lio/vertx/core/json/JsonArray;
invokevirtual io.vertx.core.json.JsonArray.size:()I
ifle 6
iconst_1
goto 7
StackMap locals: io.vertx.ext.jdbc.impl.actions.JDBCCallable java.sql.Connection java.lang.Throwable java.lang.Throwable java.sql.CallableStatement int
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 6
start local 6 8: aconst_null
astore 7
start local 7 9: iload 5
ifeq 31
10: aconst_null
astore 8
start local 8 11: goto 29
12: StackMap locals: int io.vertx.ext.sql.ResultSet io.vertx.ext.sql.ResultSet
StackMap stack:
aconst_null
astore 9
aconst_null
astore 10
13: aload 4
invokeinterface java.sql.CallableStatement.getResultSet:()Ljava/sql/ResultSet;
astore 11
start local 11 14: aload 8
ifnonnull 18
15: aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCCallable.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aload 11
invokevirtual io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper.asList:(Ljava/sql/ResultSet;)Lio/vertx/ext/sql/ResultSet;
astore 7
16: aload 7
astore 8
17: goto 20
18: StackMap locals: java.lang.Throwable java.lang.Throwable java.sql.ResultSet
StackMap stack:
aload 8
aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCCallable.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aload 11
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
19: aload 8
invokevirtual io.vertx.ext.sql.ResultSet.getNext:()Lio/vertx/ext/sql/ResultSet;
astore 8
20: StackMap locals:
StackMap stack:
iload 6
ifeq 22
21: aload 8
aload 0
aload 4
invokevirtual io.vertx.ext.jdbc.impl.actions.JDBCCallable.convertOutputs:(Ljava/sql/CallableStatement;)Lio/vertx/core/json/JsonArray;
invokevirtual io.vertx.ext.sql.ResultSet.setOutput:(Lio/vertx/core/json/JsonArray;)Lio/vertx/ext/sql/ResultSet;
pop
22: StackMap locals:
StackMap stack:
aload 11
ifnull 28
aload 11
invokeinterface java.sql.ResultSet.close:()V
goto 28
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 9
aload 11
ifnull 24
aload 11
invokeinterface java.sql.ResultSet.close:()V
end local 11 StackMap locals:
StackMap stack:
24: aload 9
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 10
aload 9
ifnonnull 26
aload 10
astore 9
goto 27
StackMap locals:
StackMap stack:
26: aload 9
aload 10
if_acmpeq 27
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
27: aload 9
athrow
28: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.sql.CallableStatement.getMoreResults:()Z
istore 5
29: StackMap locals:
StackMap stack:
iload 5
ifne 12
end local 8 30: goto 33
31: StackMap locals:
StackMap stack:
iload 6
ifeq 33
32: new io.vertx.ext.sql.ResultSet
dup
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
aconst_null
invokespecial io.vertx.ext.sql.ResultSet.<init>:(Ljava/util/List;Ljava/util/List;Lio/vertx/ext/sql/ResultSet;)V
aload 0
aload 4
invokevirtual io.vertx.ext.jdbc.impl.actions.JDBCCallable.convertOutputs:(Ljava/sql/CallableStatement;)Lio/vertx/core/json/JsonArray;
invokevirtual io.vertx.ext.sql.ResultSet.setOutput:(Lio/vertx/core/json/JsonArray;)Lio/vertx/ext/sql/ResultSet;
astore 7
33: StackMap locals:
StackMap stack:
aload 7
34: aload 4
ifnull 35
aload 4
invokeinterface java.sql.CallableStatement.close:()V
35: StackMap locals:
StackMap stack: io.vertx.ext.sql.ResultSet
areturn
end local 7 end local 6 end local 5 StackMap locals: io.vertx.ext.jdbc.impl.actions.JDBCCallable java.sql.Connection java.lang.Throwable java.lang.Throwable java.sql.CallableStatement
StackMap stack: java.lang.Throwable
36: astore 2
37: aload 4
ifnull 38
aload 4
invokeinterface java.sql.CallableStatement.close:()V
end local 4 StackMap locals:
StackMap stack:
38: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
39: astore 3
aload 2
ifnonnull 40
aload 3
astore 2
goto 41
StackMap locals:
StackMap stack:
40: aload 2
aload 3
if_acmpeq 41
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
41: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lio/vertx/ext/jdbc/impl/actions/JDBCCallable;
0 42 1 conn Ljava/sql/Connection;
2 38 4 statement Ljava/sql/CallableStatement;
5 36 5 retResult Z
8 36 6 outResult Z
9 36 7 resultSet Lio/vertx/ext/sql/ResultSet;
11 30 8 ref Lio/vertx/ext/sql/ResultSet;
14 24 11 rs Ljava/sql/ResultSet;
Exception table:
from to target type
14 22 23 any
13 25 25 any
2 34 36 any
1 35 39 any
36 39 39 any
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
conn
private io.vertx.core.json.JsonArray convertOutputs(java.sql.CallableStatement);
descriptor: (Ljava/sql/CallableStatement;)Lio/vertx/core/json/JsonArray;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new io.vertx.core.json.JsonArray
dup
invokespecial io.vertx.core.json.JsonArray.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 16
3: StackMap locals: io.vertx.core.json.JsonArray int
StackMap stack:
aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCCallable.out:Lio/vertx/core/json/JsonArray;
iload 3
invokevirtual io.vertx.core.json.JsonArray.getValue:(I)Ljava/lang/Object;
astore 4
start local 4 4: aload 4
ifnull 14
5: aload 1
iload 3
iconst_1
iadd
invokeinterface java.sql.CallableStatement.getObject:(I)Ljava/lang/Object;
astore 5
start local 5 6: aload 5
ifnonnull 9
7: aload 2
invokevirtual io.vertx.core.json.JsonArray.addNull:()Lio/vertx/core/json/JsonArray;
pop
8: goto 15
StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
9: aload 5
instanceof java.sql.ResultSet
ifeq 12
10: aload 2
aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCCallable.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aload 5
checkcast java.sql.ResultSet
invokevirtual io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper.asList:(Ljava/sql/ResultSet;)Lio/vertx/ext/sql/ResultSet;
invokevirtual io.vertx.core.json.JsonArray.add:(Ljava/lang/Object;)Lio/vertx/core/json/JsonArray;
pop
11: goto 15
12: StackMap locals:
StackMap stack:
aload 2
aload 5
invokestatic io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper.convertSqlValue:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual io.vertx.core.json.JsonArray.add:(Ljava/lang/Object;)Lio/vertx/core/json/JsonArray;
pop
end local 5 13: goto 15
14: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.vertx.core.json.JsonArray.addNull:()Lio/vertx/core/json/JsonArray;
pop
end local 4 15: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
aload 0
getfield io.vertx.ext.jdbc.impl.actions.JDBCCallable.out:Lio/vertx/core/json/JsonArray;
invokevirtual io.vertx.core.json.JsonArray.size:()I
if_icmplt 3
end local 3 17: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/vertx/ext/jdbc/impl/actions/JDBCCallable;
0 18 1 statement Ljava/sql/CallableStatement;
1 18 2 result Lio/vertx/core/json/JsonArray;
2 17 3 i I
4 15 4 var Ljava/lang/Object;
6 13 5 value Ljava/lang/Object;
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
statement
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 "callable"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/jdbc/impl/actions/JDBCCallable;
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.JDBCCallable.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: "JDBCCallable.java"