public class org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer extends org.hibernate.loader.collection.BatchingCollectionInitializer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer
super_class: org.hibernate.loader.collection.BatchingCollectionInitializer
{
private final int maxBatchSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.loader.Loader singleKeyLoader;
descriptor: Lorg/hibernate/loader/Loader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionLoader batchLoader;
descriptor: Lorg/hibernate/loader/collection/DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.hibernate.persister.collection.QueryableCollection, int, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.engine.spi.LoadQueryInfluencers);
descriptor: (Lorg/hibernate/persister/collection/QueryableCollection;ILorg/hibernate/engine/spi/SessionFactoryImplementor;Lorg/hibernate/engine/spi/LoadQueryInfluencers;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokespecial org.hibernate.loader.collection.BatchingCollectionInitializer.<init>:(Lorg/hibernate/persister/collection/QueryableCollection;)V
1: aload 0
iload 2
putfield org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer.maxBatchSize:I
2: aload 1
invokeinterface org.hibernate.persister.collection.QueryableCollection.isOneToMany:()Z
ifeq 5
3: aload 0
new org.hibernate.loader.collection.OneToManyLoader
dup
aload 1
iconst_1
aload 3
aload 4
invokespecial org.hibernate.loader.collection.OneToManyLoader.<init>:(Lorg/hibernate/persister/collection/QueryableCollection;ILorg/hibernate/engine/spi/SessionFactoryImplementor;Lorg/hibernate/engine/spi/LoadQueryInfluencers;)V
putfield org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer.singleKeyLoader:Lorg/hibernate/loader/Loader;
4: goto 6
5: StackMap locals: org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer org.hibernate.persister.collection.QueryableCollection int org.hibernate.engine.spi.SessionFactoryImplementor org.hibernate.engine.spi.LoadQueryInfluencers
StackMap stack:
aload 0
new org.hibernate.loader.collection.BasicCollectionLoader
dup
aload 1
iconst_1
aload 3
aload 4
invokespecial org.hibernate.loader.collection.BasicCollectionLoader.<init>:(Lorg/hibernate/persister/collection/QueryableCollection;ILorg/hibernate/engine/spi/SessionFactoryImplementor;Lorg/hibernate/engine/spi/LoadQueryInfluencers;)V
putfield org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer.singleKeyLoader:Lorg/hibernate/loader/Loader;
6: StackMap locals:
StackMap stack:
aload 0
new org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionLoader
dup
aload 1
aload 3
aload 4
invokespecial org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionLoader.<init>:(Lorg/hibernate/persister/collection/QueryableCollection;Lorg/hibernate/engine/spi/SessionFactoryImplementor;Lorg/hibernate/engine/spi/LoadQueryInfluencers;)V
putfield org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer.batchLoader:Lorg/hibernate/loader/collection/DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionLoader;
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/loader/collection/DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer;
0 8 1 collectionPersister Lorg/hibernate/persister/collection/QueryableCollection;
0 8 2 maxBatchSize I
0 8 3 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
0 8 4 influencers Lorg/hibernate/engine/spi/LoadQueryInfluencers;
MethodParameters:
Name Flags
collectionPersister
maxBatchSize
factory
influencers
public void initialize(java.io.Serializable, org.hibernate.engine.spi.SharedSessionContractImplementor);
descriptor: (Ljava/io/Serializable;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
1: invokeinterface org.hibernate.engine.spi.PersistenceContext.getBatchFetchQueue:()Lorg/hibernate/engine/spi/BatchFetchQueue;
2: aload 0
invokevirtual org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer.collectionPersister:()Lorg/hibernate/persister/collection/QueryableCollection;
aload 1
aload 0
getfield org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer.maxBatchSize:I
invokevirtual org.hibernate.engine.spi.BatchFetchQueue.getCollectionBatch:(Lorg/hibernate/persister/collection/CollectionPersister;Ljava/io/Serializable;I)[Ljava/io/Serializable;
3: astore 3
start local 3 4: aload 3
invokestatic org.hibernate.internal.util.collections.ArrayHelper.countNonNull:([Ljava/io/Serializable;)I
istore 4
start local 4 5: iload 4
iconst_1
if_icmpgt 8
6: aload 0
getfield org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer.singleKeyLoader:Lorg/hibernate/loader/Loader;
aload 2
aload 1
aload 0
invokevirtual org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer.collectionPersister:()Lorg/hibernate/persister/collection/QueryableCollection;
invokeinterface org.hibernate.persister.collection.QueryableCollection.getKeyType:()Lorg/hibernate/type/Type;
invokevirtual org.hibernate.loader.Loader.loadCollection:(Lorg/hibernate/engine/spi/SharedSessionContractImplementor;Ljava/io/Serializable;Lorg/hibernate/type/Type;)V
7: return
8: StackMap locals: java.io.Serializable[] int
StackMap stack:
iload 4
anewarray java.io.Serializable
astore 5
start local 5 9: aload 3
iconst_0
aload 5
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 0
getfield org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer.batchLoader:Lorg/hibernate/loader/collection/DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionLoader;
aload 2
aload 5
aload 0
invokevirtual org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer.collectionPersister:()Lorg/hibernate/persister/collection/QueryableCollection;
invokeinterface org.hibernate.persister.collection.QueryableCollection.getKeyType:()Lorg/hibernate/type/Type;
invokevirtual org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionLoader.doBatchedCollectionLoad:(Lorg/hibernate/engine/spi/SharedSessionContractImplementor;[Ljava/io/Serializable;Lorg/hibernate/type/Type;)V
11: 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 12 0 this Lorg/hibernate/loader/collection/DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer;
0 12 1 id Ljava/io/Serializable;
0 12 2 session Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
4 12 3 batch [Ljava/io/Serializable;
5 12 4 numberOfIds I
9 12 5 idsToLoad [Ljava/io/Serializable;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
id
session
}
SourceFile: "DynamicBatchingCollectionInitializerBuilder.java"
NestHost: org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder
InnerClasses:
public DynamicBatchingCollectionInitializer = org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionInitializer of org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder
private DynamicBatchingCollectionLoader = org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder$DynamicBatchingCollectionLoader of org.hibernate.loader.collection.DynamicBatchingCollectionInitializerBuilder