public class ScanQuery<K,V> extends Query<javax.cache.Cache.Entry<K,V>>
IgniteCache.query(Query)
,
Serialized FormDFLT_PAGE_SIZE
Constructor and Description |
---|
ScanQuery()
Create scan query returning all entries.
|
ScanQuery(IgniteBiPredicate<K,V> filter)
Create scan query with filter.
|
Modifier and Type | Method and Description |
---|---|
IgniteBiPredicate<K,V> |
getFilter()
Gets filter.
|
ScanQuery<K,V> |
setFilter(IgniteBiPredicate<K,V> filter)
Sets filter.
|
ScanQuery<K,V> |
setLocal(boolean loc)
Sets whether this query should be executed on local node only.
|
ScanQuery<K,V> |
setPageSize(int pageSize)
Sets optional page size, if
0 , then default is used. |
String |
toString() |
getPageSize, isLocal
public ScanQuery()
public ScanQuery(@Nullable IgniteBiPredicate<K,V> filter)
filter
- Filter. If null
then all entries will be returned.public IgniteBiPredicate<K,V> getFilter()
public ScanQuery<K,V> setFilter(@Nullable IgniteBiPredicate<K,V> filter)
filter
- Filter. If null
then all entries will be returned.this
for chaining.public ScanQuery<K,V> setPageSize(int pageSize)
0
, then default is used.setPageSize
in class Query<javax.cache.Cache.Entry<K,V>>
pageSize
- Optional page size.this
for chaining.public ScanQuery<K,V> setLocal(boolean loc)
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015