Uses of Interface
org.hibernate.engine.jdbc.batch.spi.BatchKey
-
Packages that use BatchKey Package Description org.hibernate.engine.jdbc.batch.internal Internals for JDBC batching support.org.hibernate.engine.jdbc.batch.spi Defines contracts for JDBC batching support.org.hibernate.engine.jdbc.internal Internals for supporting various aspects of JDBC interactionorg.hibernate.engine.jdbc.mutation.internal org.hibernate.engine.jdbc.mutation.spi org.hibernate.engine.jdbc.spi SPI contracts supporting various aspects of JDBC interaction.org.hibernate.persister.entity.mutation Defines support for performing mutation operations originating from persistence-context events.org.hibernate.sql.model Package contains specialized SQL AST nodes and builders for table mutations of model parts originating from normal persistence-context events. -
-
Uses of BatchKey in org.hibernate.engine.jdbc.batch.internal
Classes in org.hibernate.engine.jdbc.batch.internal that implement BatchKey Modifier and Type Class Description class
BasicBatchKey
Normal implementation of BatchKeyMethods in org.hibernate.engine.jdbc.batch.internal that return BatchKey Modifier and Type Method Description BatchKey
BatchImpl. getKey()
Methods in org.hibernate.engine.jdbc.batch.internal with parameters of type BatchKey Modifier and Type Method Description BatchImpl
BatchBuilderImpl. buildBatch(BatchKey batchKey, Integer sizeOverride, String table, SessionImplementor session, String sql)
Intended for use from testsBatch
BatchBuilderImpl. buildBatch(BatchKey key, Integer explicitBatchSize, Supplier<PreparedStatementGroup> statementGroupSupplier, JdbcCoordinator jdbcCoordinator)
Constructors in org.hibernate.engine.jdbc.batch.internal with parameters of type BatchKey Constructor Description BatchImpl(BatchKey key, PreparedStatementGroup statementGroup, int batchSizeToUse, JdbcCoordinator jdbcCoordinator)
-
Uses of BatchKey in org.hibernate.engine.jdbc.batch.spi
Methods in org.hibernate.engine.jdbc.batch.spi that return BatchKey Modifier and Type Method Description BatchKey
Batch. getKey()
Retrieves the object being used to key (uniquely identify) this batch.Methods in org.hibernate.engine.jdbc.batch.spi with parameters of type BatchKey Modifier and Type Method Description Batch
BatchBuilder. buildBatch(BatchKey key, Integer batchSize, Supplier<PreparedStatementGroup> statementGroupSupplier, JdbcCoordinator jdbcCoordinator)
Build a batch. -
Uses of BatchKey in org.hibernate.engine.jdbc.internal
Methods in org.hibernate.engine.jdbc.internal with parameters of type BatchKey Modifier and Type Method Description void
JdbcCoordinatorImpl. conditionallyExecuteBatch(BatchKey key)
Batch
JdbcCoordinatorImpl. getBatch(BatchKey key, Integer batchSize, Supplier<PreparedStatementGroup> statementGroupSupplier)
-
Uses of BatchKey in org.hibernate.engine.jdbc.mutation.internal
Methods in org.hibernate.engine.jdbc.mutation.internal that return BatchKey Modifier and Type Method Description BatchKey
NoBatchKeyAccess. getBatchKey()
Methods in org.hibernate.engine.jdbc.mutation.internal with parameters of type BatchKey Modifier and Type Method Description protected void
AbstractMutationExecutor. prepareForNonBatchedWork(BatchKey batchKey, SharedSessionContractImplementor session)
Executors with non-batched operations should call this to clean up any "previous" batch before starting their workConstructors in org.hibernate.engine.jdbc.mutation.internal with parameters of type BatchKey Constructor Description MutationExecutorSingleBatched(PreparableMutationOperation mutationOperation, BatchKey batchKey, int batchSize, SharedSessionContractImplementor session)
-
Uses of BatchKey in org.hibernate.engine.jdbc.mutation.spi
Methods in org.hibernate.engine.jdbc.mutation.spi that return BatchKey Modifier and Type Method Description BatchKey
BatchKeyAccess. getBatchKey()
The BatchKey to use -
Uses of BatchKey in org.hibernate.engine.jdbc.spi
Methods in org.hibernate.engine.jdbc.spi with parameters of type BatchKey Modifier and Type Method Description void
JdbcCoordinator. conditionallyExecuteBatch(BatchKey key)
Conditionally execute the currently managed batch (if any), if the keys do not matchBatch
JdbcCoordinator. getBatch(BatchKey key, Integer batchSize, Supplier<PreparedStatementGroup> statementGroupSupplier)
Get the batch for the supplied key, creating one if needed using the supplied statementGroupSupplier. -
Uses of BatchKey in org.hibernate.persister.entity.mutation
Methods in org.hibernate.persister.entity.mutation that return BatchKey Modifier and Type Method Description protected abstract BatchKey
AbstractMutationCoordinator. getBatchKey()
protected BatchKey
InsertCoordinatorStandard. getBatchKey()
protected BatchKey
UpdateCoordinatorStandard. getBatchKey()
protected BatchKey
UpdateCoordinatorStandard. getVersionUpdateBatchkey()
Constructors in org.hibernate.persister.entity.mutation with parameters of type BatchKey Constructor Description UpdateCoordinatorStandard(AbstractEntityPersister entityPersister, SessionFactoryImplementor factory, MutationOperationGroup staticUpdateGroup, BatchKey batchKey, MutationOperationGroup versionUpdateGroup, BatchKey versionUpdateBatchkey)
-
Uses of BatchKey in org.hibernate.sql.model
Methods in org.hibernate.sql.model with parameters of type BatchKey Modifier and Type Method Description default boolean
PreparableMutationOperation. canBeBatched(BatchKey batchKey, int batchSize)
Series of opt-out checks for whether the operation can be handled as part of a batch.
-