Class QueryActionCacheHelper
java.lang.Object
com.kingsrook.qqq.backend.core.actions.tables.helpers.QueryActionCacheHelper
After running a query, if it's for a table that's a CacheOf another table,
see if there are any cache use-cases to apply to the query result.
Such as:
- if it's a query for one or more values in a UniqueKey:
- if any particular UniqueKeys weren't found, look in the source table
- if any cached records are expired, refresh them from the source
- possibly updating the cached record; possibly deleting it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleCaching
(QueryInput queryInput, QueryOutput queryOutput)
-
Constructor Details
-
QueryActionCacheHelper
public QueryActionCacheHelper()
-
-
Method Details
-
handleCaching
- Throws:
QException
-