Class SourceParameterStringExpressionImpl
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.expression.AbstractExpression<T>
io.micronaut.data.model.jpa.criteria.impl.IParameterExpression<Object>
io.micronaut.data.processor.model.criteria.impl.SourceParameterStringExpressionImpl
- All Implemented Interfaces:
IExpression<Object>
,ISelection<Object>
,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 SourceParameterStringExpressionImpl
extends IParameterExpression<Object>
implements BindingParameter
The internal source implementation of
IParameterExpression
.- Since:
- 4.8.0
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.data.model.query.BindingParameter
BindingParameter.BindingContext
-
Constructor Summary
ConstructorDescriptionSourceParameterStringExpressionImpl
(PersistentProperty persistentProperty, String expression) -
Method Summary
Modifier and TypeMethodDescriptionbind
(BindingParameter.BindingContext bindingContext) Bind the parameter.Methods inherited from class io.micronaut.data.model.jpa.criteria.impl.IParameterExpression
getName, getPosition, toString, visitExpression
Methods inherited from class io.micronaut.data.model.jpa.criteria.impl.expression.AbstractExpression
getExpressionType, getJavaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, getExpressionType, getJavaType, in, in, in, in, isNotNull, isNull, visitSelection
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelection
-
Constructor Details
-
SourceParameterStringExpressionImpl
public SourceParameterStringExpressionImpl(PersistentProperty persistentProperty, String expression)
-
-
Method Details
-
getParameterType
- Specified by:
getParameterType
in interfacejakarta.persistence.Parameter<Object>
- Overrides:
getParameterType
in classIParameterExpression<Object>
-
bind
Description copied from interface:BindingParameter
Bind the parameter.- Specified by:
bind
in interfaceBindingParameter
- Parameters:
bindingContext
- The binding context- Returns:
- The query binding
-