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 Summary
Nested classes/interfaces inherited from interface io.micronaut.data.model.query.BindingParameter
BindingParameter.BindingContext - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
- 
QueryParameter
Default constructor.- Parameters:
 name- The parameter name
 
 - 
 - 
Method Details
- 
getName
- Specified by:
 getNamein interfaceio.micronaut.core.naming.Named
 - 
equals
 - 
hashCode
public int hashCode() - 
of
Creates a new query parameter for the given name.- Parameters:
 name- The name- Returns:
 - The parameter
 
 - 
bind
Description copied from interface:BindingParameterBind the parameter.- Specified by:
 bindin interfaceBindingParameter- Parameters:
 bindingContext- The binding context- Returns:
 - The query binding
 
 
 -