Top Fields Constructors Methods
org.jooq.impl

pack-priv final Class BatchMultiple

extends AbstractBatch
Class Inheritance
Static Imports
org.jooq.impl.AbstractQuery.connection

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv final Query[]
Inherited from org.jooq.impl.AbstractBatch:
configurationdsl

Constructor Summary

AccessConstructor and Description
public
BatchMultiple(Configuration configuration, Query... queries)

Method Summary

Modifier and TypeMethod and Description
public final int[]
execute()

Implements org.jooq.Batch.execute.

Execute the batch operation.
pack-priv static int[]
execute(Configuration configuration, Query[] queries)

public final int
size()

Implements org.jooq.Batch.size.

Get the number of executed queries in this batch operation
public final void
subscribe(Subscriber<? super Integer>
the Subscriber that will consume signals from this Publisher
subscriber
)

Implements org.reactivestreams.Publisher.subscribe.

Request Publisher to start streaming data.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.jooq.impl.AbstractBatch:
executeAsyncexecuteAsync

Field Detail

queriesback to summary
pack-priv final Query[] queries

Constructor Detail

BatchMultipleback to summary
public BatchMultiple(Configuration configuration, Query... queries)

Method Detail

executeback to summary
public final int[] execute()

Implements org.jooq.Batch.execute.

Doc from org.jooq.Batch.execute.

Execute the batch operation.

Annotations
@Override
executeback to summary
pack-priv static int[] execute(Configuration configuration, Query[] queries)
sizeback to summary
public final int size()

Implements org.jooq.Batch.size.

Doc from org.jooq.Batch.size.

Get the number of executed queries in this batch operation

Annotations
@Override
subscribeback to summary
public final void subscribe(Subscriber<? super Integer> subscriber)

Implements org.reactivestreams.Publisher.subscribe.

Doc from org.reactivestreams.Publisher.subscribe.

Request Publisher to start streaming data.

This is a "factory method" and can be called multiple times, each time starting a new Subscription.

Each Subscription will work for only a single Subscriber.

A Subscriber should only subscribe once to a single Publisher.

If the Publisher rejects the subscription attempt or otherwise fails it will signal the error via Subscriber#onError(Throwable).

Parameters
subscriber:Subscriber<? super Integer>

the Subscriber that will consume signals from this Publisher

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override