public class LikePredicate extends AbstractPredicate
Modifier and Type | Field and Description |
---|---|
protected String |
expression |
Constructor and Description |
---|
LikePredicate() |
LikePredicate(String attributeName,
String expression) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
applyForSingleAttributeValue(Comparable attributeValue) |
boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected int |
getFlags() |
int |
getId()
Returns type identifier for this class.
|
int |
hashCode() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
apply, convert, getFactoryId
protected String expression
protected boolean applyForSingleAttributeValue(Comparable attributeValue)
applyForSingleAttributeValue
in class AbstractPredicate
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class AbstractPredicate
out
- outputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class AbstractPredicate
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.protected int getFlags()
public int getId()
IdentifiedDataSerializable
public boolean equals(Object o)
equals
in class AbstractPredicate
public boolean canEqual(Object other)
canEqual
in class AbstractPredicate
public int hashCode()
hashCode
in class AbstractPredicate
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.