public class GridSetQueryPredicate<K,V> extends Object implements GridBiPredicate<K,V>, Externalizable
GridCacheSet items.| Constructor and Description |
|---|
GridSetQueryPredicate()
Required by
Externalizable. |
GridSetQueryPredicate(GridUuid 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) |
GridUuid |
setId() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public GridSetQueryPredicate()
Externalizable.public GridSetQueryPredicate(GridUuid setId, boolean collocated)
setId - Set ID.collocated - Collocation flag.public void init(GridCacheContext ctx)
ctx - Cache context.public boolean collocated()
public GridUuid setId()
public boolean apply(K k, V v)
apply in interface GridBiPredicate<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 ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2014. All rights reserved.