| Package | Description |
|---|---|
| com.mmnaseri.utils.spring.data.domain | |
| com.mmnaseri.utils.spring.data.domain.impl | |
| com.mmnaseri.utils.spring.data.dsl.factory | |
| com.mmnaseri.utils.spring.data.proxy.impl | |
| com.mmnaseri.utils.spring.data.query | |
| com.mmnaseri.utils.spring.data.query.impl | |
| com.mmnaseri.utils.spring.data.repository |
This package implements the bridge pattern over the various repository interfaces in the Spring
Data project.
|
| com.mmnaseri.utils.spring.data.store | |
| com.mmnaseri.utils.spring.data.store.impl |
| Modifier and Type | Method and Description |
|---|---|
<J extends K,F extends E> |
DataStoreAware.setDataStore(DataStore<J,F> dataStore) |
| Modifier and Type | Method and Description |
|---|---|
Object |
DescribedDataStoreOperation.execute(DataStore<K,E> store,
RepositoryConfiguration configuration,
Invocation invocation) |
Object |
MethodInvocationDataStoreOperation.execute(DataStore<K,E> store,
RepositoryConfiguration configuration,
Invocation invocation) |
List<E> |
SelectDataStoreOperation.execute(DataStore<K,E> store,
RepositoryConfiguration configuration,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
<E,K> DataStoresAnd |
DataStoresAnd.and(DataStore<K,E> dataStore)
Adds another data store
|
<E,K> DataStoresAnd |
RepositoryFactoryBuilder.and(DataStore<K,E> dataStore) |
<E,K> DataStoresAnd |
DataStores.registerDataStore(DataStore<K,E> dataStore)
Registers a new data store
|
<E,K> DataStoresAnd |
RepositoryFactoryBuilder.registerDataStore(DataStore<K,E> dataStore) |
| Constructor and Description |
|---|
DataOperationInvocationHandler(RepositoryConfiguration repositoryConfiguration,
List<InvocationMapping<K,E>> mappings,
DataStore<K,E> dataStore,
ResultAdapterContext adapterContext,
NonDataOperationInvocationHandler operationInvocationHandler) |
| Modifier and Type | Method and Description |
|---|---|
<K,E> R |
DataFunction.apply(DataStore<K,E> dataStore,
QueryDescriptor query,
RepositoryConfiguration configuration,
List<E> selection) |
| Modifier and Type | Method and Description |
|---|---|
<K,E> Long |
CountDataFunction.apply(DataStore<K,E> dataStore,
QueryDescriptor query,
RepositoryConfiguration repositoryConfiguration,
List<E> selection) |
<K,E> List<E> |
DeleteDataFunction.apply(DataStore<K,E> dataStore,
QueryDescriptor query,
RepositoryConfiguration repositoryConfiguration,
List<E> selection) |
| Modifier and Type | Method and Description |
|---|---|
protected DataStore |
CrudRepositorySupport.getDataStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPagingAndSortingRepository.setDataStore(DataStore dataStore) |
void |
DefaultQueryByExampleExecutor.setDataStore(DataStore dataStore) |
void |
DefaultGemfireRepository.setDataStore(DataStore dataStore) |
void |
DefaultQueryDslPredicateExecutor.setDataStore(DataStore dataStore) |
void |
CrudRepositorySupport.setDataStore(DataStore dataStore) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
QueueingDataStore<K,E,B>
This interface indicates that the implementing data store has queueing capabilities and can thus
be called upon to flush the queue and commit the results, and more over, handle operations in
batches by refraining to flush the queue automatically while a batch is in progress.
|
| Modifier and Type | Method and Description |
|---|---|
DataStore<?,?> |
DataStoreEvent.getDataStore() |
<E,K> DataStore<K,E> |
DataStoreRegistry.getDataStore(Class<E> entityType)
Finds the data store for the given entity type
|
| Modifier and Type | Method and Description |
|---|---|
R |
DataStoreOperation.execute(DataStore<K,E> store,
RepositoryConfiguration configuration,
Invocation invocation)
Called to trigger the actual operation
|
<E,K> void |
DataStoreRegistry.register(DataStore<K,E> dataStore)
Registers a new data store.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EventPublishingDataStore<K,E>
This implementation relies on a delegate data store to handling the actual storage/retrieval.
|
class |
MemoryDataStore<K,E>
This is the default, most basic implementation provided for a data store that stores entities in
an in-memory
map by mapping entity keys to entities. |
| Modifier and Type | Method and Description |
|---|---|
DataStore<?,?> |
AbstractDataStoreEvent.getDataStore() |
<E,K> DataStore<K,E> |
DefaultDataStoreRegistry.getDataStore(Class<E> entityType) |
| Modifier and Type | Method and Description |
|---|---|
<E,K> void |
DefaultDataStoreRegistry.register(DataStore<K,E> dataStore) |
Copyright © 2014–2021. All rights reserved.