|
Spring Data Commmons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.repository.query.SimpleParameterAccessor
public class SimpleParameterAccessor
SimpleParameterAccessor
is used to bind method parameters.
Nested Class Summary | |
---|---|
class |
SimpleParameterAccessor.BindableParameterIterator
Iterator class to allow traversing all bindable parameters inside the accessor. |
Constructor Summary | |
---|---|
SimpleParameterAccessor(Parameters parameters,
Object[] values)
Creates a new SimpleParameterAccessor . |
Method Summary | |
---|---|
Pageable |
getPageable()
Returns the Pageable of the parameters, if available. |
Sort |
getSort()
Returns the sort instance to be used for query creation. |
SimpleParameterAccessor.BindableParameterIterator |
iterator()
Returns a SimpleParameterAccessor.BindableParameterIterator to traverse all bindable
parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleParameterAccessor(Parameters parameters, Object[] values)
SimpleParameterAccessor
.
parameters
- values
- Method Detail |
---|
public Pageable getPageable()
Pageable
of the parameters, if available. Returns
null
otherwise.
public Sort getSort()
Sort
parameter if available or the Sort
contained in a
Pageable
if available. Returns null
if no Sort
can be found.
public SimpleParameterAccessor.BindableParameterIterator iterator()
SimpleParameterAccessor.BindableParameterIterator
to traverse all bindable
parameters.
|
Spring Data Commmons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |