public class GridSetQueryPredicate<K,V> extends Object implements IgniteBiPredicate<K,V>, Externalizable
IgniteSet items.| Constructor and Description |
|---|
GridSetQueryPredicate()
Required by
Externalizable. |
GridSetQueryPredicate(IgniteUuid setId,
boolean collocated) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(K k,
V v)
Predicate body.
|
boolean |
collocated() |
void |
init(GridCacheContext ctx) |
void |
readExternal(ObjectInput in) |
IgniteUuid |
setId() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public GridSetQueryPredicate()
Externalizable.public GridSetQueryPredicate(IgniteUuid setId, boolean collocated)
setId - Set ID.collocated - Collocation flag.public void init(GridCacheContext ctx)
ctx - Cache context.public boolean collocated()
public IgniteUuid setId()
public boolean apply(K k, V v)
apply in interface IgniteBiPredicate<K,V>k - First parameter.v - Second parameter.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 1.7.0 Release Date : August 1 2016