I use sqlJdbs query as a data provider for my CCC controls. I use geospatial request in my query that's why I cache my results(Cache=True). Otherwise the request made long.
It works fine. However I have to use parameters in my query to filter resulting rows:
SELECT ...
FROM ...
WHERE someField IN (${aoi_param})
Is there some way to cache full set of rows and then apply WHERE
to cached results without rebuilding new cache for each set of values in the ${aoi_param}
?
What is the best practice?
So, I am not really sure that it is the best practice, but I solved my problem this way:
I included
aoi_param
to the Listeners and Parameters of my chart controlThen I filtered data set in Post Fetch:
WHERE someField IN (${aoi_param})
from the query of my sql over sqlJdbc component