org.springframework.data.solr.repository.query
Class SolrParametersParameterAccessor
java.lang.Object
org.springframework.data.solr.repository.query.SolrParametersParameterAccessor
- All Implemented Interfaces:
- Iterable<Object>, ParameterAccessor, SolrParameterAccessor
public class SolrParametersParameterAccessor
- extends Object
- implements SolrParameterAccessor
Implementation of SolrParameterAccessor
- Author:
- Christoph Strobl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolrParametersParameterAccessor
public SolrParametersParameterAccessor(SolrQueryMethod solrQueryMethod,
Object[] values)
getBoost
public float getBoost(int index)
- Description copied from interface:
SolrParameterAccessor
- Get boost value for element at index if defined
- Specified by:
getBoost in interface SolrParameterAccessor
- Parameters:
index - bindable parameter index
- Returns:
Float.NaN as default
getPageable
public Pageable getPageable()
- Specified by:
getPageable in interface ParameterAccessor
getSort
public Sort getSort()
- Specified by:
getSort in interface ParameterAccessor
getBindableValue
public Object getBindableValue(int index)
- Specified by:
getBindableValue in interface ParameterAccessor
hasBindableNullValue
public boolean hasBindableNullValue()
- Specified by:
hasBindableNullValue in interface ParameterAccessor
iterator
public Iterator<Object> iterator()
- Specified by:
iterator in interface Iterable<Object>- Specified by:
iterator in interface ParameterAccessor
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.