com.hazelcast.query
Class SqlPredicate
java.lang.Object
SerializationHelper
com.hazelcast.query.Predicates.AbstractPredicate
com.hazelcast.query.SqlPredicate
- All Implemented Interfaces:
- DataSerializable, IndexAwarePredicate, Predicate, Serializable
public class SqlPredicate
- extends Predicates.AbstractPredicate
- implements IndexAwarePredicate
SqlPredicate
public SqlPredicate(String sql)
SqlPredicate
public SqlPredicate()
apply
public boolean apply(MapEntry mapEntry)
- Specified by:
apply
in interface Predicate
collectIndexAwarePredicates
public boolean collectIndexAwarePredicates(List<IndexAwarePredicate> lsIndexPredicates,
Map<Expression,Index> mapIndexes)
- Specified by:
collectIndexAwarePredicates
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
collectAppliedIndexes
public void collectAppliedIndexes(Set<Index> setAppliedIndexes,
Map<Expression,Index> mapIndexes)
- Specified by:
collectAppliedIndexes
in interface IndexAwarePredicate
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.