- 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, ornull
when the field is unknown / not applicable.@NotNull Instant
The time, according toConfiguration.clock()
, when the renderingContext
was created, or when thisGeneratorContext
was created in case no renderingContext
was available.@Nullable GeneratorStatementType
The statement type in which theGenerator
is being invoked, ornull
when the statement type is unknown / not applicable.table()
The target table whose contents are being generated, ornull
when 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 renderingContext
was created, or when thisGeneratorContext
was created in case no renderingContext
was available. -
table
The target table whose contents are being generated, ornull
when the table is unknown / not applicable. -
field
The target field whose contents are being generated, ornull
when the field is unknown / not applicable. -
statementType
The statement type in which theGenerator
is being invoked, ornull
when the statement type is unknown / not applicable.
-