com.hazelcast.query
Class Predicates.LikePredicate

java.lang.Object
  extended by com.hazelcast.query.Predicates.LikePredicate
All Implemented Interfaces:
DataSerializable, Predicate, Serializable
Direct Known Subclasses:
Predicates.ILikePredicate
Enclosing class:
Predicates

public static class Predicates.LikePredicate
extends Object
implements Predicate, DataSerializable

Like Predicate

See Also:
Serialized Form

Field Summary
protected  String attribute
           
protected  String second
           
 
Constructor Summary
Predicates.LikePredicate()
           
Predicates.LikePredicate(String attribute, String second)
           
 
Method Summary
 boolean apply(Map.Entry entry)
           
protected  int getFlags()
           
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 String toString()
           
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attribute

protected String attribute

second

protected String second
Constructor Detail

Predicates.LikePredicate

public Predicates.LikePredicate()

Predicates.LikePredicate

public Predicates.LikePredicate(String attribute,
                                String second)
Method Detail

apply

public boolean apply(Map.Entry entry)
Specified by:
apply in interface Predicate

writeData

public void writeData(ObjectDataOutput out)
               throws IOException
Description copied from interface: DataSerializable
Writes object fields to output stream

Specified by:
writeData in interface DataSerializable
Parameters:
out - output
Throws:
IOException

readData

public void readData(ObjectDataInput in)
              throws IOException
Description copied from interface: DataSerializable
Reads fields from the input stream

Specified by:
readData in interface DataSerializable
Parameters:
in - input
Throws:
IOException

getFlags

protected int getFlags()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.