com.hazelcast.query
public static class Predicates.AndPredicate extends Object implements IndexAwarePredicate, DataSerializable
Modifier and Type | Field and Description |
---|---|
protected Predicate[] |
predicates |
Constructor and Description |
---|
Predicates.AndPredicate() |
Predicates.AndPredicate(Predicate... predicates) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(Map.Entry mapEntry) |
Set<QueryableEntry> |
filter(QueryContext queryContext) |
boolean |
isIndexed(QueryContext queryContext) |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
protected Predicate[] predicates
public Predicates.AndPredicate()
public Predicates.AndPredicate(Predicate... predicates)
public Set<QueryableEntry> filter(QueryContext queryContext)
filter
in interface IndexAwarePredicate
public boolean isIndexed(QueryContext queryContext)
isIndexed
in interface IndexAwarePredicate
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.