| 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 |
MethodInvocationDataStoreOperation.execute(DataStore<K,E> store,
RepositoryConfiguration configuration,
Invocation invocation) |
Object |
DescribedDataStoreOperation.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 extends Serializable> |
DataStoresAnd.and(DataStore<K,E> dataStore)
Adds another data store
|
<E,K extends Serializable> |
RepositoryFactoryBuilder.and(DataStore<K,E> dataStore) |
<E,K extends Serializable> |
RepositoryFactoryBuilder.registerDataStore(DataStore<K,E> dataStore) |
<E,K extends Serializable> |
DataStores.registerDataStore(DataStore<K,E> dataStore)
Registers a new data store
|
| 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 extends Serializable,E> |
DataFunction.apply(DataStore<K,E> dataStore,
QueryDescriptor query,
RepositoryConfiguration configuration,
List<E> selection) |
| Modifier and Type | Method and Description |
|---|---|
<K extends Serializable,E> |
DeleteDataFunction.apply(DataStore<K,E> dataStore,
QueryDescriptor query,
RepositoryConfiguration repositoryConfiguration,
List<E> selection) |
<K extends Serializable,E> |
CountDataFunction.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 |
DefaultQueryByExampleExecutor.setDataStore(DataStore dataStore) |
void |
CrudRepositorySupport.setDataStore(DataStore dataStore) |
void |
DefaultPagingAndSortingRepository.setDataStore(DataStore dataStore) |
void |
DefaultQueryDslPredicateExecutor.setDataStore(DataStore dataStore) |
void |
DefaultGemfireRepository.setDataStore(DataStore dataStore) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
QueueingDataStore<K extends Serializable,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 extends Serializable> |
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 extends Serializable> |
DataStoreRegistry.register(DataStore<K,E> dataStore)
Registers a new data store.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EventPublishingDataStore<K extends Serializable,E>
This implementation relies on a delegate data store to handling the actual storage/retrieval.
|
class |
MemoryDataStore<K extends Serializable,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 extends Serializable> |
DefaultDataStoreRegistry.getDataStore(Class<E> entityType) |
| Modifier and Type | Method and Description |
|---|---|
<E,K extends Serializable> |
DefaultDataStoreRegistry.register(DataStore<K,E> dataStore) |
Copyright © 2014–2016. All rights reserved.