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
Provides some functionality for some predicates
such as Between, In.
- 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(QueryContext queryContext)
- Specified by:
isIndexed
in interface IndexAwarePredicate
getIndex
protected Index getIndex(QueryContext queryContext)
readAttribute
protected Comparable readAttribute(Map.Entry entry)
writeData
public void writeData(ObjectDataOutput out)
throws IOException
- Description copied from interface:
DataSerializable
- Writes object fields to output stream
- Specified by:
writeData
in interface DataSerializable
- Parameters:
out
- output
- Throws:
IOException
readData
public void readData(ObjectDataInput in)
throws IOException
- Description copied from interface:
DataSerializable
- Reads fields from the input stream
- Specified by:
readData
in interface DataSerializable
- Parameters:
in
- input
- Throws:
IOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.