com.hazelcast.query
Class Predicates.InPredicate

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

public static class Predicates.InPredicate
extends Predicates.AbstractPredicate
implements IndexAwarePredicate


Constructor Summary
Predicates.InPredicate()
           
Predicates.InPredicate(Expression first, Object... second)
           
 
Method Summary
 boolean apply(MapEntry entry)
           
 void collectAppliedIndexes(Set<Index> setAppliedIndexes, Map<Expression,Index> mapIndexes)
           
 boolean collectIndexAwarePredicates(List<IndexAwarePredicate> lsIndexPredicates, Map<Expression,Index> mapIndexes)
           
 Set<MapEntry> filter(QueryContext queryContext)
           
 Object getValue()
           
 boolean isIndexed(QueryContext queryContext)
           
 void readData(DataInput in)
           
 String toString()
           
 void writeData(DataOutput out)
           
 
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
 

Constructor Detail

Predicates.InPredicate

public Predicates.InPredicate()

Predicates.InPredicate

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

apply

public boolean apply(MapEntry entry)
Specified by:
apply in interface Predicate

collectIndexAwarePredicates

public boolean collectIndexAwarePredicates(List<IndexAwarePredicate> lsIndexPredicates,
                                           Map<Expression,Index> mapIndexes)
Specified by:
collectIndexAwarePredicates in interface IndexAwarePredicate

collectAppliedIndexes

public void collectAppliedIndexes(Set<Index> setAppliedIndexes,
                                  Map<Expression,Index> mapIndexes)
Specified by:
collectAppliedIndexes in interface IndexAwarePredicate

isIndexed

public boolean isIndexed(QueryContext queryContext)
Specified by:
isIndexed in interface IndexAwarePredicate

filter

public Set<MapEntry> filter(QueryContext queryContext)
Specified by:
filter in interface IndexAwarePredicate

getValue

public Object getValue()

writeData

public void writeData(DataOutput out)
               throws IOException
Specified by:
writeData in interface DataSerializable
Throws:
IOException

readData

public void readData(DataInput in)
              throws IOException
Specified by:
readData in interface DataSerializable
Throws:
IOException

toString

public String toString()


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.