Class ScanQuery<TK, TV>
Scan query over cache entries. Will accept all the entries if no predicate was set.
Namespace: Apache.Ignite.Core.Cache.Query
Assembly: Apache.Ignite.Core.dll
Syntax
public class ScanQuery<TK, TV> : QueryBase
Type Parameters
Name | Description |
---|---|
TK | |
TV |
Constructors
ScanQuery(ICacheEntryFilter<TK, TV>)
Initializes a new instance of the ScanQuery<TK, TV> class.
Declaration
public ScanQuery(ICacheEntryFilter<TK, TV> filter = null)
Parameters
Type | Name | Description |
---|---|---|
ICacheEntryFilter<TK, TV> | filter | The filter. |
Properties
Filter
Gets or sets the predicate.
Declaration
public ICacheEntryFilter<TK, TV> Filter { get; set; }
Property Value
Type | Description |
---|---|
ICacheEntryFilter<TK, TV> |
Partition
Gets or sets partition number over which this query should iterate. If null, query will iterate over all partitions in the cache. Must be in the range [0, N) where N is partition number in the cache.
Declaration
public int? Partition { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |