com.hazelcast.query
Class Predicates.AbstractPredicate

java.lang.Object
  extended by 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

Field Summary
protected  String attribute
           
 
Constructor Summary
protected Predicates.AbstractPredicate()
           
protected Predicates.AbstractPredicate(String attribute)
           
 
Method Summary
protected  Comparable convert(Map.Entry mapEntry, Comparable entryValue, Comparable attributeValue)
           
protected  com.hazelcast.query.impl.Index getIndex(com.hazelcast.query.impl.QueryContext queryContext)
           
 boolean isIndexed(com.hazelcast.query.impl.QueryContext queryContext)
           
protected  Comparable readAttribute(Map.Entry entry)
           
 void readData(com.hazelcast.nio.ObjectDataInput in)
           
 void writeData(com.hazelcast.nio.ObjectDataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hazelcast.query.IndexAwarePredicate
filter
 
Methods inherited from interface com.hazelcast.query.Predicate
apply
 

Field Detail

attribute

protected String attribute
Constructor Detail

Predicates.AbstractPredicate

protected Predicates.AbstractPredicate()

Predicates.AbstractPredicate

protected Predicates.AbstractPredicate(String attribute)
Method Detail

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.