public class SqlPredicate extends Predicates.AbstractPredicate implements IndexAwarePredicate
attribute
Constructor and Description |
---|
SqlPredicate() |
SqlPredicate(String sql) |
Modifier and Type | Method and Description |
---|---|
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)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out)
Writes object fields to output stream
|
convert, getIndex, readAttribute
public SqlPredicate(String sql)
public SqlPredicate()
public boolean isIndexed(com.hazelcast.query.impl.QueryContext queryContext)
isIndexed
in interface IndexAwarePredicate
isIndexed
in class Predicates.AbstractPredicate
public Set<com.hazelcast.query.impl.QueryableEntry> filter(com.hazelcast.query.impl.QueryContext queryContext)
filter
in interface IndexAwarePredicate
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class Predicates.AbstractPredicate
out
- outputIOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class Predicates.AbstractPredicate
in
- inputIOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.