Class MultiKeyLoadChunker<K>
java.lang.Object
org.hibernate.loader.ast.internal.MultiKeyLoadChunker<K>
When the number of ids to initialize exceeds a certain threshold, IN-predicate based
multi-key loaders will break
the initialization into "chunks".
-
Constructor Summary
ConstructorsConstructorDescriptionMultiKeyLoadChunker
(int chunkSize, int keyColumnCount, Bindable bindable, JdbcParametersList jdbcParameters, SelectStatement sqlAst, JdbcOperationQuerySelect jdbcSelect) -
Method Summary
Modifier and TypeMethodDescriptionvoid
processChunks
(K[] keys, int nonNullElementCount, org.hibernate.loader.ast.internal.MultiKeyLoadChunker.SqlExecutionContextCreator sqlExecutionContextCreator, org.hibernate.loader.ast.internal.MultiKeyLoadChunker.KeyCollector<K> keyCollector, org.hibernate.loader.ast.internal.MultiKeyLoadChunker.ChunkStartListener startListener, org.hibernate.loader.ast.internal.MultiKeyLoadChunker.ChunkBoundaryListener boundaryListener, SharedSessionContractImplementor session) Process the chunks
-
Constructor Details
-
MultiKeyLoadChunker
public MultiKeyLoadChunker(int chunkSize, int keyColumnCount, Bindable bindable, JdbcParametersList jdbcParameters, SelectStatement sqlAst, JdbcOperationQuerySelect jdbcSelect)
-
-
Method Details