java.lang.Object
org.jooq.impl.AuditGenerator<R,X,T>
- All Implemented Interfaces:
Serializable,Function<GeneratorContext<R,,X, T>, Field<T>> Generator<R,X, T>
@Pro
public final class AuditGenerator<R extends Record,X extends Table<R>,T>
extends Object
implements Generator<R,X,T>
A
Generator that can be used for audit columns, whose values are
defined by Configuration.auditProvider().- Author:
- Lukas Eder
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuditGenerator(AuditType auditType, GeneratorStatementType... statementTypes) -
Method Summary
Modifier and TypeMethodDescriptionapply(GeneratorContext<R, X, T> ctx) booleanWhether this generator supports a given statement type.
-
Constructor Details
-
AuditGenerator
-
-
Method Details
-
apply
-
supports
Description copied from interface:GeneratorWhether this generator supports a given statement type.Implementations may choose to deactivate themselves for some statement types, e.g. if they want to be invoked only for
GeneratorStatementType.INSERT.
-