org.springframework.data.solr.core.query
Class QueryParameterImpl
java.lang.Object
org.springframework.data.solr.core.query.QueryParameterImpl
- All Implemented Interfaces:
- QueryParameter
- Direct Known Subclasses:
- FacetOptions.FacetParameter, HighlightOptions.HighlightParameter
public class QueryParameterImpl
- extends Object
- implements QueryParameter
Trivial implementation of QueryParameter.
- Author:
- Christoph Strobl
QueryParameterImpl
public QueryParameterImpl(String name,
Object value)
- Parameters:
name - must not be nullvalue -
getName
public String getName()
- Specified by:
getName in interface QueryParameter
- Returns:
getValue
public Object getValue()
- Specified by:
getValue in interface QueryParameter
- Returns:
- null if not set
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.