Class CacheOf
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.tables.cache.CacheOf
Meta-data, to assign to a table which is a "cache of" another table.
e.g., a database table that's a "cache of" an api table - we'd have
databaseTable.withCacheOf(sourceTable=apiTable)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for cachedDateFieldNameGetter for expirationSecondsGetter for sourceTableGetter for useCasesvoid
setCachedDateFieldName
(String cachedDateFieldName) Setter for cachedDateFieldNamevoid
setExpirationSeconds
(Integer expirationSeconds) Setter for expirationSecondsvoid
setSourceTable
(String sourceTable) Setter for sourceTablevoid
setUseCases
(List<CacheUseCase> useCases) Setter for useCaseswithCachedDateFieldName
(String cachedDateFieldName) Fluent setter for cachedDateFieldNamewithExpirationSeconds
(Integer expirationSeconds) Fluent setter for expirationSecondswithSourceTable
(String sourceTable) Fluent setter for sourceTablewithUseCase
(CacheUseCase useCase) Fluent setter for useCaseswithUseCases
(List<CacheUseCase> useCases) Fluent setter for useCases
-
Constructor Details
-
CacheOf
public CacheOf()
-
-
Method Details
-
getSourceTable
Getter for sourceTable -
setSourceTable
Setter for sourceTable -
withSourceTable
-
getExpirationSeconds
Getter for expirationSeconds -
setExpirationSeconds
Setter for expirationSeconds -
withExpirationSeconds
-
getCachedDateFieldName
Getter for cachedDateFieldName -
setCachedDateFieldName
Setter for cachedDateFieldName -
withCachedDateFieldName
-
getUseCases
Getter for useCases -
setUseCases
Setter for useCases -
withUseCases
Fluent setter for useCases -
withUseCase
Fluent setter for useCases
-