com.hazelcast.query
Class Predicates.AbstractPredicate
java.lang.Object
com.hazelcast.query.Predicates.AbstractPredicate
- All Implemented Interfaces:
- DataSerializable, IndexAwarePredicate, Predicate, Serializable
- Direct Known Subclasses:
- Predicates.BetweenPredicate, Predicates.EqualPredicate, Predicates.InPredicate, SqlPredicate
- Enclosing class:
- Predicates
public abstract static class Predicates.AbstractPredicate
- extends Object
- implements IndexAwarePredicate, DataSerializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attribute
protected String attribute
Predicates.AbstractPredicate
protected Predicates.AbstractPredicate()
Predicates.AbstractPredicate
protected Predicates.AbstractPredicate(String attribute)
convert
protected Comparable convert(Map.Entry mapEntry,
Comparable entryValue,
Comparable attributeValue)
isIndexed
public boolean isIndexed(com.hazelcast.query.impl.QueryContext queryContext)
- Specified by:
isIndexed
in interface IndexAwarePredicate
getIndex
protected com.hazelcast.query.impl.Index getIndex(com.hazelcast.query.impl.QueryContext queryContext)
readAttribute
protected Comparable readAttribute(Map.Entry entry)
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.