Class SourceParameterExpressionImpl

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 SourceParameterExpressionImpl extends IParameterExpression<Object> implements BindingParameter
The internal source implementation of IParameterExpression.
Since:
3.2
Author:
Denis Stepanov
  • Constructor Details

    • SourceParameterExpressionImpl

      public SourceParameterExpressionImpl(Map<String,DataType> dataTypes, io.micronaut.inject.ast.ParameterElement[] parameters, @Nullable io.micronaut.inject.ast.ParameterElement parameterElement, boolean isEntityParameter, @Nullable PersistentPropertyPath parameterPropertyPath)
    • SourceParameterExpressionImpl

      public SourceParameterExpressionImpl(Map<String,DataType> dataTypes, String name, @Nullable io.micronaut.inject.ast.ClassElement expressionType, @Nullable PersistentPropertyPath parameterPropertyPath)
  • Method Details

    • getSourceExpressionType

      public static io.micronaut.inject.ast.ClassElement getSourceExpressionType(@Nullable io.micronaut.inject.ast.ClassElement expressionType, @Nullable io.micronaut.inject.ast.ParameterElement parameterElement, @Nullable PersistentPropertyPath parameterPropertyPath)
    • getParameterType

      public Class<Object> getParameterType()
      Specified by:
      getParameterType in interface jakarta.persistence.Parameter<Object>
      Overrides:
      getParameterType in class IParameterExpression<Object>
    • setUpdate

      public void setUpdate(boolean update)
    • bind

      Description copied from interface: BindingParameter
      Bind the parameter.
      Specified by:
      bind in interface BindingParameter
      Parameters:
      bindingContext - The binding context
      Returns:
      The query binding