public class io.vertx.ext.jdbc.impl.actions.StreamQuery extends io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction<io.vertx.ext.sql.SQLRowStream>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.jdbc.impl.actions.StreamQuery
super_class: io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction
{
private static final int DEFAULT_ROW_STREAM_FETCH_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 128
private final io.vertx.core.impl.ContextInternal ctx;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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.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/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=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
invokespecial io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction.<init>:(Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;Lio/vertx/ext/sql/SQLOptions;)V
1: aload 0
aload 3
putfield io.vertx.ext.jdbc.impl.actions.StreamQuery.ctx:Lio/vertx/core/impl/ContextInternal;
2: aload 0
aload 4
putfield io.vertx.ext.jdbc.impl.actions.StreamQuery.sql:Ljava/lang/String;
3: aload 0
aload 5
putfield io.vertx.ext.jdbc.impl.actions.StreamQuery.in:Lio/vertx/core/json/JsonArray;
4: return
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/StreamQuery;
0 5 1 helper Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
0 5 2 options Lio/vertx/ext/sql/SQLOptions;
0 5 3 ctx Lio/vertx/core/impl/ContextInternal;
0 5 4 sql Ljava/lang/String;
0 5 5 in Lio/vertx/core/json/JsonArray;
MethodParameters:
Name Flags
helper
options
ctx
sql
in
public io.vertx.ext.sql.SQLRowStream execute(java.sql.Connection);
descriptor: (Ljava/sql/Connection;)Lio/vertx/ext/sql/SQLRowStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
aload 0
getfield io.vertx.ext.jdbc.impl.actions.StreamQuery.sql:Ljava/lang/String;
invokeinterface java.sql.Connection.prepareStatement:(Ljava/lang/String;)Ljava/sql/PreparedStatement;
astore 2
2: aload 0
aload 2
invokevirtual io.vertx.ext.jdbc.impl.actions.StreamQuery.applyStatementOptions:(Ljava/sql/Statement;)V
3: aload 0
getfield io.vertx.ext.jdbc.impl.actions.StreamQuery.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aload 2
aload 0
getfield io.vertx.ext.jdbc.impl.actions.StreamQuery.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: aconst_null
astore 3
start local 3 5: aload 2
invokeinterface java.sql.PreparedStatement.executeQuery:()Ljava/sql/ResultSet;
astore 3
6: aload 0
getfield io.vertx.ext.jdbc.impl.actions.StreamQuery.options:Lio/vertx/ext/sql/SQLOptions;
ifnull 9
aload 0
getfield io.vertx.ext.jdbc.impl.actions.StreamQuery.options:Lio/vertx/ext/sql/SQLOptions;
invokevirtual io.vertx.ext.sql.SQLOptions.getFetchSize:()I
ifle 9
7: aload 0
getfield io.vertx.ext.jdbc.impl.actions.StreamQuery.options:Lio/vertx/ext/sql/SQLOptions;
invokevirtual io.vertx.ext.sql.SQLOptions.getFetchSize:()I
istore 4
start local 4 8: goto 10
end local 4 9: StackMap locals: java.sql.PreparedStatement java.sql.ResultSet
StackMap stack:
sipush 128
istore 4
start local 4 10: StackMap locals: int
StackMap stack:
new io.vertx.ext.jdbc.impl.actions.JDBCSQLRowStream
dup
aload 0
getfield io.vertx.ext.jdbc.impl.actions.StreamQuery.ctx:Lio/vertx/core/impl/ContextInternal;
aload 2
aload 3
iload 4
invokespecial io.vertx.ext.jdbc.impl.actions.JDBCSQLRowStream.<init>:(Lio/vertx/core/impl/ContextInternal;Ljava/sql/Statement;Ljava/sql/ResultSet;I)V
11: areturn
end local 4 12: StackMap locals: io.vertx.ext.jdbc.impl.actions.StreamQuery java.sql.Connection java.sql.PreparedStatement java.sql.ResultSet
StackMap stack: java.sql.SQLException
astore 4
start local 4 13: aload 3
ifnull 15
14: aload 3
invokeinterface java.sql.ResultSet.close:()V
15: StackMap locals: java.sql.SQLException
StackMap stack:
aload 4
athrow
end local 4 end local 3 16: StackMap locals: io.vertx.ext.jdbc.impl.actions.StreamQuery java.sql.Connection java.sql.PreparedStatement
StackMap stack: java.sql.SQLException
astore 3
start local 3 17: aload 2
ifnull 19
18: aload 2
invokeinterface java.sql.PreparedStatement.close:()V
19: StackMap locals: java.sql.SQLException
StackMap stack:
aload 3
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lio/vertx/ext/jdbc/impl/actions/StreamQuery;
0 20 1 conn Ljava/sql/Connection;
1 20 2 st Ljava/sql/PreparedStatement;
5 16 3 rs Ljava/sql/ResultSet;
8 9 4 fetchSize I
10 12 4 fetchSize I
13 16 4 e Ljava/sql/SQLException;
17 20 3 e Ljava/sql/SQLException;
Exception table:
from to target type
5 11 12 Class java.sql.SQLException
1 11 16 Class java.sql.SQLException
12 16 16 Class java.sql.SQLException
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
conn
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.StreamQuery.execute:(Ljava/sql/Connection;)Lio/vertx/ext/sql/SQLRowStream;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.sql.SQLException
}
Signature: Lio/vertx/ext/jdbc/impl/actions/AbstractJDBCAction<Lio/vertx/ext/sql/SQLRowStream;>;
SourceFile: "StreamQuery.java"