Top Description Methods
org.jooq

public Interface RecordContext

extends Scope
Known Direct Implementers
org.jooq.impl.DefaultRecordContext
Imports
org.jetbrains.annotations.NotNull, .Nullable

A context object for Record manipulation passed to registered RecordListener's.

This type is a Scope with independent lifecycle and its own data() map.

Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public @NotNull @NotNull Record[]

Returns:

The Record(s) being manipulated. This is never null
batchRecords
()

The Record(s) that are being manipulated in batch mode.

public @Nullable Exception
exception()

The Exception being thrown or null.

public @NotNull Record

Returns:

The Record being manipulated. This is never null
record
()

The Record that is being manipulated.

public @NotNull RecordType<?>

Returns:

The RecordType being manipulated. This is never null.
recordType
()

The RecordType of the record() that is being manipulated.

public @NotNull ExecuteType
type()

The type of database interaction that is being executed.

Inherited from org.jooq.Scope:
configurationcreationTimedatadatadatadialectdslfamilysettings

Method Detail

batchRecordsback to summary
public @NotNull @NotNull Record[] batchRecords()

The Record(s) that are being manipulated in batch mode.

If a single Record is being manipulated in non-batch mode, this will return an array of length 1, containing that Record.

Returns:@NotNull @NotNull Record[]

The Record(s) being manipulated. This is never null

Annotations
@NotNull
exceptionback to summary
public @Nullable Exception exception()

The Exception being thrown or null.

Annotations
@Nullable
recordback to summary
public @NotNull Record record()

The Record that is being manipulated.

Returns:@NotNull Record

The Record being manipulated. This is never null

Annotations
@NotNull
recordTypeback to summary
public @NotNull RecordType<?> recordType()

The RecordType of the record() that is being manipulated.

Returns:@NotNull RecordType<?>

The RecordType being manipulated. This is never null.

Annotations
@NotNull
typeback to summary
public @NotNull ExecuteType type()

The type of database interaction that is being executed.

Unlike ExecuteContext#type(), this can only result in any of these:

Annotations
@NotNull
See Also
ExecuteType