Top Description Fields Constructors Methods
org.jooq.impl

pack-priv Class DefaultRecordContext

extends AbstractScope
implements RecordContext
Class Inheritance
All Implemented Interfaces
org.jooq.RecordContext, org.jooq.Scope
Imports
java.util.Arrays, org.jooq.Configuration, .ExecuteType, .Record, .RecordContext, .RecordType, .Result

A default implementation for RecordContext.
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv Exception
private final Record
private final ExecuteType
Inherited from org.jooq.impl.AbstractScope:
configurationcreationTimedata

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final Record[]
batchRecords()

Implements org.jooq.RecordContext.batchRecords.

The Record(s) that are being manipulated in batch mode.
public final Exception
exception()

Implements org.jooq.RecordContext.exception.

The Exception being thrown or null.
public final Record
record()

Implements org.jooq.RecordContext.record.

The Record that is being manipulated.
public final RecordType<?>
recordType()

Implements org.jooq.RecordContext.recordType.

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

Overrides java.lang.Object.toString.

Returns a string representation of the object.
public final ExecuteType
type()

Implements org.jooq.RecordContext.type.

The type of database interaction that is being executed.
Inherited from org.jooq.impl.AbstractScope:
configurationcreationTimedatadatadatadialectdslfamilysettings

Field Detail

exceptionback to summary
pack-priv Exception exception
recordback to summary
private final Record record
typeback to summary
private final ExecuteType type

Constructor Detail

DefaultRecordContextback to summary
pack-priv DefaultRecordContext(Configuration configuration, ExecuteType type, Record record)

Method Detail

batchRecordsback to summary
public final Record[] batchRecords()

Implements org.jooq.RecordContext.batchRecords.

Doc from org.jooq.RecordContext.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:Record[]

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

Annotations
@Override
exceptionback to summary
public final Exception exception()

Implements org.jooq.RecordContext.exception.

Doc from org.jooq.RecordContext.exception.

The Exception being thrown or null.

Annotations
@Override
recordback to summary
public final Record record()

Implements org.jooq.RecordContext.record.

Doc from org.jooq.RecordContext.record.

The Record that is being manipulated.

Returns:Record

The Record being manipulated. This is never null

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

Implements org.jooq.RecordContext.recordType.

Doc from org.jooq.RecordContext.recordType.

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

Returns:RecordType<?>

The RecordType being manipulated. This is never null.

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
typeback to summary
public final ExecuteType type()

Implements org.jooq.RecordContext.type.

Doc from org.jooq.RecordContext.type.

The type of database interaction that is being executed.

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

Annotations
@Override