Uses of Interface
com.loomcache.server.query.MapPredicate
Packages that use MapPredicate
Package
Description
-
Uses of MapPredicate in com.loomcache.server.compute
Methods in com.loomcache.server.compute with parameters of type MapPredicateModifier and TypeMethodDescription<R> REntryProcessorExecutor.aggregate(Supplier<? extends Aggregator<K, V, R>> aggregatorFactory, MapPredicate<K, V> predicate) Run a two-stage map-reduce aggregation over entries matchingpredicate.<R> REntryProcessorExecutor.aggregate(Supplier<? extends Aggregator<K, V, R>> aggregatorFactory, MapPredicate<K, V> predicate, int partitionCount) Run a two-stage map-reduce aggregation with an explicit maximum map-stage count. -
Uses of MapPredicate in com.loomcache.server.datastructures
Methods in com.loomcache.server.datastructures with parameters of type MapPredicateModifier and TypeMethodDescription<R> RDistributedMap.aggregate(Supplier<? extends Aggregator<K, V, R>> aggregatorFactory, MapPredicate<K, V> predicate) Aggregate visible entries matchingpredicatewith two-stage map-reduce combine semantics.DataStructureRegistry.createContinuousQueryCache(String cqcName, String mapName, MapPredicate<String, String> predicate) Create a continuous query cache on a named map with the given predicate.DistributedMap.entrySet(MapPredicate<K, V> predicate) Returns an unmodifiable filtered view of visible entries.DistributedMap.keySet(MapPredicate<K, V> predicate) DistributedMap.values(MapPredicate<K, V> predicate) Constructors in com.loomcache.server.datastructures with parameters of type MapPredicateModifierConstructorDescriptionContinuousQueryCache(String name, int instanceNumber, DistributedMap<K, V> sourceMap, MapPredicate<K, V> predicate) Create a CQC on the given map with the specified filter predicate. -
Uses of MapPredicate in com.loomcache.server.query
Classes in com.loomcache.server.query that implement MapPredicateModifier and TypeClassDescriptionfinal classPagingPredicate<K,V> Stateful map-entry predicate that returns one page of matching entries at a time.final classPredicateBuilder<K,V> Fluent predicate builder for distributed map queries.Methods in com.loomcache.server.query that return MapPredicateModifier and TypeMethodDescriptionstatic <K,V> MapPredicate <K, V> Predicates.alwaysFalse()Returns a predicate that always evaluates tofalse.static <K,V> MapPredicate <K, V> Predicates.alwaysTrue()Returns a predicate that always evaluates totrue.static <K,V> MapPredicate <K, V> Predicates.and(MapPredicate<K, V>... predicates) Creates a predicate that is the conjunction (AND) of the given predicates.static <K,V> MapPredicate <K, V> Predicates.between(String attribute, Comparable<?> from, Comparable<?> to) Creates a predicate that tests:from <= attribute <= to(inclusive).static <K,V> MapPredicate <K, V> Creates a predicate that tests attribute equality:attribute == value.static <K,V> MapPredicate <K, V> Predicates.greaterEqual(String attribute, Comparable<?> value) Hazelcast-compatible alias forPredicates.greaterThanOrEqual(String, Comparable).static <K,V> MapPredicate <K, V> Predicates.greaterThan(String attribute, Comparable<?> value) Creates a predicate that tests:attribute > value.static <K,V> MapPredicate <K, V> Predicates.greaterThanOrEqual(String attribute, Comparable<?> value) Creates a predicate that tests:attribute >= value.static <K,V> MapPredicate <K, V> Creates a predicate that tests case-insensitive SQL LIKE pattern matching.static <K,V> MapPredicate <K, V> Creates a predicate that tests:attribute IN (values...).static <K,V> MapPredicate <K, V> Predicates.instanceOf(Class<?> type) Creates a predicate that tests whether the entry value is an instance of the given type.static <K,V> MapPredicate <K, V> Predicates.lessEqual(String attribute, Comparable<?> value) Hazelcast-compatible alias forPredicates.lessThanOrEqual(String, Comparable).static <K,V> MapPredicate <K, V> Predicates.lessThan(String attribute, Comparable<?> value) Creates a predicate that tests:attribute < value.static <K,V> MapPredicate <K, V> Predicates.lessThanOrEqual(String attribute, Comparable<?> value) Creates a predicate that tests:attribute <= value.static <K,V> MapPredicate <K, V> Creates a predicate that tests SQL LIKE pattern matching on the attribute's string value.static <K,V> MapPredicate <K, V> Predicates.not(MapPredicate<K, V> predicate) Creates a predicate that negates the given predicate.static <K,V> MapPredicate <K, V> Creates a predicate that tests attribute inequality:attribute != value.static <K,V> MapPredicate <K, V> Predicates.or(MapPredicate<K, V>... predicates) Creates a predicate that is the disjunction (OR) of the given predicates.static <K,V> MapPredicate <K, V> Predicates.partitionPredicate(Object partitionKey, MapPredicate<K, V> predicate) Creates a predicate wrapper that carries an explicit partition key.PagingPredicate.predicate()static <K,V> MapPredicate <K, V> Creates a predicate that tests Java regex matching on the attribute's string value.Methods in com.loomcache.server.query with parameters of type MapPredicateModifier and TypeMethodDescriptionPredicateBuilder.and(MapPredicate<K, V> other) Composes this predicate with another using logical AND.static <K,V> MapPredicate <K, V> Predicates.and(MapPredicate<K, V>... predicates) Creates a predicate that is the conjunction (AND) of the given predicates.PagingPredicate.filterEntries(MapPredicate<K, V> predicate, Collection<Map.Entry<K, V>> entries) static <K,V> MapPredicate <K, V> Predicates.not(MapPredicate<K, V> predicate) Creates a predicate that negates the given predicate.PredicateBuilder.or(MapPredicate<K, V> other) Composes this predicate with another using logical OR.static <K,V> MapPredicate <K, V> Predicates.or(MapPredicate<K, V>... predicates) Creates a predicate that is the disjunction (OR) of the given predicates.static <K,V> PagingPredicate <K, V> Predicates.pagingPredicate(MapPredicate<K, V> predicate, int pageSize) Creates a stateful paging predicate over entries matchingpredicate.static <K,V> PagingPredicate <K, V> Predicates.pagingPredicate(MapPredicate<K, V> predicate, Comparator<? super Map.Entry<K, V>> comparator, int pageSize) Creates a stateful paging predicate with explicit entry ordering.static <K,V> MapPredicate <K, V> Predicates.partitionPredicate(Object partitionKey, MapPredicate<K, V> predicate) Creates a predicate wrapper that carries an explicit partition key.Constructors in com.loomcache.server.query with parameters of type MapPredicateModifierConstructorDescriptionPagingPredicate(MapPredicate<K, V> predicate, int pageSize) PagingPredicate(MapPredicate<K, V> predicate, Comparator<? super Map.Entry<K, V>> comparator, int pageSize)