- All Implemented Interfaces:
Serializable
,Comparable<CacheType>
,Constable
The set of internal cache types.
These are all the cache types that jOOQ internally uses for caching various
things in a Configuration
, including e.g. reflection lookups,
mappers, SQL translations, etc.
The actual cache implementations are provided by CacheProvider
and
can be overridden.
See [#2965] [#8334]
- Author:
- Lukas Eder
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription[#8334] A cache for SQL to SQL translations in theDSLContext.parsingConnection()
, to speed up its usage.A cache used by theDefaultRecordMapperProvider
to cache allRecordMapper
instances and their possibly expensive initialisations perRecordType
andClass
pairs.A reflection cache for lookups of JPA annotated getters inDefaultRecordMapper
.A reflection cache for lookups of JPA annotated members inDefaultRecordMapper
.A reflection cache for lookups of JPA annotated setters inDefaultRecordMapper
.A reflection cache for lookups of getters matched by name inDefaultRecordMapper
.A reflection cache for lookups of members matched by name inDefaultRecordMapper
.A reflection cache for lookups of setters matched by name inDefaultRecordMapper
.A reflection cache to check if a type has any JPA annotations at all, inDefaultRecordMapper
. -
Method Summary
-
Enum Constant Details
-
REFLECTION_CACHE_GET_ANNOTATED_GETTER
A reflection cache for lookups of JPA annotated getters inDefaultRecordMapper
. -
REFLECTION_CACHE_GET_ANNOTATED_MEMBERS
A reflection cache for lookups of JPA annotated members inDefaultRecordMapper
. -
REFLECTION_CACHE_GET_ANNOTATED_SETTERS
A reflection cache for lookups of JPA annotated setters inDefaultRecordMapper
. -
REFLECTION_CACHE_GET_MATCHING_GETTER
A reflection cache for lookups of getters matched by name inDefaultRecordMapper
. -
REFLECTION_CACHE_GET_MATCHING_MEMBERS
A reflection cache for lookups of members matched by name inDefaultRecordMapper
. -
REFLECTION_CACHE_GET_MATCHING_SETTERS
A reflection cache for lookups of setters matched by name inDefaultRecordMapper
. -
REFLECTION_CACHE_HAS_COLUMN_ANNOTATIONS
A reflection cache to check if a type has any JPA annotations at all, inDefaultRecordMapper
. -
CACHE_RECORD_MAPPERS
A cache used by theDefaultRecordMapperProvider
to cache allRecordMapper
instances and their possibly expensive initialisations perRecordType
andClass
pairs. -
CACHE_PARSING_CONNECTION
[#8334] A cache for SQL to SQL translations in theDSLContext.parsingConnection()
, to speed up its usage.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-