com.hazelcast.query
Class Predicates.AndPredicate

java.lang.Object
  extended by com.hazelcast.query.Predicates.AndPredicate
All Implemented Interfaces:
DataSerializable, IndexAwarePredicate, Predicate, Serializable
Enclosing class:
Predicates

public static class Predicates.AndPredicate
extends Object
implements IndexAwarePredicate, DataSerializable

And Predicate

See Also:
Serialized Form

Field Summary
protected  Predicate[] predicates
           
 
Constructor Summary
Predicates.AndPredicate()
           
Predicates.AndPredicate(Predicate... predicates)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

predicates

protected Predicate[] predicates
Constructor Detail

Predicates.AndPredicate

public Predicates.AndPredicate()

Predicates.AndPredicate

public Predicates.AndPredicate(Predicate... predicates)
Method Detail

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

toString

public String toString()
Overrides:
toString in class Object

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


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.