Uses of Interface
com.tangosol.util.InvocableMap.EntryAggregator
Package
Description
This package contains
StatementBuilder
implementations.Contains classes related to partitioned cache implementation of Coherence JCache.
Contains classes related to REST-based aggregation.
Contains basic cluster interfaces and factories.
Contains classes providing various caching strategies.
Contains various generic utilities.
Contains concrete
InvocableMap.EntryAggregator
implementations.-
Uses of InvocableMap.EntryAggregator in com.tangosol.coherence.dslquery.statement
Modifier and TypeFieldDescriptionprotected final InvocableMap.EntryAggregator
SelectStatementBuilder.AsyncSelectStatement.f_aggregator
TheInvocableMap.EntryAggregator
to use in the query.protected final InvocableMap.EntryAggregator
SelectStatementBuilder.SelectStatement.f_aggregator
TheInvocableMap.EntryAggregator
to use in the query.Modifier and TypeMethodDescriptionprotected InvocableMap.EntryAggregator
SelectStatementBuilder.createAggregator
(String cacheName, NodeTerm fields, String alias, boolean fDistinct, com.tangosol.coherence.dslquery.internal.SelectListMaker transformer) Create theInvocableMap.EntryAggregator
that will aggregate the results of this select query.SelectStatementBuilder.AsyncSelectStatement.getAggregator()
Return theInvocableMap.EntryAggregator
to use to execute this query.SelectStatementBuilder.SelectStatement.getAggregator()
Return theInvocableMap.EntryAggregator
to use to execute this query.ModifierConstructorDescriptionSelectStatement
(String sCache, Filter filter, InvocableMap.EntryAggregator aggregator, boolean fReduction) Construct a SelectStatement that will query the specified cache. -
Uses of InvocableMap.EntryAggregator in com.tangosol.coherence.jcache.partitionedcache
Modifier and TypeClassDescriptionstatic class
Collect JCache CacheStatistics from all storage-enabled members.static class
Clear JCache CacheStatistics from all storage-enabled members. -
Uses of InvocableMap.EntryAggregator in com.tangosol.coherence.rest.util.aggregator
Modifier and TypeMethodDescriptionprotected InvocableMap.EntryAggregator
DefaultAggregatorFactory.createAggregator
(ValueExtractor extractor) Create and initialize a new aggregator instance.AggregatorFactory.getAggregator
(String... asArgs) Returns an aggregator instance.AggregatorRegistry.getAggregator
(String sRequest) Returns a configured aggregator.DefaultAggregatorFactory.getAggregator
(String... asArgs) Return an aggregator instantiated by calling an aggregator class constructor. -
Uses of InvocableMap.EntryAggregator in com.tangosol.net
Modifier and TypeMethodDescription<R> CompletableFuture
<R> AsyncNamedMap.aggregate
(Filter<?> filter, InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator) Perform an aggregating operation asynchronously against the set of entries that are selected by the given Filter.default <R> CompletableFuture
<R> AsyncNamedMap.aggregate
(InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator) Perform an aggregating operation asynchronously against all the entries.<R> CompletableFuture
<R> AsyncNamedMap.aggregate
(Collection<? extends K> collKeys, InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator) Perform an aggregating operation asynchronously against the entries specified by the passed keys. -
Uses of InvocableMap.EntryAggregator in com.tangosol.net.cache
Modifier and TypeMethodDescription<R> R
ContinuousQueryCache.aggregate
(Filter filter, InvocableMap.EntryAggregator<? super K, ? super V_FRONT, R> aggregator) <R> R
ContinuousQueryCache.aggregate
(Collection<? extends K> collKeys, InvocableMap.EntryAggregator<? super K, ? super V_FRONT, R> aggregator) <R> R
NearCache.aggregate
(Filter filter, InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator) Perform an aggregating operation against the set of entries that are selected by the given Filter.<R> R
NearCache.aggregate
(Collection<? extends K> collKeys, InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator) Perform an aggregating operation against the entries specified by the passed keys.<R> R
WrapperNamedCache.aggregate
(Filter filter, InvocableMap.EntryAggregator<? super K, ? super V, R> agent) Perform an aggregating operation against the set of entries that are selected by the given Filter.<R> R
WrapperNamedCache.aggregate
(Collection<? extends K> collKeys, InvocableMap.EntryAggregator<? super K, ? super V, R> agent) Perform an aggregating operation against the entries specified by the passed keys. -
Uses of InvocableMap.EntryAggregator in com.tangosol.util
Modifier and TypeInterfaceDescriptionstatic interface
InvocableMap.ParallelAwareAggregator<K,
V, P, R> Deprecated.This interface was deprecated in Coherence 12.2.1 and might be removed in a future release.static interface
InvocableMap.StreamingAggregator<K,
V, P, R> A StreamingAggregator is an extension ofInvocableMap.EntryAggregator
that processes entries in a streaming fashion and provides better control overexecution characteristics
.Modifier and TypeMethodDescriptionstatic <K,
V, P, R>
InvocableMap.EntryAggregator<K, V, R> Aggregators.asynchronous
(InvocableMap.StreamingAggregator<K, V, P, R> aggregator, int iUnitOrderId) Return an AsynchronousAggregator for a given streaming aggregator.InvocableMap.ParallelAwareAggregator.getParallelAggregator()
Deprecated.Get an aggregator that can take the place of this aggregator in situations in which the InvocableMap can aggregate in parallel.Modifier and TypeMethodDescription<R> R
ConverterCollections.ConverterInvocableMap.aggregate
(Filter filter, InvocableMap.EntryAggregator<? super TK, ? super TV, R> agent) Perform an aggregating operation against the set of entries that are selected by the given Filter.<R> R
ConverterCollections.ConverterInvocableMap.aggregate
(Collection<? extends TK> collKeys, InvocableMap.EntryAggregator<? super TK, ? super TV, R> agent) Perform an aggregating operation against the entries specified by the passed keys.<R> R
ConverterCollections.ConverterNamedCache.aggregate
(Filter filter, InvocableMap.EntryAggregator<? super TK, ? super TV, R> agent) Perform an aggregating operation against the set of entries that are selected by the given Filter.<R> R
ConverterCollections.ConverterNamedCache.aggregate
(Collection<? extends TK> collKeys, InvocableMap.EntryAggregator<? super TK, ? super TV, R> agent) Perform an aggregating operation against the entries specified by the passed keys.<R> R
InvocableMap.aggregate
(Filter filter, InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator) Perform an aggregating operation against the set of entries that are selected by the given Filter.default <R> R
InvocableMap.aggregate
(InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator) Perform an aggregating operation against all the entries.<R> R
InvocableMap.aggregate
(Collection<? extends K> collKeys, InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator) Perform an aggregating operation against the entries specified by the passed keys.static <K,
V> InvocableMap.StreamingAggregator <K, V, ?, List<?>> Aggregators.composite
(InvocableMap.EntryAggregator... aAggregator) Return an aggregator that calculates the the combined set of results from a number of aggregators.static <K,
V, E, R>
InvocableMap.StreamingAggregator<K, V, Map<E, Object>, Map<E, R>> Aggregators.grouping
(InvocableMap.EntryAggregator<K, V, R> aggregator, Filter filter, String... asNames) Create an instance of group aggregator based on a specified property or method name(s) and anInvocableMap.EntryAggregator
.static <K,
V, E, R>
InvocableMap.StreamingAggregator<K, V, Map<E, Object>, Map<E, R>> Aggregators.grouping
(InvocableMap.EntryAggregator<K, V, R> aggregator, String... asNames) Create an instance of group aggregator based on a specified property or method name(s) and anInvocableMap.EntryAggregator
.static <K,
V, T, E, R>
InvocableMap.StreamingAggregator<K, V, Map<E, Object>, Map<E, R>> Aggregators.grouping
(ValueExtractor<? super T, ? extends E> extractor, InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator, Filter filter) Create an instance of group aggregator based on a specified property or method name(s) and anInvocableMap.EntryAggregator
.static <K,
V, T, E, R>
InvocableMap.StreamingAggregator<K, V, Map<E, Object>, Map<E, R>> Aggregators.grouping
(ValueExtractor<? super T, ? extends E> extractor, InvocableMap.EntryAggregator<K, V, R> aggregator) Create an instance of group aggregator based on a specified property or method name(s) and anInvocableMap.EntryAggregator
. -
Uses of InvocableMap.EntryAggregator in com.tangosol.util.aggregator
Modifier and TypeClassDescriptionclass
AbstractAggregator<K,
V, T, E, R> Abstract base class implementation ofInvocableMap.EntryAggregator
that supports streaming aggregation.class
AbstractAsynchronousAggregator<K,
V, P, R> Abstract base class for asynchronous entry aggregators.class
Abstract aggregator that processesNumber
values extracted from a set of entries in a Map and returns a result in a form of aBigDecimal
value.class
Abstract aggregator that processes values extracted from a set of entries in a Map, with knowledge of how to compare those values.class
Abstract aggregator that processes numeric values extracted from a set of entries in a Map.class
Abstract aggregator that processes numeric values extracted from a set of entries in a Map.class
AsynchronousAggregator<K,
V, P, R> A markerEntryAggregator
wrapper class that allows for an asynchronous invocation of the underlying aggregator.class
Calculates an average for values of any numeric type extracted from a set of entries in a Map in a form of aBigDecimal
value.class
Calculates a maximum of numeric values extracted from a set of entries in a Map in a form of aBigDecimal
value.class
Calculates a minimum of numeric values extracted from a set of entries in a Map in a form of aBigDecimal
value.class
Calculates an sum for values of any numberic type extracted from a set of entries in a Map in a form of aBigDecimal
value.class
ComparableMax<T,
R> Calculates a maximum among values extracted from a set of entries in a Map.class
ComparableMin<T,
R> Calculates a minimum among values extracted from a set of entries in a Map.class
CompositeAggregator<K,
V> CompositeAggregator provides an ability to execute a collection of aggregators against the same subset of the entries in an InvocableMap, resulting in a list of corresponding aggregation results.static class
Deprecated.As of Coherence 12.2.1.class
Count<K,
V> Calculates a number of values in an entry set.class
DistinctValues<K,
V, T, E> Return the set of unique values extracted from a set of entries in a Map.class
Calculates an average for values of any numeric type extracted from a set of entries in a Map.class
DoubleMax<T>
Calculates a maximum of numeric values extracted from a set of entries in a Map.class
DoubleMin<T>
Calculates a minimum of numeric values extracted from a set of entries in a Map.class
DoubleSum<T>
Sums up numeric values extracted from a set of entries in a Map.class
GroupAggregator<K,
V, T, E, R> The GroupAggregator provides an ability to split a subset of entries in an InvocableMap into a collection of non-intersecting subsets and then aggregate them separately and independently.static class
GroupAggregator.Parallel<K,
V, T, E, R> Deprecated.As of Coherence 12.2.1.class
LongMax<T>
Calculates a maximum of numeric values extracted from a set of entries in a Map.class
LongMin<T>
Calculates a minimum of numeric values extracted from a set of entries in a Map.class
LongSum<T>
Sums up numeric values extracted from a set of entries in a Map.class
PriorityAggregator<K,
V, P, R> PriorityAggregator is used to explicitly control the scheduling priority and timeouts for execution of EntryAggregator-based methods.class
QueryRecorder<K,
V> This aggregator is used to produce aQueryRecord
object that contains an estimated or actual cost of the query execution for a given filter.class
ReducerAggregator<K,
V, T, E> The ReducerAggregator is used to implement functionality similar toCacheMap.getAll(Collection)
API.class
ScriptAggregator<K,
V, P, R> ScriptAggregator is aInvocableMap.StreamingAggregator
that wraps a script written in one of the languages supported by Graal VM.class
TopNAggregator<K,
V, T, E> TopNAggregator is a ParallelAwareAggregator that aggregates the top N extracted values into an array.Modifier and TypeFieldDescriptionprotected InvocableMap.EntryAggregator[]
CompositeAggregator.m_aAggregator
The underlying EntryAggregator array.protected InvocableMap.EntryAggregator
<? super K, ? super V, R> GroupAggregator.m_aggregator
The underlying EntryAggregator.Modifier and TypeMethodDescriptionInvocableMap.EntryAggregator
<? super K, ? super V, R> GroupAggregator.getAggregator()
Obtain the underlying EntryAggregator.CompositeAggregator.getAggregators()
Obtain the EntryAggregator array.Modifier and TypeMethodDescriptionstatic CompositeAggregator
CompositeAggregator.createInstance
(InvocableMap.EntryAggregator[] aAggregator) Create an instance of CompositeAggregator based on a specifiedEntryAggregator
array.static <K,
V, T, E, R>
GroupAggregator<K, V, T, E, R> GroupAggregator.createInstance
(ValueExtractor<? super T, ? extends E> extractor, InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator, Filter filter) Create an instance of GroupAggregator based on a specified extractor and anEntryAggregator
and a result evaluation filter.static <K,
V, T, E, R>
GroupAggregator<K, V, T, E, R> GroupAggregator.createInstance
(ValueExtractor<? super T, ? extends E> extractor, InvocableMap.EntryAggregator<K, V, R> aggregator) Create an instance of GroupAggregator based on a specified extractor and anEntryAggregator
.static <K,
V, R> GroupAggregator <K, V, Object, Object, R> GroupAggregator.createInstance
(String sMethod, InvocableMap.EntryAggregator<K, V, R> aggregator) Create an instance of GroupAggregator based on a specified method name(s) and anEntryAggregator
.static <K,
V, R> GroupAggregator <K, V, Object, Object, R> GroupAggregator.createInstance
(String sMethod, InvocableMap.EntryAggregator<K, V, R> aggregator, Filter filter) Create an instance of GroupAggregator based on a specified method name(s), anEntryAggregator
and a result evaluation filter.protected InvocableMap.ParallelAwareAggregator
<? super K, ? super V, Object, R> GroupAggregator.parallel
(InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator) Convert the specified aggregator to ParallelAwareAggregator.protected InvocableMap.StreamingAggregator
<? super K, ? super V, Object, R> GroupAggregator.streaming
(InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator) Convert the specified aggregator to StreamingAggregator.ModifierConstructorDescriptionCompositeAggregator
(InvocableMap.EntryAggregator[] aAggregator) Construct a CompositeAggregator based on a specified EntryAggregator array.protected
GroupAggregator
(ValueExtractor<? super T, ? extends E> extractor, InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator, Filter filter) Construct a GroupAggregator based on a specified ValueExtractor and underlying EntryAggregator.protected
Parallel
(InvocableMap.EntryAggregator[] aAggregator) Deprecated.Construct a CompositeParallelAggregator based on a specifiedEntryAggregator
array.protected
Parallel
(ValueExtractor<? super T, ? extends E> extractor, InvocableMap.EntryAggregator<? super K, ? super V, R> aggregator, Filter<?> filter) Deprecated.Construct a Parallel aggregator based on a specified ValueExtractor and underlying ParallelAwareAggregator.