Class SourceParameterStringExpressionImpl
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.expression.AbstractExpression<Object>
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 BindingParameter
BindingParameter.BindingContext -
Constructor Summary
ConstructorsConstructorDescriptionSourceParameterStringExpressionImpl(PersistentProperty persistentProperty, String expression) -
Method Summary
Modifier and TypeMethodDescriptionbind(BindingParameter.BindingContext bindingContext) Bind the parameter.Methods inherited from class IParameterExpression
getName, getPosition, toString, visitExpressionMethods inherited from class AbstractExpression
getExpressionType, getJavaTypeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.persistence.criteria.Expression
cast, equalTo, equalTo, notEqualTo, notEqualToMethods inherited from interface IExpression
as, getExpressionType, getJavaType, in, in, in, in, isNotNull, isNull, visitSelectionMethods inherited from interface ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelection
-
Constructor Details
-
SourceParameterStringExpressionImpl
public SourceParameterStringExpressionImpl(PersistentProperty persistentProperty, String expression)
-
-
Method Details
-
getParameterType
- Specified by:
getParameterTypein interfacejakarta.persistence.Parameter<Object>- Overrides:
getParameterTypein classIParameterExpression<Object>
-
bind
Description copied from interface:BindingParameterBind the parameter.- Specified by:
bindin interfaceBindingParameter- Parameters:
bindingContext- The binding context- Returns:
- The query binding
-