public class PredicateBuilder extends Object implements IndexAwarePredicate, DataSerializable
Constructor and Description |
---|
PredicateBuilder() |
Modifier and Type | Method and Description |
---|---|
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) |
public String attribute
public EntryObject getEntryObject()
public PredicateBuilder and(Predicate predicate)
public PredicateBuilder or(Predicate predicate)
public Set<com.hazelcast.query.impl.QueryableEntry> filter(com.hazelcast.query.impl.QueryContext queryContext)
filter
in interface IndexAwarePredicate
public boolean isIndexed(com.hazelcast.query.impl.QueryContext queryContext)
isIndexed
in interface IndexAwarePredicate
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException
readData
in interface DataSerializable
IOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.