public final class PredicateUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
estimatedSizeOf(Collection<QueryableEntry> result)
In case of AndResultSet and OrResultSet calling size() may be very
expensive so quicker estimatedSize() is used.
|
static boolean |
isNull(Comparable value) |
static <T> T |
unwrapIfOptional(Object value)
Unwraps the given potentially
optional value. |
public static int estimatedSizeOf(Collection<QueryableEntry> result)
result - result of a predicated searchAndResultSet.estimatedSize(),
OrResultSet.estimatedSize()public static boolean isNull(Comparable value)
true if the given value is considered as a null-like by
predicates and indexes, false otherwise.Copyright © 2019 Hazelcast, Inc.. All rights reserved.