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
@Deprecated(forRemoval=true,
since="4.9")
public class QueryParameter
extends Object
implements io.micronaut.core.naming.Named, BindingParameter
Deprecated, for removal: This API element is subject to removal in a future version.
Will switch to an internal
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
ConstructorsConstructorDescriptionQueryParameter(@NonNull String name) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionbind(BindingParameter.BindingContext bindingContext) Deprecated, for removal: This API element is subject to removal in a future version.Bind the parameter.booleanDeprecated, for removal: This API element is subject to removal in a future version.@NonNull StringgetName()Deprecated, for removal: This API element is subject to removal in a future version.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.static @NonNull QueryParameterDeprecated, for removal: This API element is subject to removal in a future version.Creates a new query parameter for the given name.
-
Constructor Details
-
QueryParameter
Deprecated, for removal: This API element is subject to removal in a future version.Default constructor.- Parameters:
name- The parameter name
-
-
Method Details
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNamein interfaceio.micronaut.core.naming.Named
-
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version. -
of
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new query parameter for the given name.- Parameters:
name- The name- Returns:
- The parameter
-
bind
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:BindingParameterBind the parameter.- Specified by:
bindin interfaceBindingParameter- Parameters:
bindingContext- The binding context- Returns:
- The query binding
-