Package | Description |
---|---|
com.hazelcast.core |
Provides core API interfaces/classes.
|
com.hazelcast.map |
Contains Hazelcast map module classes.
|
com.hazelcast.query |
Contains interfaces/classes related to Hazelcast query and indexing support.
|
com.hazelcast.web |
Provides Hazelcast-based session replication.
|
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(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 | Method and Description |
---|---|
Set |
MapContextQuerySupport.query(String mapName,
Predicate predicate,
com.hazelcast.util.IterationType iterationType,
boolean dataResult)
Used for predicates which queries on all members, except paging predicate.
|
Set |
MapContextQuerySupport.queryLocalMember(String mapName,
Predicate predicate,
com.hazelcast.util.IterationType iterationType,
boolean dataResult)
Used for predicates which queries on node local entries, except paging predicate.
|
Collection<com.hazelcast.query.impl.QueryableEntry> |
MapContextQuerySupport.queryOnPartition(String mapName,
Predicate predicate,
int partitionId)
Query a specific partition.
|
Constructor and Description |
---|
QueryEventFilter(boolean includeValue,
Data key,
Predicate predicate) |
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.
|
class |
TruePredicate
A
Predicate which always returns true. |
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
Filters map entries to retrieve only the ones that belong to a specific session.
|
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.