Top Description Inners Fields Constructors Methods
org.jooq.impl

pack-priv final Class RecordDelegate<R extends org.jooq.Record>

extends Object
Class Inheritance
Static Imports
org.jooq.ExecuteType.READ, .ExecuteType.WRITE, org.jooq.conf.InvocationOrder.REVERSE, org.jooq.impl.RecordDelegate.RecordLifecycleType.LOAD, .RecordDelegate.RecordLifecycleType.REFRESH, .Tools.attachRecords, .Tools.isEmpty, .Tools.map

A stub for Record objects, abstracting RecordListener lifecycle handling.
Author
Lukas Eder

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static enum

Field Summary

Modifier and TypeField and Description
private final Configuration
private final Boolean
private final Supplier<R>
private final RecordDelegate.RecordLifecycleType

Constructor Summary

AccessConstructor and Description
pack-priv
RecordDelegate(Configuration configuration, Supplier<R> recordSupplier, Boolean fetched)

pack-priv
RecordDelegate(Configuration configuration, Supplier<R> recordSupplier, Boolean fetched, RecordDelegate.RecordLifecycleType type)

Method Summary

Modifier and TypeMethod and Description
pack-priv static final <R extends Record> RecordDelegate<R>
private final ExecuteType
pack-priv final <E extends Exception> R
operate(ThrowingFunction<R, R, E> operation)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

configurationback to summary
private final Configuration configuration
fetchedback to summary
private final Boolean fetched
recordSupplierback to summary
private final Supplier<R> recordSupplier
typeback to summary
private final RecordDelegate.RecordLifecycleType type

Constructor Detail

RecordDelegateback to summary
pack-priv RecordDelegate(Configuration configuration, Supplier<R> recordSupplier, Boolean fetched)
RecordDelegateback to summary
pack-priv RecordDelegate(Configuration configuration, Supplier<R> recordSupplier, Boolean fetched, RecordDelegate.RecordLifecycleType type)

Method Detail

delegateback to summary
pack-priv static final <R extends Record> RecordDelegate<R> delegate(Configuration configuration, R record, RecordDelegate.RecordLifecycleType type)
executeTypeback to summary
private final ExecuteType executeType()
operateback to summary
pack-priv final <E extends Exception> R operate(ThrowingFunction<R, R, E> operation) throws ThrowingFunction-:E
Annotations
@SuppressWarnings:unchecked
org.jooq.impl back to summary

pack-priv final Enum RecordDelegate.RecordLifecycleType

extends Enum<RecordDelegate.RecordLifecycleType>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final RecordDelegate.RecordLifecycleType
public static final RecordDelegate.RecordLifecycleType
public static final RecordDelegate.RecordLifecycleType
public static final RecordDelegate.RecordLifecycleType
public static final RecordDelegate.RecordLifecycleType
public static final RecordDelegate.RecordLifecycleType
public static final RecordDelegate.RecordLifecycleType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static RecordDelegate.RecordLifecycleType
public static RecordDelegate.RecordLifecycleType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DELETEback to summary
public static final RecordDelegate.RecordLifecycleType DELETE
INSERTback to summary
public static final RecordDelegate.RecordLifecycleType INSERT
LOADback to summary
public static final RecordDelegate.RecordLifecycleType LOAD
MERGEback to summary
public static final RecordDelegate.RecordLifecycleType MERGE
REFRESHback to summary
public static final RecordDelegate.RecordLifecycleType REFRESH
STOREback to summary
public static final RecordDelegate.RecordLifecycleType STORE
UPDATEback to summary
public static final RecordDelegate.RecordLifecycleType UPDATE

Constructor Detail

RecordLifecycleTypeback to summary
private RecordLifecycleType()

Method Detail

valueOfback to summary
public static RecordDelegate.RecordLifecycleType valueOf(String name)
valuesback to summary
public static RecordDelegate.RecordLifecycleType[] values()