public class IndexingQueryFilterImpl extends Object implements IndexingQueryFilter
Constructor and Description |
---|
IndexingQueryFilterImpl(org.apache.ignite.internal.GridKernalContext ctx,
@Nullable org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion topVer,
@Nullable int[] partsArr)
Constructor.
|
IndexingQueryFilterImpl(org.apache.ignite.internal.GridKernalContext ctx,
@Nullable org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion topVer,
@Nullable int[] partsArr,
boolean treatReplicatedAsPartitioned)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
@Nullable IndexingQueryCacheFilter |
forCache(String cacheName)
Creates optional predicate for cache.
|
public IndexingQueryFilterImpl(org.apache.ignite.internal.GridKernalContext ctx, @Nullable @Nullable org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion topVer, @Nullable @Nullable int[] partsArr, boolean treatReplicatedAsPartitioned)
ctx
- Kernal context.topVer
- Topology version.partsArr
- Partitions array.treatReplicatedAsPartitioned
- If true, only primary partitions of replicated caches will be used.public IndexingQueryFilterImpl(org.apache.ignite.internal.GridKernalContext ctx, @Nullable @Nullable org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion topVer, @Nullable @Nullable int[] partsArr)
ctx
- Kernal context.topVer
- Topology version.partsArr
- Partitions array.@Nullable public @Nullable IndexingQueryCacheFilter forCache(String cacheName)
forCache
in interface IndexingQueryFilter
cacheName
- Cache name.null
if no filtering is needed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023