public class SqlPredicate extends Predicates.AbstractPredicate implements IndexAwarePredicate
Constructor and Description |
---|
SqlPredicate() |
SqlPredicate(String sql) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(MapEntry mapEntry) |
void |
collectAppliedIndexes(Set<Index> setAppliedIndexes,
Map<Expression,Index> mapIndexes) |
boolean |
collectIndexAwarePredicates(List<IndexAwarePredicate> lsIndexPredicates,
Map<Expression,Index> mapIndexes) |
Set<MapEntry> |
filter(QueryContext queryContext) |
boolean |
isIndexed(QueryContext queryContext) |
void |
readData(DataInput in) |
String |
toString() |
void |
writeData(DataOutput out) |
getRealObject
public SqlPredicate(String sql)
public SqlPredicate()
public boolean collectIndexAwarePredicates(List<IndexAwarePredicate> lsIndexPredicates, Map<Expression,Index> mapIndexes)
collectIndexAwarePredicates
in interface IndexAwarePredicate
public boolean isIndexed(QueryContext queryContext)
isIndexed
in interface IndexAwarePredicate
public Set<MapEntry> filter(QueryContext queryContext)
filter
in interface IndexAwarePredicate
public void collectAppliedIndexes(Set<Index> setAppliedIndexes, Map<Expression,Index> mapIndexes)
collectAppliedIndexes
in interface IndexAwarePredicate
public void writeData(DataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public void readData(DataInput in) throws IOException
readData
in interface DataSerializable
IOException
public String toString()
Copyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.