> RefreshQuery is another type of query

I think that's the answer here. RefreshQuery is its own thing, and you can keep 
using it.

Andrus


> On Jul 2, 2019, at 10:05 AM, Arseni Bulatski <[email protected]> 
> wrote:
> 
> Hi, Joe
> RefreshQuery is another type of query and is used to invalidate individual
> cache groups explicitly. To create ObjectSelect with similar behavior you
> can set cacheStrategy to QueryCacheStrategy.LOCAL_CACHE_REFRESH  or
> QueryCacheStrategy.SHARED_CACHE_REFRESH, depends on what type of cache you
> are using.
> Analog of setCacheStrategy for ObjectSelect is
> ObjectSelect.cacheStrategy(QueryCacheStrategy strategy).
> 
> On Mon, Jul 1, 2019 at 10:24 PM Joe Baldwin <[email protected]> wrote:
> 
>> Arseni,
>> 
>> What is the ObjectSelect analog to
>> 
>>        RefreshQuery
>> and
>>        setCacheStrategy
>> 
>> Thanks
>> Joe
>> 
>> 
>>> On Jun 28, 2019, at 9:47 AM, Arseni Bulatski <[email protected]>
>> wrote:
>>> 
>>> Hi all,
>>> 
>>> SelectQuery is planned to be deprecated in 4.2.
>>> ObjectSelect has better api and is recommended to use.
>>> 
>>> PR: https://issues.apache.org/jira/browse/CAY-2523
>>> 
>>> Please, write your thoughts about it.
>> 
>> 

Reply via email to