com.hazelcast.query
Class SqlPredicate

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

public class SqlPredicate
extends Predicates.AbstractPredicate
implements IndexAwarePredicate

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.hazelcast.query.Predicates.AbstractPredicate
attribute
 
Constructor Summary
SqlPredicate()
           
SqlPredicate(String sql)
           
 
Method Summary
 boolean apply(Map.Entry mapEntry)
           
 boolean equals(Object o)
           
 Set<com.hazelcast.query.impl.QueryableEntry> filter(com.hazelcast.query.impl.QueryContext queryContext)
           
 int hashCode()
           
 boolean isIndexed(com.hazelcast.query.impl.QueryContext queryContext)
           
 void readData(com.hazelcast.nio.ObjectDataInput in)
           
 String toString()
           
 void writeData(com.hazelcast.nio.ObjectDataOutput out)
           
 
Methods inherited from class com.hazelcast.query.Predicates.AbstractPredicate
convert, getIndex, readAttribute
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqlPredicate

public SqlPredicate(String sql)

SqlPredicate

public SqlPredicate()
Method Detail

apply

public boolean apply(Map.Entry mapEntry)
Specified by:
apply in interface Predicate

isIndexed

public boolean isIndexed(com.hazelcast.query.impl.QueryContext queryContext)
Specified by:
isIndexed in interface IndexAwarePredicate
Overrides:
isIndexed in class Predicates.AbstractPredicate

filter

public Set<com.hazelcast.query.impl.QueryableEntry> filter(com.hazelcast.query.impl.QueryContext queryContext)
Specified by:
filter in interface IndexAwarePredicate

writeData

public void writeData(com.hazelcast.nio.ObjectDataOutput out)
               throws IOException
Specified by:
writeData in interface DataSerializable
Overrides:
writeData in class Predicates.AbstractPredicate
Throws:
IOException

readData

public void readData(com.hazelcast.nio.ObjectDataInput in)
              throws IOException
Specified by:
readData in interface DataSerializable
Overrides:
readData in class Predicates.AbstractPredicate
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.