com.hazelcast.query
Class Predicates.NotEqualPredicate

java.lang.Object
  extended by SerializationHelper
      extended by com.hazelcast.query.Predicates.AbstractPredicate
          extended by com.hazelcast.query.Predicates.EqualPredicate
              extended by com.hazelcast.query.Predicates.NotEqualPredicate
All Implemented Interfaces:
DataSerializable, IndexAwarePredicate, Predicate, Serializable
Enclosing class:
Predicates

public static class Predicates.NotEqualPredicate
extends Predicates.EqualPredicate
implements IndexAwarePredicate


Field Summary
 
Fields inherited from class com.hazelcast.query.Predicates.EqualPredicate
secondIsExpression
 
Constructor Summary
Predicates.NotEqualPredicate()
           
Predicates.NotEqualPredicate(Expression first, Expression second)
           
Predicates.NotEqualPredicate(Expression first, Object second)
           
 
Method Summary
 boolean apply(MapEntry entry)
           
 Set<MapEntry> filter(QueryContext queryContext)
           
 String toString()
           
 
Methods inherited from class com.hazelcast.query.Predicates.EqualPredicate
collectAppliedIndexes, collectIndexAwarePredicates, doApply, getConvertedRealValue, getValue, isIndexed, readData, writeData
 
Methods inherited from class com.hazelcast.query.Predicates.AbstractPredicate
getRealObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hazelcast.query.IndexAwarePredicate
collectAppliedIndexes, collectIndexAwarePredicates, isIndexed
 

Constructor Detail

Predicates.NotEqualPredicate

public Predicates.NotEqualPredicate()

Predicates.NotEqualPredicate

public Predicates.NotEqualPredicate(Expression first,
                                    Expression second)

Predicates.NotEqualPredicate

public Predicates.NotEqualPredicate(Expression first,
                                    Object second)
Method Detail

apply

public boolean apply(MapEntry entry)
Specified by:
apply in interface Predicate
Overrides:
apply in class Predicates.EqualPredicate

filter

public Set<MapEntry> filter(QueryContext queryContext)
Specified by:
filter in interface IndexAwarePredicate
Overrides:
filter in class Predicates.EqualPredicate

toString

public String toString()
Overrides:
toString in class Predicates.EqualPredicate


Copyright 2008-2012 Hazel Ltd. All Rights Reserved.