- All Superinterfaces:
Scope
A
GeneratorContext is an argument object that is passed to a
Generator when generating client side computed columns.
It is a Scope that models the short lived lifecycle of the generation
of the client side computed column. Its Scope.data() map is inherited from
the parent Context scope, if available, or it is an empty map in case
no rendering Context was available.
This API is part of a commercial only feature. To use this feature, please use the jOOQ Professional Edition or the jOOQ Enterprise Edition.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionfield()The target field whose contents are being generated, ornullwhen the field is unknown / not applicable.@NotNull InstantThe time, according toConfiguration.clock(), when the renderingContextwas created, or when thisGeneratorContextwas created in case no renderingContextwas available.@Nullable GeneratorStatementTypeThe statement type in which theGeneratoris being invoked, ornullwhen the statement type is unknown / not applicable.table()The target table whose contents are being generated, ornullwhen the table is unknown / not applicable.Methods inherited from interface org.jooq.Scope
configuration, creationTime, data, data, data, dialect, dsl, family, settings
-
Method Details
-
renderTime
The time, according toConfiguration.clock(), when the renderingContextwas created, or when thisGeneratorContextwas created in case no renderingContextwas available. -
table
The target table whose contents are being generated, ornullwhen the table is unknown / not applicable. -
field
The target field whose contents are being generated, ornullwhen the field is unknown / not applicable. -
statementType
The statement type in which theGeneratoris being invoked, ornullwhen the statement type is unknown / not applicable.
-