Class SourceParameterExpressionImpl
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.ParameterExpressionImpl<Object>
io.micronaut.data.processor.model.criteria.impl.SourceParameterExpressionImpl
- All Implemented Interfaces:
BindingParameter
,jakarta.persistence.criteria.Expression<Object>
,jakarta.persistence.criteria.ParameterExpression<Object>
,jakarta.persistence.criteria.Selection<Object>
,jakarta.persistence.Parameter<Object>
,jakarta.persistence.TupleElement<Object>
@Internal
public final class SourceParameterExpressionImpl
extends ParameterExpressionImpl<Object>
implements BindingParameter
The internal source implementation of
ParameterExpressionImpl
.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.data.model.query.BindingParameter
BindingParameter.BindingContext
-
Constructor Summary
ConstructorDescriptionSourceParameterExpressionImpl
(Map<String, DataType> dataTypes, io.micronaut.inject.ast.ParameterElement[] parameters, io.micronaut.inject.ast.ParameterElement parameterElement, boolean isEntityParameter) SourceParameterExpressionImpl
(Map<String, DataType> dataTypes, String name, io.micronaut.inject.ast.ClassElement expressionType) -
Method Summary
Modifier and TypeMethodDescriptionbind
(BindingParameter.BindingContext bindingContext) Bind the parameter.void
setUpdate
(boolean update) Methods inherited from class io.micronaut.data.model.jpa.criteria.impl.ParameterExpressionImpl
alias, as, getAlias, getCompoundSelectionItems, getJavaType, getName, getPosition, in, in, in, in, isCompoundSelection, isNotNull, isNull, toString
-
Constructor Details
-
SourceParameterExpressionImpl
-
SourceParameterExpressionImpl
-
-
Method Details
-
getParameterType
- Specified by:
getParameterType
in interfacejakarta.persistence.Parameter<Object>
- Overrides:
getParameterType
in classParameterExpressionImpl<Object>
-
setUpdate
public void setUpdate(boolean update) -
bind
Description copied from interface:BindingParameter
Bind the parameter.- Specified by:
bind
in interfaceBindingParameter
- Parameters:
bindingContext
- The binding context- Returns:
- The query binding
-