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