class org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4 implements org.jdbi.v3.core.result.ResultIterator<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4
super_class: java.lang.Object
{
private org.jdbi.v3.core.result.ResultIterator<?> batchResult;
descriptor: Lorg/jdbi/v3/core/result/ResultIterator;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/jdbi/v3/core/result/ResultIterator<*>;
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler this$0;
descriptor: Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.Iterator val$batchArgs;
descriptor: Ljava/util/Iterator;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.jdbi.v3.core.Handle val$handle;
descriptor: Lorg/jdbi/v3/core/Handle;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String val$sql;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final int val$chunkSize;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler, java.util.Iterator, org.jdbi.v3.core.Handle, java.lang.String, int);
descriptor: (Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;Ljava/util/Iterator;Lorg/jdbi/v3/core/Handle;Ljava/lang/String;I)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 0: aload 0
aload 1
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.this$0:Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
aload 0
aload 2
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.val$batchArgs:Ljava/util/Iterator;
aload 0
aload 3
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.val$handle:Lorg/jdbi/v3/core/Handle;
aload 0
aload 4
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.val$sql:Ljava/lang/String;
aload 0
iload 5
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.val$chunkSize:I
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.closed:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler$4;
MethodParameters:
Name Flags
this$0 final
val$batchArgs final
val$handle final
val$sql final
val$chunkSize final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.closed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.batchResult:Lorg/jdbi/v3/core/result/ResultIterator;
ifnull 6
3: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.batchResult:Lorg/jdbi/v3/core/result/ResultIterator;
invokeinterface org.jdbi.v3.core.result.ResultIterator.hasNext:()Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.batchResult:Lorg/jdbi/v3/core/result/ResultIterator;
invokeinterface org.jdbi.v3.core.result.ResultIterator.close:()V
6: StackMap locals:
StackMap stack:
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.val$batchArgs:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.val$handle:Lorg/jdbi/v3/core/Handle;
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.val$sql:Ljava/lang/String;
invokevirtual org.jdbi.v3.core.Handle.prepareBatch:(Ljava/lang/String;)Lorg/jdbi/v3/core/statement/PreparedBatch;
astore 1
start local 1 9: iconst_0
istore 2
start local 2 10: goto 14
11: StackMap locals: org.jdbi.v3.core.statement.PreparedBatch int
StackMap stack:
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.this$0:Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
aload 1
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.val$batchArgs:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object[]
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.applyCustomizers:(Lorg/jdbi/v3/core/statement/SqlStatement;[Ljava/lang/Object;)V
12: aload 1
invokevirtual org.jdbi.v3.core.statement.PreparedBatch.add:()Lorg/jdbi/v3/core/statement/PreparedBatch;
pop
13: iinc 2 1
StackMap locals:
StackMap stack:
14: iload 2
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.val$chunkSize:I
if_icmpge 15
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.val$batchArgs:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
end local 2 15: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.this$0:Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler;
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.val$handle:Lorg/jdbi/v3/core/Handle;
aload 1
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.executeBatch:(Lorg/jdbi/v3/core/Handle;Lorg/jdbi/v3/core/statement/PreparedBatch;)Lorg/jdbi/v3/core/result/ResultIterator;
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.batchResult:Lorg/jdbi/v3/core/result/ResultIterator;
16: aload 0
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.hasNext:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler$4;
9 17 1 batch Lorg/jdbi/v3/core/statement/PreparedBatch;
10 15 2 i I
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.closed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.hasNext:()Z
ifne 4
3: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.batchResult:Lorg/jdbi/v3/core/result/ResultIterator;
invokeinterface org.jdbi.v3.core.result.ResultIterator.next:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler$4;
public org.jdbi.v3.core.statement.StatementContext getContext();
descriptor: ()Lorg/jdbi/v3/core/statement/StatementContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.batchResult:Lorg/jdbi/v3/core/result/ResultIterator;
invokeinterface org.jdbi.v3.core.result.ResultIterator.getContext:()Lorg/jdbi/v3/core/statement/StatementContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler$4;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.closed:Z
1: aload 0
getfield org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4.batchResult:Lorg/jdbi/v3/core/result/ResultIterator;
invokeinterface org.jdbi.v3.core.result.ResultIterator.close:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler$4;
}
Signature: Ljava/lang/Object;Lorg/jdbi/v3/core/result/ResultIterator<Ljava/lang/Object;>;
SourceFile: "SqlBatchHandler.java"
EnclosingMethod: org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler.invoke:(Ljava/lang/Object;[Ljava/lang/Object;Lorg/jdbi/v3/core/extension/HandleSupplier;)Ljava/lang/Object;
NestHost: org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler
InnerClasses:
org.jdbi.v3.sqlobject.statement.internal.SqlBatchHandler$4