Search in sources :

Example 1 with ILikePredicate

use of com.hazelcast.query.impl.predicates.ILikePredicate in project hazelcast-jet by hazelcast.

the class GenericPredicatesTest method testILike_Id.

@Test
public void testILike_Id() {
    ILikePredicate predicate = (ILikePredicate) ilike(ATTRIBUTE, "Java_World");
    assertThat(predicate.getId(), allOf(equalTo(6), equalTo(PredicateDataSerializerHook.ILIKE_PREDICATE)));
}
Also used : ILikePredicate(com.hazelcast.query.impl.predicates.ILikePredicate) Test(org.junit.Test)

Aggregations

ILikePredicate (com.hazelcast.query.impl.predicates.ILikePredicate)1 Test (org.junit.Test)1