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) |
String |
getAttribute() |
EntryObject |
getEntryObject() |
boolean |
isIndexed(com.hazelcast.query.impl.QueryContext queryContext) |
PredicateBuilder |
or(Predicate predicate) |
void |
readData(com.hazelcast.nio.ObjectDataInput in)
Reads fields from the input stream
|
void |
setAttribute(String attribute) |
String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out)
Writes object fields to output stream
|
public String getAttribute()
public void setAttribute(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 IndexAwarePredicatepublic boolean isIndexed(com.hazelcast.query.impl.QueryContext queryContext)
isIndexed in interface IndexAwarePredicatepublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.