class io.vertx.sqlclient.impl.QueryResultBuilder<T, R extends io.vertx.sqlclient.impl.SqlResultBase<T>, L extends io.vertx.sqlclient.SqlResult<T>> implements io.vertx.sqlclient.impl.QueryResultHandler<T>, io.vertx.core.Promise<java.lang.Boolean>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.sqlclient.impl.QueryResultBuilder
super_class: java.lang.Object
{
private final io.vertx.core.Promise<L> handler;
descriptor: Lio/vertx/core/Promise;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/Promise<TL;>;
private final java.util.function.Function<T, R> factory;
descriptor: Ljava/util/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Function<TT;TR;>;
private final io.vertx.core.impl.ContextInternal context;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.sqlclient.impl.tracing.QueryTracer tracer;
descriptor: Lio/vertx/sqlclient/impl/tracing/QueryTracer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object tracingPayload;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.spi.metrics.ClientMetrics metrics;
descriptor: Lio/vertx/core/spi/metrics/ClientMetrics;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object metric;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private R first;
descriptor: Lio/vertx/sqlclient/impl/SqlResultBase;
flags: (0x0002) ACC_PRIVATE
Signature: TR;
private R current;
descriptor: Lio/vertx/sqlclient/impl/SqlResultBase;
flags: (0x0002) ACC_PRIVATE
Signature: TR;
private java.lang.Throwable failure;
descriptor: Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
private boolean suspended;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(java.util.function.Function<T, R>, io.vertx.sqlclient.impl.tracing.QueryTracer, , io.vertx.core.spi.metrics.ClientMetrics, , io.vertx.core.impl.future.PromiseInternal<L>);
descriptor: (Ljava/util/function/Function;Lio/vertx/sqlclient/impl/tracing/QueryTracer;Ljava/lang/Object;Lio/vertx/core/spi/metrics/ClientMetrics;Ljava/lang/Object;Lio/vertx/core/impl/future/PromiseInternal;)V
flags: (0x0000)
Code:
stack=2, 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
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.sqlclient.impl.QueryResultBuilder.factory:Ljava/util/function/Function;
2: aload 0
aload 6
invokeinterface io.vertx.core.impl.future.PromiseInternal.context:()Lio/vertx/core/impl/ContextInternal;
putfield io.vertx.sqlclient.impl.QueryResultBuilder.context:Lio/vertx/core/impl/ContextInternal;
3: aload 0
aload 2
putfield io.vertx.sqlclient.impl.QueryResultBuilder.tracer:Lio/vertx/sqlclient/impl/tracing/QueryTracer;
4: aload 0
aload 3
putfield io.vertx.sqlclient.impl.QueryResultBuilder.tracingPayload:Ljava/lang/Object;
5: aload 0
aload 4
putfield io.vertx.sqlclient.impl.QueryResultBuilder.metrics:Lio/vertx/core/spi/metrics/ClientMetrics;
6: aload 0
aload 5
putfield io.vertx.sqlclient.impl.QueryResultBuilder.metric:Ljava/lang/Object;
7: aload 0
aload 6
putfield io.vertx.sqlclient.impl.QueryResultBuilder.handler:Lio/vertx/core/Promise;
8: 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 9 0 this Lio/vertx/sqlclient/impl/QueryResultBuilder<TT;TR;TL;>;
0 9 1 factory Ljava/util/function/Function<TT;TR;>;
0 9 2 tracer Lio/vertx/sqlclient/impl/tracing/QueryTracer;
0 9 3 tracingPayload Ljava/lang/Object;
0 9 4 metrics Lio/vertx/core/spi/metrics/ClientMetrics;
0 9 5 metric Ljava/lang/Object;
0 9 6 handler Lio/vertx/core/impl/future/PromiseInternal<TL;>;
Signature: (Ljava/util/function/Function<TT;TR;>;Lio/vertx/sqlclient/impl/tracing/QueryTracer;Ljava/lang/Object;Lio/vertx/core/spi/metrics/ClientMetrics;Ljava/lang/Object;Lio/vertx/core/impl/future/PromiseInternal<TL;>;)V
MethodParameters:
Name Flags
factory
tracer
tracingPayload
metrics
metric
handler
public void handleResult(int, int, io.vertx.sqlclient.impl.RowDesc, T, java.lang.Throwable);
descriptor: (IILio/vertx/sqlclient/impl/RowDesc;Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 5
ifnull 3
1: aload 0
aload 5
putfield io.vertx.sqlclient.impl.QueryResultBuilder.failure:Ljava/lang/Throwable;
2: goto 13
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.factory:Ljava/util/function/Function;
aload 4
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.sqlclient.impl.SqlResultBase
astore 6
start local 6 4: aload 6
iload 1
putfield io.vertx.sqlclient.impl.SqlResultBase.updated:I
5: aload 6
iload 2
putfield io.vertx.sqlclient.impl.SqlResultBase.size:I
6: aload 6
aload 3
ifnull 7
aload 3
invokevirtual io.vertx.sqlclient.impl.RowDesc.columnNames:()Ljava/util/List;
goto 8
StackMap locals: io.vertx.sqlclient.impl.QueryResultBuilder int int io.vertx.sqlclient.impl.RowDesc java.lang.Object java.lang.Throwable io.vertx.sqlclient.impl.SqlResultBase
StackMap stack: io.vertx.sqlclient.impl.SqlResultBase
7: aconst_null
StackMap locals: io.vertx.sqlclient.impl.QueryResultBuilder int int io.vertx.sqlclient.impl.RowDesc java.lang.Object java.lang.Throwable io.vertx.sqlclient.impl.SqlResultBase
StackMap stack: io.vertx.sqlclient.impl.SqlResultBase java.util.List
8: putfield io.vertx.sqlclient.impl.SqlResultBase.columnNames:Ljava/util/List;
9: aload 6
aload 3
ifnull 10
aload 3
invokevirtual io.vertx.sqlclient.impl.RowDesc.columnDescriptor:()Ljava/util/List;
goto 11
StackMap locals:
StackMap stack: io.vertx.sqlclient.impl.SqlResultBase
10: aconst_null
StackMap locals: io.vertx.sqlclient.impl.QueryResultBuilder int int io.vertx.sqlclient.impl.RowDesc java.lang.Object java.lang.Throwable io.vertx.sqlclient.impl.SqlResultBase
StackMap stack: io.vertx.sqlclient.impl.SqlResultBase java.util.List
11: putfield io.vertx.sqlclient.impl.SqlResultBase.columnDescriptors:Ljava/util/List;
12: aload 0
aload 6
invokevirtual io.vertx.sqlclient.impl.QueryResultBuilder.handleResult:(Lio/vertx/sqlclient/impl/SqlResultBase;)V
end local 6 13: StackMap locals:
StackMap stack:
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 14 0 this Lio/vertx/sqlclient/impl/QueryResultBuilder<TT;TR;TL;>;
0 14 1 updatedCount I
0 14 2 size I
0 14 3 desc Lio/vertx/sqlclient/impl/RowDesc;
0 14 4 result TT;
0 14 5 failure Ljava/lang/Throwable;
4 13 6 r TR;
Signature: (IILio/vertx/sqlclient/impl/RowDesc;TT;Ljava/lang/Throwable;)V
MethodParameters:
Name Flags
updatedCount
size
desc
result
failure
private void handleResult();
descriptor: (Lio/vertx/sqlclient/impl/SqlResultBase;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.current:Lio/vertx/sqlclient/impl/SqlResultBase;
astore 2
start local 2 1: aload 2
ifnonnull 5
2: aload 0
aload 1
putfield io.vertx.sqlclient.impl.QueryResultBuilder.first:Lio/vertx/sqlclient/impl/SqlResultBase;
3: aload 0
aload 1
putfield io.vertx.sqlclient.impl.QueryResultBuilder.current:Lio/vertx/sqlclient/impl/SqlResultBase;
4: goto 7
5: StackMap locals: io.vertx.sqlclient.impl.SqlResultBase
StackMap stack:
aload 2
aload 1
putfield io.vertx.sqlclient.impl.SqlResultBase.next:Lio/vertx/sqlclient/SqlResult;
6: aload 0
aload 1
putfield io.vertx.sqlclient.impl.QueryResultBuilder.current:Lio/vertx/sqlclient/impl/SqlResultBase;
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/sqlclient/impl/QueryResultBuilder<TT;TR;TL;>;
0 8 1 result TR;
1 8 2 c TR;
Signature: (TR;)V
MethodParameters:
Name Flags
result
public <V> void addProperty(io.vertx.sqlclient.PropertyKind<V>, );
descriptor: (Lio/vertx/sqlclient/PropertyKind;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.current:Lio/vertx/sqlclient/impl/SqlResultBase;
astore 3
start local 3 1: aload 3
ifnull 5
2: aload 3
getfield io.vertx.sqlclient.impl.SqlResultBase.properties:Ljava/util/Map;
ifnonnull 4
3: aload 3
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield io.vertx.sqlclient.impl.SqlResultBase.properties:Ljava/util/Map;
4: StackMap locals: io.vertx.sqlclient.impl.SqlResultBase
StackMap stack:
aload 3
getfield io.vertx.sqlclient.impl.SqlResultBase.properties:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/sqlclient/impl/QueryResultBuilder<TT;TR;TL;>;
0 6 1 property Lio/vertx/sqlclient/PropertyKind<TV;>;
0 6 2 value TV;
1 6 3 r TR;
Signature: <V:Ljava/lang/Object;>(Lio/vertx/sqlclient/PropertyKind<TV;>;TV;)V
MethodParameters:
Name Flags
property
value
public boolean tryComplete(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield io.vertx.sqlclient.impl.QueryResultBuilder.suspended:Z
1: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.failure:Ljava/lang/Throwable;
ifnull 3
2: aload 0
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.failure:Ljava/lang/Throwable;
invokevirtual io.vertx.sqlclient.impl.QueryResultBuilder.tryFail:(Ljava/lang/Throwable;)Z
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.handler:Lio/vertx/core/Promise;
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.first:Lio/vertx/sqlclient/impl/SqlResultBase;
invokeinterface io.vertx.core.Promise.tryComplete:(Ljava/lang/Object;)Z
istore 2
start local 2 4: iload 2
ifeq 10
5: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.metrics:Lio/vertx/core/spi/metrics/ClientMetrics;
ifnull 8
6: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.metrics:Lio/vertx/core/spi/metrics/ClientMetrics;
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.metric:Ljava/lang/Object;
aconst_null
invokeinterface io.vertx.core.spi.metrics.ClientMetrics.responseBegin:(Ljava/lang/Object;Ljava/lang/Object;)V
7: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.metrics:Lio/vertx/core/spi/metrics/ClientMetrics;
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.metric:Ljava/lang/Object;
invokeinterface io.vertx.core.spi.metrics.ClientMetrics.responseEnd:(Ljava/lang/Object;)V
8: StackMap locals: int
StackMap stack:
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.tracer:Lio/vertx/sqlclient/impl/tracing/QueryTracer;
ifnull 10
9: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.tracer:Lio/vertx/sqlclient/impl/tracing/QueryTracer;
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.context:Lio/vertx/core/impl/ContextInternal;
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.tracingPayload:Ljava/lang/Object;
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.first:Lio/vertx/sqlclient/impl/SqlResultBase;
aconst_null
invokevirtual io.vertx.sqlclient.impl.tracing.QueryTracer.receiveResponse:(Lio/vertx/core/impl/ContextInternal;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Throwable;)V
10: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/sqlclient/impl/QueryResultBuilder<TT;TR;TL;>;
0 11 1 result Ljava/lang/Boolean;
4 11 2 completed Z
MethodParameters:
Name Flags
result
public boolean tryFail(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.handler:Lio/vertx/core/Promise;
aload 1
invokeinterface io.vertx.core.Promise.tryFail:(Ljava/lang/Throwable;)Z
istore 2
start local 2 1: iload 2
ifeq 6
2: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.tracer:Lio/vertx/sqlclient/impl/tracing/QueryTracer;
ifnull 4
3: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.tracer:Lio/vertx/sqlclient/impl/tracing/QueryTracer;
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.context:Lio/vertx/core/impl/ContextInternal;
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.tracingPayload:Ljava/lang/Object;
aconst_null
aload 1
invokevirtual io.vertx.sqlclient.impl.tracing.QueryTracer.receiveResponse:(Lio/vertx/core/impl/ContextInternal;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Throwable;)V
4: StackMap locals: int
StackMap stack:
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.metrics:Lio/vertx/core/spi/metrics/ClientMetrics;
ifnull 6
5: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.metrics:Lio/vertx/core/spi/metrics/ClientMetrics;
aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.metric:Ljava/lang/Object;
invokeinterface io.vertx.core.spi.metrics.ClientMetrics.requestReset:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/sqlclient/impl/QueryResultBuilder<TT;TR;TL;>;
0 7 1 cause Ljava/lang/Throwable;
1 7 2 completed Z
MethodParameters:
Name Flags
cause
public io.vertx.core.Future<java.lang.Boolean> future();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.handler:Lio/vertx/core/Promise;
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 0
invokedynamic apply(Lio/vertx/sqlclient/impl/QueryResultBuilder;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
io/vertx/sqlclient/impl/QueryResultBuilder.lambda$0(Lio/vertx/sqlclient/SqlResult;)Ljava/lang/Boolean; (7)
(Lio/vertx/sqlclient/SqlResult;)Ljava/lang/Boolean;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/sqlclient/impl/QueryResultBuilder<TT;TR;TL;>;
Signature: ()Lio/vertx/core/Future<Ljava/lang/Boolean;>;
public boolean isSuspended();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.sqlclient.impl.QueryResultBuilder.suspended:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/sqlclient/impl/QueryResultBuilder<TT;TR;TL;>;
public boolean tryComplete(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Boolean
invokevirtual io.vertx.sqlclient.impl.QueryResultBuilder.tryComplete:(Ljava/lang/Boolean;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void handle(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.core.AsyncResult
invokeinterface io.vertx.core.Promise.handle:(Lio/vertx/core/AsyncResult;)V
return
LocalVariableTable:
Start End Slot Name Signature
private java.lang.Boolean lambda$0(io.vertx.sqlclient.SqlResult);
descriptor: (Lio/vertx/sqlclient/SqlResult;)Ljava/lang/Boolean;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.sqlclient.impl.QueryResultBuilder.isSuspended:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/sqlclient/impl/QueryResultBuilder<TT;TR;TL;>;
0 1 1 l TL;
}
Signature: <T:Ljava/lang/Object;R:Lio/vertx/sqlclient/impl/SqlResultBase<TT;>;L::Lio/vertx/sqlclient/SqlResult<TT;>;>Ljava/lang/Object;Lio/vertx/sqlclient/impl/QueryResultHandler<TT;>;Lio/vertx/core/Promise<Ljava/lang/Boolean;>;
SourceFile: "QueryResultBuilder.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles