Package io.micronaut.data.model.query
Class QueryParameter
java.lang.Object
io.micronaut.data.model.query.QueryParameter
- All Implemented Interfaces:
- io.micronaut.core.naming.Named,- BindingParameter
public class QueryParameter
extends Object
implements io.micronaut.core.naming.Named, BindingParameter
A parameter to a query.
- Since:
- 1.0
- Author:
- graemerocher
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.micronaut.data.model.query.BindingParameterBindingParameter.BindingContext
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbind(BindingParameter.BindingContext bindingContext) Bind the parameter.boolean@NonNull StringgetName()inthashCode()static @NonNull QueryParameterCreates a new query parameter for the given name.
- 
Constructor Details- 
QueryParameterDefault constructor.- Parameters:
- name- The parameter name
 
 
- 
- 
Method Details- 
getName- Specified by:
- getNamein interface- io.micronaut.core.naming.Named
 
- 
equals
- 
hashCodepublic int hashCode()
- 
ofCreates a new query parameter for the given name.- Parameters:
- name- The name
- Returns:
- The parameter
 
- 
bindDescription copied from interface:BindingParameterBind the parameter.- Specified by:
- bindin interface- BindingParameter
- Parameters:
- bindingContext- The binding context
- Returns:
- The query binding
 
 
-