Package | Description |
---|---|
com.hazelcast.core |
Provides core API interfaces/classes.
|
com.hazelcast.query |
Contains interfaces/classes related to Hazelcast query and indexing support.
|
com.hazelcast.web |
This package contains Hazelcast Session Replication functionality.
|
Modifier and Type | Method and Description |
---|---|
String |
ReplicatedMap.addEntryListener(EntryListener<K,V> listener,
Predicate<K,V> predicate)
Adds an continuous entry listener for this map.
|
String |
IMap.addEntryListener(EntryListener<K,V> listener,
Predicate<K,V> predicate,
boolean includeValue)
Adds an continuous entry listener for this map.
|
String |
ReplicatedMap.addEntryListener(EntryListener<K,V> listener,
Predicate<K,V> predicate,
K key)
Adds an continuous entry listener for this map.
|
String |
IMap.addEntryListener(EntryListener<K,V> listener,
Predicate<K,V> predicate,
K key,
boolean includeValue)
Adds an continuous entry listener for this map.
|
String |
IMap.addLocalEntryListener(EntryListener<K,V> listener,
Predicate<K,V> predicate,
boolean includeValue)
Adds a local entry listener for this map.
|
String |
IMap.addLocalEntryListener(EntryListener<K,V> listener,
Predicate<K,V> predicate,
K key,
boolean includeValue)
Adds a local entry listener for this map.
|
Set<Map.Entry<K,V>> |
IMap.entrySet(Predicate predicate)
Queries the map based on the specified predicate and
returns the matching entries.
|
Map<K,Object> |
IMap.executeOnEntries(com.hazelcast.map.EntryProcessor entryProcessor,
Predicate predicate)
Applies the user defined EntryProcessor to the entries in the map which satisfies provided predicate.
|
Set<K> |
TransactionalMap.keySet(Predicate predicate)
Transactional implementation of
IMap.keySet(com.hazelcast.query.Predicate) . |
Set<K> |
IMap.keySet(Predicate predicate)
Queries the map based on the specified predicate and
returns the keys of matching entries.
|
Set<K> |
IMap.localKeySet(Predicate predicate)
Returns the keys of matching locally owned entries.
|
Collection<V> |
TransactionalMap.values(Predicate predicate)
Transactional implementation of
IMap.values(com.hazelcast.query.Predicate) . |
Collection<V> |
IMap.values(Predicate predicate)
Queries the map based on the specified predicate and
returns the values of matching entries.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IndexAwarePredicate
This interface using for create filterable Predicates.
|
Modifier and Type | Class and Description |
---|---|
class |
PagingPredicate
This class is a special Predicate which helps to get a page-by-page result of a query
Can be constructed with a page-size, an inner predicate for filtering, A comparator for sorting \
This class is not thread-safe and stateless.
|
class |
PredicateBuilder
This class provides functionality to build predicate.
|
static class |
Predicates.AbstractPredicate
Provides some functionality for some predicates
such as Between, In.
|
static class |
Predicates.AndPredicate
And Predicate
|
static class |
Predicates.BetweenPredicate
Between Predicate
|
static class |
Predicates.EqualPredicate
Equal Predicate
|
static class |
Predicates.GreaterLessPredicate
Greater Less Predicate
|
static class |
Predicates.ILikePredicate
Ilike Predicate
|
static class |
Predicates.InPredicate
In Predicate
|
static class |
Predicates.LikePredicate
Like Predicate
|
static class |
Predicates.NotEqualPredicate
Not Equal Predicate
|
static class |
Predicates.NotPredicate
Not Predicate
|
static class |
Predicates.OrPredicate
Or Predicate
|
static class |
Predicates.RegexPredicate
Regex Predicate
|
class |
SqlPredicate
This class contains methods related to conversion of sql query to predicate.
|
Modifier and Type | Field and Description |
---|---|
protected Predicate[] |
Predicates.AndPredicate.predicates |
Modifier and Type | Method and Description |
---|---|
static Predicate |
Predicates.and(Predicate... predicates) |
static Predicate |
Predicates.between(String attribute,
Comparable from,
Comparable to) |
static Predicate |
Predicates.equal(String attribute,
Comparable y) |
Predicate |
PagingPredicate.getPredicate() |
static Predicate |
Predicates.greaterEqual(String x,
Comparable y) |
static Predicate |
Predicates.greaterThan(String x,
Comparable y) |
static Predicate |
Predicates.ilike(String attribute,
String pattern) |
static Predicate |
Predicates.in(String attribute,
Comparable... values) |
static Predicate |
Predicates.instanceOf(Class klass) |
static Predicate |
Predicates.lessEqual(String x,
Comparable y) |
static Predicate |
Predicates.lessThan(String x,
Comparable y) |
static Predicate |
Predicates.like(String attribute,
String pattern) |
static Predicate |
Predicates.not(Predicate predicate) |
static Predicate |
Predicates.notEqual(String attribute,
Comparable y) |
static Predicate |
Predicates.or(Predicate... predicates)
Or predicate
|
static Predicate |
Predicates.regex(String attribute,
String pattern) |
Modifier and Type | Method and Description |
---|---|
static Predicate |
Predicates.and(Predicate... predicates) |
PredicateBuilder |
PredicateBuilder.and(Predicate predicate) |
static Predicate |
Predicates.not(Predicate predicate) |
static Predicate |
Predicates.or(Predicate... predicates)
Or predicate
|
PredicateBuilder |
PredicateBuilder.or(Predicate predicate) |
Constructor and Description |
---|
PagingPredicate(Predicate predicate,
Comparator<Map.Entry> comparator,
int pageSize)
Construct with an inner predicate, comparator and pageSize
results will be filtered via inner predicate
results will be ordered via comparator
throws
IllegalArgumentException if pageSize is not greater than 0
throws IllegalArgumentException if inner predicate is also PagingPredicate |
PagingPredicate(Predicate predicate,
int pageSize)
Construct with an inner predicate and pageSize
results will be filtered via inner predicate
results will be natural ordered
throws
IllegalArgumentException if pageSize is not greater than 0
throws IllegalArgumentException if inner predicate is also PagingPredicate |
Predicates.AndPredicate(Predicate... predicates) |
Predicates.NotPredicate(Predicate predicate) |
Predicates.OrPredicate(Predicate... predicates) |
Modifier and Type | Class and Description |
---|---|
class |
SessionAttributePredicate |
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.