Class ParameterExpressionImpl<T>

java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.ParameterExpressionImpl<T>
Type Parameters:
T - The parameter type
All Implemented Interfaces:
BindingParameter, jakarta.persistence.criteria.Expression<T>, jakarta.persistence.criteria.ParameterExpression<T>, jakarta.persistence.criteria.Selection<T>, jakarta.persistence.Parameter<T>, jakarta.persistence.TupleElement<T>
Direct Known Subclasses:
SourceParameterExpressionImpl, SourceParameterStringExpressionImpl

@Internal public abstract class ParameterExpressionImpl<T> extends Object implements jakarta.persistence.criteria.ParameterExpression<T>, BindingParameter
The abstract implementation of ParameterExpression.
Since:
3.2
Author:
Denis Stepanov
  • Constructor Details

    • ParameterExpressionImpl

      public ParameterExpressionImpl(Class<T> type, String name)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface jakarta.persistence.Parameter<T>
    • getPosition

      public Integer getPosition()
      Specified by:
      getPosition in interface jakarta.persistence.Parameter<T>
    • getParameterType

      public Class<T> getParameterType()
      Specified by:
      getParameterType in interface jakarta.persistence.Parameter<T>
    • isNull

      public jakarta.persistence.criteria.Predicate isNull()
      Specified by:
      isNull in interface jakarta.persistence.criteria.Expression<T>
    • isNotNull

      public jakarta.persistence.criteria.Predicate isNotNull()
      Specified by:
      isNotNull in interface jakarta.persistence.criteria.Expression<T>
    • in

      public jakarta.persistence.criteria.Predicate in(Object... values)
      Specified by:
      in in interface jakarta.persistence.criteria.Expression<T>
    • in

      public jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression<?>... values)
      Specified by:
      in in interface jakarta.persistence.criteria.Expression<T>
    • in

      public jakarta.persistence.criteria.Predicate in(Collection<?> values)
      Specified by:
      in in interface jakarta.persistence.criteria.Expression<T>
    • in

      public jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression<Collection<?>> values)
      Specified by:
      in in interface jakarta.persistence.criteria.Expression<T>
    • as

      public <X> jakarta.persistence.criteria.Expression<X> as(Class<X> type)
      Specified by:
      as in interface jakarta.persistence.criteria.Expression<T>
    • alias

      public jakarta.persistence.criteria.Selection<T> alias(String name)
      Specified by:
      alias in interface jakarta.persistence.criteria.Selection<T>
    • isCompoundSelection

      public boolean isCompoundSelection()
      Specified by:
      isCompoundSelection in interface jakarta.persistence.criteria.Selection<T>
    • getCompoundSelectionItems

      public List<jakarta.persistence.criteria.Selection<?>> getCompoundSelectionItems()
      Specified by:
      getCompoundSelectionItems in interface jakarta.persistence.criteria.Selection<T>
    • getJavaType

      public Class<? extends T> getJavaType()
      Specified by:
      getJavaType in interface jakarta.persistence.TupleElement<T>
    • getAlias

      public String getAlias()
      Specified by:
      getAlias in interface jakarta.persistence.TupleElement<T>
    • toString

      public String toString()
      Overrides:
      toString in class Object