public class CollectionIterableResultAdapter extends AbstractIterableResultAdapter<Collection>
collection.
This adapter will execute at priority -300.
| Constructor and Description |
|---|
CollectionIterableResultAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
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
|
protected Collection |
doAdapt(Invocation invocation,
Iterable iterable)
This is called when we want to adapt an iterable object to another type.
|
adaptcompareTo, getPriorityprotected Collection doAdapt(Invocation invocation, Iterable iterable)
AbstractIterableResultAdapterdoAdapt in class AbstractIterableResultAdapter<Collection>invocation - the invocation which called for this adaptationiterable - the iterable to be adapted to the appropriate result typepublic boolean accepts(Invocation invocation, Object originalValue)
ResultAdapterinvocation - the invocationoriginalValue - the original valueCopyright © 2014–2021. All rights reserved.