Package org.apache.ignite.spi.indexing
Class IndexingQueryCacheFilter
- java.lang.Object
-
- org.apache.ignite.spi.indexing.IndexingQueryCacheFilter
-
public class IndexingQueryCacheFilter extends Object
Indexing query filter for specific cache.
-
-
Constructor Summary
Constructors Constructor Description IndexingQueryCacheFilter(org.apache.ignite.internal.processors.cache.GridCacheAffinityManager aff, Set<Integer> parts, org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion topVer, ClusterNode locNode)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(Object key)
Apply filter.boolean
applyPartition(int part)
Apply filter.
-
-
-
Constructor Detail
-
IndexingQueryCacheFilter
public IndexingQueryCacheFilter(org.apache.ignite.internal.processors.cache.GridCacheAffinityManager aff, Set<Integer> parts, org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion topVer, ClusterNode locNode)
Constructor.- Parameters:
aff
- Affinity.parts
- Partitions.topVer
- Topology version.locNode
- Local node.
-
-
Method Detail
-
apply
public boolean apply(Object key)
Apply filter.- Parameters:
key
- Key.- Returns:
True
if passed.
-
applyPartition
public boolean applyPartition(int part)
Apply filter.- Parameters:
part
- Partition.- Returns:
True
if passed.
-
-