public class io.vertx.sqlclient.impl.CursorImpl implements io.vertx.sqlclient.Cursor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.sqlclient.impl.CursorImpl
super_class: java.lang.Object
{
private final io.vertx.sqlclient.impl.PreparedQueryImpl ps;
descriptor: Lio/vertx/sqlclient/impl/PreparedQueryImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.sqlclient.Tuple params;
descriptor: Lio/vertx/sqlclient/Tuple;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String id;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private io.vertx.sqlclient.impl.SqlResultBuilder<io.vertx.sqlclient.RowSet, io.vertx.sqlclient.impl.RowSetImpl, io.vertx.sqlclient.RowSet> result;
descriptor: Lio/vertx/sqlclient/impl/SqlResultBuilder;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/sqlclient/impl/SqlResultBuilder<Lio/vertx/sqlclient/RowSet;Lio/vertx/sqlclient/impl/RowSetImpl;Lio/vertx/sqlclient/RowSet;>;
void <init>(io.vertx.sqlclient.impl.PreparedQueryImpl, io.vertx.sqlclient.Tuple);
descriptor: (Lio/vertx/sqlclient/impl/PreparedQueryImpl;Lio/vertx/sqlclient/Tuple;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.sqlclient.impl.CursorImpl.ps:Lio/vertx/sqlclient/impl/PreparedQueryImpl;
2: aload 0
aload 2
putfield io.vertx.sqlclient.impl.CursorImpl.params:Lio/vertx/sqlclient/Tuple;
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/CursorImpl;
0 4 1 ps Lio/vertx/sqlclient/impl/PreparedQueryImpl;
0 4 2 params Lio/vertx/sqlclient/Tuple;
MethodParameters:
Name Flags
ps
params
public synchronized boolean hasMore();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.result:Lio/vertx/sqlclient/impl/SqlResultBuilder;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "No current cursor read"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.result:Lio/vertx/sqlclient/impl/SqlResultBuilder;
invokevirtual io.vertx.sqlclient.impl.SqlResultBuilder.isSuspended:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/sqlclient/impl/CursorImpl;
public synchronized void read(int, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.sqlclient.RowSet>>);
descriptor: (ILio/vertx/core/Handler;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=9, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.id:Ljava/lang/String;
ifnonnull 5
1: aload 0
invokestatic java.util.UUID.randomUUID:()Ljava/util/UUID;
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
putfield io.vertx.sqlclient.impl.CursorImpl.id:Ljava/lang/String;
2: aload 0
new io.vertx.sqlclient.impl.SqlResultBuilder
dup
getstatic io.vertx.sqlclient.impl.RowSetImpl.FACTORY:Ljava/util/function/Function;
aload 2
invokespecial io.vertx.sqlclient.impl.SqlResultBuilder.<init>:(Ljava/util/function/Function;Lio/vertx/core/Handler;)V
putfield io.vertx.sqlclient.impl.CursorImpl.result:Lio/vertx/sqlclient/impl/SqlResultBuilder;
3: aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.ps:Lio/vertx/sqlclient/impl/PreparedQueryImpl;
aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.params:Lio/vertx/sqlclient/Tuple;
iload 1
aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.id:Ljava/lang/String;
iconst_0
iconst_0
getstatic io.vertx.sqlclient.impl.RowSetImpl.COLLECTOR:Ljava/util/stream/Collector;
aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.result:Lio/vertx/sqlclient/impl/SqlResultBuilder;
aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.result:Lio/vertx/sqlclient/impl/SqlResultBuilder;
invokevirtual io.vertx.sqlclient.impl.PreparedQueryImpl.execute:(Lio/vertx/sqlclient/Tuple;ILjava/lang/String;ZZLjava/util/stream/Collector;Lio/vertx/sqlclient/impl/QueryResultHandler;Lio/vertx/core/Handler;)Lio/vertx/sqlclient/PreparedQuery;
pop
4: goto 10
StackMap locals:
StackMap stack:
5: aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.result:Lio/vertx/sqlclient/impl/SqlResultBuilder;
invokevirtual io.vertx.sqlclient.impl.SqlResultBuilder.isSuspended:()Z
ifeq 9
6: aload 0
new io.vertx.sqlclient.impl.SqlResultBuilder
dup
getstatic io.vertx.sqlclient.impl.RowSetImpl.FACTORY:Ljava/util/function/Function;
aload 2
invokespecial io.vertx.sqlclient.impl.SqlResultBuilder.<init>:(Ljava/util/function/Function;Lio/vertx/core/Handler;)V
putfield io.vertx.sqlclient.impl.CursorImpl.result:Lio/vertx/sqlclient/impl/SqlResultBuilder;
7: aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.ps:Lio/vertx/sqlclient/impl/PreparedQueryImpl;
aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.params:Lio/vertx/sqlclient/Tuple;
iload 1
aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.id:Ljava/lang/String;
iconst_1
iconst_0
getstatic io.vertx.sqlclient.impl.RowSetImpl.COLLECTOR:Ljava/util/stream/Collector;
aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.result:Lio/vertx/sqlclient/impl/SqlResultBuilder;
aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.result:Lio/vertx/sqlclient/impl/SqlResultBuilder;
invokevirtual io.vertx.sqlclient.impl.PreparedQueryImpl.execute:(Lio/vertx/sqlclient/Tuple;ILjava/lang/String;ZZLjava/util/stream/Collector;Lio/vertx/sqlclient/impl/QueryResultHandler;Lio/vertx/core/Handler;)Lio/vertx/sqlclient/PreparedQuery;
pop
8: goto 10
9: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/sqlclient/impl/CursorImpl;
0 11 1 count I
0 11 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/sqlclient/RowSet;>;>;
Signature: (ILio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/sqlclient/RowSet;>;>;)V
MethodParameters:
Name Flags
count
handler
public synchronized void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.closed:Z
ifne 9
1: aload 0
iconst_1
putfield io.vertx.sqlclient.impl.CursorImpl.closed:Z
2: aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.id:Ljava/lang/String;
ifnonnull 5
3: aload 1
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: goto 9
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.id:Ljava/lang/String;
astore 2
start local 2 6: aload 0
aconst_null
putfield io.vertx.sqlclient.impl.CursorImpl.id:Ljava/lang/String;
7: aload 0
aconst_null
putfield io.vertx.sqlclient.impl.CursorImpl.result:Lio/vertx/sqlclient/impl/SqlResultBuilder;
8: aload 0
getfield io.vertx.sqlclient.impl.CursorImpl.ps:Lio/vertx/sqlclient/impl/PreparedQueryImpl;
aload 2
aload 1
invokevirtual io.vertx.sqlclient.impl.PreparedQueryImpl.closeCursor:(Ljava/lang/String;Lio/vertx/core/Handler;)V
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/sqlclient/impl/CursorImpl;
0 10 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
6 9 2 id Ljava/lang/String;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
completionHandler
}
SourceFile: "CursorImpl.java"