Top Fields Constructors Methods
org.jooq.impl

pack-priv abstract Class AbstractBatch

extends Object
implements Batch
Class Inheritance
All Implemented Interfaces
org.jooq.Batch, org.jooq.Publisher, java.util.concurrent.Flow.Publisher, org.reactivestreams.Publisher, java.io.Serializable
Known Direct Subclasses
org.jooq.impl.BatchSingle, org.jooq.impl.BatchMultiple, org.jooq.impl.BatchCRUD
Static Imports
org.jooq.impl.Tools.blocking

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv final Configuration
pack-priv final DSLContext

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final CompletionStage<int[]>
executeAsync()

Implements org.jooq.Batch.executeAsync.

Execute the batch operation in a new CompletionStage.
public final CompletionStage<int[]>
executeAsync(Executor executor)

Implements org.jooq.Batch.executeAsync.

Execute the query in a new CompletionStage that is asynchronously completed by a task running in the given executor.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

configurationback to summary
pack-priv final Configuration configuration
dslback to summary
pack-priv final DSLContext dsl

Constructor Detail

AbstractBatchback to summary
pack-priv AbstractBatch(Configuration configuration)

Method Detail

executeAsyncback to summary
public final CompletionStage<int[]> executeAsync()

Implements org.jooq.Batch.executeAsync.

Doc from org.jooq.Batch.executeAsync.

Execute the batch operation in a new CompletionStage.

The result is asynchronously completed by a task running in an Executor provided by the underlying Configuration#executorProvider().

Annotations
@Override
executeAsyncback to summary
public final CompletionStage<int[]> executeAsync(Executor executor)

Implements org.jooq.Batch.executeAsync.

Doc from org.jooq.Batch.executeAsync.

Execute the query in a new CompletionStage that is asynchronously completed by a task running in the given executor.

Annotations
@Override