| Modifier and Type | Method and Description |
|---|---|
boolean |
InvocationMatcher.matches(Object entity,
Invocation invocation)
Determines whether or not the entity matches the query
|
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableInvocation
This is an immutable invocation.
|
| 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 |
|---|---|
boolean |
ResultAdapter.accepts(Invocation invocation,
Object originalValue)
Called to determine whether or not this adapter can adapt the original value passed down from a data
store operation to the type required by the repository method being invoked
|
Object |
ResultAdapterContext.adapt(Invocation invocation,
Object originalResult)
Will call the registered result adapters to adapt the results to the required type.
|
E |
ResultAdapter.adapt(Invocation invocation,
Object originalValue)
Called when we need to adapt the result from an invocation to the result required by the repository method
|
Object |
ResultConverter.convert(Invocation invocation,
Object original)
Called when we need to convert the result
|
| Modifier and Type | Method and Description |
|---|---|
Object |
DefaultResultAdapterContext.adapt(Invocation invocation,
Object originalResult) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NumberIterableResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
NullToIterableResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
SimpleIterableResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
NullToSliceResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
GeoPageIterableResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
VoidResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
IteratorIterableResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
SameTypeResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
CollectionIterableResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
NullToIteratorResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
SliceIterableResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
ListenableFutureIterableResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
NullToFutureResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
NullToCollectionResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
NullToListenableFutureResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
PageIterableResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
NullSimpleResultAdapter.accepts(Invocation invocation,
Object originalValue) |
boolean |
FutureIterableResultAdapter.accepts(Invocation invocation,
Object originalValue) |
Iterable |
NullToIterableResultAdapter.adapt(Invocation invocation,
Object originalValue) |
org.springframework.data.domain.Slice |
NullToSliceResultAdapter.adapt(Invocation invocation,
Object originalValue) |
Object |
VoidResultAdapter.adapt(Invocation invocation,
Object originalValue) |
Object |
SameTypeResultAdapter.adapt(Invocation invocation,
Object originalValue) |
Iterator |
NullToIteratorResultAdapter.adapt(Invocation invocation,
Object originalValue) |
Future |
NullToFutureResultAdapter.adapt(Invocation invocation,
Object originalValue) |
Collection |
NullToCollectionResultAdapter.adapt(Invocation invocation,
Object originalValue) |
org.springframework.util.concurrent.ListenableFuture |
NullToListenableFutureResultAdapter.adapt(Invocation invocation,
Object originalValue) |
E |
AbstractIterableResultAdapter.adapt(Invocation invocation,
Object originalValue) |
Object |
NullSimpleResultAdapter.adapt(Invocation invocation,
Object originalValue) |
protected Object |
NumberIterableResultAdapter.doAdapt(Invocation invocation,
Iterable iterable) |
protected Object |
SimpleIterableResultAdapter.doAdapt(Invocation invocation,
Iterable iterable) |
protected org.springframework.data.geo.GeoPage |
GeoPageIterableResultAdapter.doAdapt(Invocation invocation,
Iterable iterable) |
protected Iterator |
IteratorIterableResultAdapter.doAdapt(Invocation invocation,
Iterable iterable) |
protected Collection |
CollectionIterableResultAdapter.doAdapt(Invocation invocation,
Iterable iterable) |
protected org.springframework.data.domain.Slice |
SliceIterableResultAdapter.doAdapt(Invocation invocation,
Iterable iterable) |
protected org.springframework.util.concurrent.ListenableFuture |
ListenableFutureIterableResultAdapter.doAdapt(Invocation invocation,
Iterable iterable) |
protected org.springframework.data.domain.Page |
PageIterableResultAdapter.doAdapt(Invocation invocation,
Iterable iterable) |
protected abstract E |
AbstractIterableResultAdapter.doAdapt(Invocation invocation,
Iterable iterable)
This is called when we want to adapt an iterable object to another type.
|
protected Future |
FutureIterableResultAdapter.doAdapt(Invocation invocation,
Iterable iterable) |
| Modifier and Type | Method and Description |
|---|---|
Object |
AbstractResultConverter.convert(Invocation invocation,
Object original) |
Object |
DefaultResultConverter.convert(Invocation invocation,
Object original) |
protected abstract Object |
AbstractResultConverter.doConvert(Invocation invocation,
Object original)
Called to invoke a conversion of the given value to the desired result value.
|
protected Object |
IteratorToIterableConverter.doConvert(Invocation invocation,
Object original) |
protected Object |
FutureToIterableConverter.doConvert(Invocation invocation,
Object original) |
protected Object |
SingleValueToIterableConverter.doConvert(Invocation invocation,
Object original) |
| Modifier and Type | Method and Description |
|---|---|
E |
ParameterMetadataExtractor.extract(Invocation invocation)
Extracts the promised metadata as per this invocation.
|
Page |
QueryDescriptor.getPage(Invocation invocation)
Given an actual, runtime invocation, returns the page metadata for that invocation as per this query, or
null if no pagination was indicated.
|
Sort |
QueryDescriptor.getSort(Invocation invocation)
Given an actual, runtime invocation, returns the sort metadata for that invocation as per this qery, or
returns null to indicate no ordering is required.
|
| Modifier and Type | Method and Description |
|---|---|
Sort |
DirectSortParameterExtractor.extract(Invocation invocation) |
Sort |
PageableSortParameterExtractor.extract(Invocation invocation) |
Page |
PageablePageParameterExtractor.extract(Invocation invocation) |
Sort |
WrappedSortParameterExtractor.extract(Invocation invocation) |
Page |
DefaultQueryDescriptor.getPage(Invocation invocation) |
Sort |
DefaultQueryDescriptor.getSort(Invocation invocation) |
boolean |
DefaultQueryDescriptor.matches(Object entity,
Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
R |
DataStoreOperation.execute(DataStore<K,E> store,
RepositoryConfiguration configuration,
Invocation invocation)
Called to trigger the actual operation
|
Copyright © 2014–2016. All rights reserved.