com.hazelcast.query
public abstract static class Predicates.AbstractPredicate extends Object implements IndexAwarePredicate, DataSerializable
Modifier | Constructor and Description |
---|---|
protected |
Predicates.AbstractPredicate() |
protected |
Predicates.AbstractPredicate(String attribute) |
Modifier and Type | Method and Description |
---|---|
protected Comparable |
convert(Map.Entry mapEntry,
Comparable entryValue,
Comparable attributeValue) |
protected Index |
getIndex(QueryContext queryContext) |
boolean |
isIndexed(QueryContext queryContext) |
protected Comparable |
readAttribute(Map.Entry entry) |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
filter
protected String attribute
protected Predicates.AbstractPredicate()
protected Predicates.AbstractPredicate(String attribute)
protected Comparable convert(Map.Entry mapEntry, Comparable entryValue, Comparable attributeValue)
public boolean isIndexed(QueryContext queryContext)
isIndexed
in interface IndexAwarePredicate
protected Index getIndex(QueryContext queryContext)
protected Comparable readAttribute(Map.Entry entry)
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.