public interface DataFunction<R>
This interface encapsulates a data function. A data function is a function that applies to an already aggregated selection of entities, and can return any value.
An example for a data function would be returning the number of items from a selection (count function) or duplicating all the selected entities.
| Modifier and Type | Method and Description |
|---|---|
<K extends Serializable,E> |
apply(DataStore<K,E> dataStore,
QueryDescriptor query,
RepositoryConfiguration configuration,
List<E> selection) |
<K extends Serializable,E> R apply(DataStore<K,E> dataStore, QueryDescriptor query, RepositoryConfiguration configuration, List<E> selection)
Copyright © 2014–2016. All rights reserved.