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
ConstructorDescriptionQueryParameter
(@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.boolean
Deprecated, for removal: This API element is subject to removal in a future version.@NonNull String
getName()
Deprecated, for removal: This API element is subject to removal in a future version.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.static @NonNull QueryParameter
Deprecated, 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:
getName
in 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:BindingParameter
Bind the parameter.- Specified by:
bind
in interfaceBindingParameter
- Parameters:
bindingContext
- The binding context- Returns:
- The query binding
-