com.hazelcast.query
Class Predicates.OrPredicate
java.lang.Object
com.hazelcast.query.Predicates.OrPredicate
- All Implemented Interfaces:
- DataSerializable, IndexAwarePredicate, Predicate, Serializable
- Enclosing class:
- Predicates
public static class Predicates.OrPredicate
- extends Object
- implements IndexAwarePredicate, DataSerializable
Or Predicate
- See Also:
- Serialized Form
Predicates.OrPredicate
public Predicates.OrPredicate()
Predicates.OrPredicate
public Predicates.OrPredicate(Predicate... predicates)
filter
public Set<QueryableEntry> filter(QueryContext queryContext)
- Specified by:
filter
in interface IndexAwarePredicate
isIndexed
public boolean isIndexed(QueryContext queryContext)
- Specified by:
isIndexed
in interface IndexAwarePredicate
apply
public boolean apply(Map.Entry mapEntry)
- Specified by:
apply
in interface Predicate
writeData
public void writeData(ObjectDataOutput out)
throws IOException
- Description copied from interface:
DataSerializable
- Writes object fields to output stream
- Specified by:
writeData
in interface DataSerializable
- Parameters:
out
- output
- Throws:
IOException
readData
public void readData(ObjectDataInput in)
throws IOException
- Description copied from interface:
DataSerializable
- Reads fields from the input stream
- Specified by:
readData
in interface DataSerializable
- Parameters:
in
- input
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.