com.hazelcast.query
Class PredicateBuilder

java.lang.Object
  extended by com.hazelcast.query.PredicateBuilder
All Implemented Interfaces:
DataSerializable, IndexAwarePredicate, Predicate, Serializable

public class PredicateBuilder
extends Object
implements IndexAwarePredicate, DataSerializable

See Also:
Serialized Form

Field Summary
 String attribute
           
 
Constructor Summary
PredicateBuilder()
           
 
Method Summary
 PredicateBuilder and(Predicate predicate)
           
 boolean apply(Map.Entry mapEntry)
           
 Set<com.hazelcast.query.impl.QueryableEntry> filter(com.hazelcast.query.impl.QueryContext queryContext)
           
 EntryObject getEntryObject()
           
 boolean isIndexed(com.hazelcast.query.impl.QueryContext queryContext)
           
 PredicateBuilder or(Predicate predicate)
           
 void readData(com.hazelcast.nio.ObjectDataInput in)
           
 String toString()
           
 void writeData(com.hazelcast.nio.ObjectDataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attribute

public String attribute
Constructor Detail

PredicateBuilder

public PredicateBuilder()
Method Detail

apply

public boolean apply(Map.Entry mapEntry)
Specified by:
apply in interface Predicate

getEntryObject

public EntryObject getEntryObject()

and

public PredicateBuilder and(Predicate predicate)

or

public PredicateBuilder or(Predicate predicate)

toString

public String toString()
Overrides:
toString in class Object

filter

public Set<com.hazelcast.query.impl.QueryableEntry> filter(com.hazelcast.query.impl.QueryContext queryContext)
Specified by:
filter in interface IndexAwarePredicate

isIndexed

public boolean isIndexed(com.hazelcast.query.impl.QueryContext queryContext)
Specified by:
isIndexed in interface IndexAwarePredicate

writeData

public void writeData(com.hazelcast.nio.ObjectDataOutput out)
               throws IOException
Specified by:
writeData in interface DataSerializable
Throws:
IOException

readData

public void readData(com.hazelcast.nio.ObjectDataInput in)
              throws IOException
Specified by:
readData in interface DataSerializable
Throws:
IOException


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