Class DefaultPersistentPropertyPath<T>
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.DefaultPersistentPropertyPath<T>
- Type Parameters:
T
- The property type
- All Implemented Interfaces:
IExpression<T>
,ISelection<T>
,PersistentPropertyPath<T>
,jakarta.persistence.criteria.Expression<T>
,jakarta.persistence.criteria.Path<T>
,jakarta.persistence.criteria.Selection<T>
,jakarta.persistence.TupleElement<T>
@Internal
public class DefaultPersistentPropertyPath<T>
extends Object
implements PersistentPropertyPath<T>
The abstract implementation of
PersistentPropertyPath
.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Constructor Summary
ConstructorDescriptionDefaultPersistentPropertyPath
(PersistentPropertyPath propertyPath, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder) DefaultPersistentPropertyPath
(PersistentProperty persistentProperty, List<Association> associations, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder) -
Method Summary
Modifier and TypeMethodDescription<K,
V, M extends Map<K, V>>
jakarta.persistence.criteria.Expression<M><E,
C extends Collection<E>>
jakarta.persistence.criteria.Expression<C><Y> jakarta.persistence.criteria.Path<Y>
<Y> jakarta.persistence.criteria.Path<Y>
jakarta.persistence.metamodel.Bindable<T>
getModel()
jakarta.persistence.criteria.Path<?>
jakarta.persistence.criteria.Predicate
in
(jakarta.persistence.criteria.Expression<?>... values) jakarta.persistence.criteria.Predicate
in
(jakarta.persistence.criteria.Expression<Collection<?>> values) jakarta.persistence.criteria.Predicate
jakarta.persistence.criteria.Predicate
in
(Collection<?> values) toString()
type()
void
visitExpression
(ExpressionVisitor expressionVisitor) Visit the expression.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, visitSelection
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelection
Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentPropertyPath
getExpressionType, getPathAsString, isNotNull, isNull
-
Constructor Details
-
DefaultPersistentPropertyPath
public DefaultPersistentPropertyPath(PersistentProperty persistentProperty, List<Association> associations, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder) -
DefaultPersistentPropertyPath
public DefaultPersistentPropertyPath(PersistentPropertyPath propertyPath, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder)
-
-
Method Details
-
in
- Specified by:
in
in interfacejakarta.persistence.criteria.Expression<T>
- Specified by:
in
in interfaceIExpression<T>
-
in
- Specified by:
in
in interfacejakarta.persistence.criteria.Expression<T>
- Specified by:
in
in interfaceIExpression<T>
-
in
public jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression<?>... values) - Specified by:
in
in interfacejakarta.persistence.criteria.Expression<T>
- Specified by:
in
in interfaceIExpression<T>
-
in
public jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression<Collection<?>> values) - Specified by:
in
in interfacejakarta.persistence.criteria.Expression<T>
- Specified by:
in
in interfaceIExpression<T>
-
getProperty
- Specified by:
getProperty
in interfacePersistentPropertyPath<T>
-
getAssociations
- Specified by:
getAssociations
in interfacePersistentPropertyPath<T>
-
getPropertyPath
- Specified by:
getPropertyPath
in interfacePersistentPropertyPath<T>
-
getModel
- Specified by:
getModel
in interfacejakarta.persistence.criteria.Path<T>
-
getParentPath
public jakarta.persistence.criteria.Path<?> getParentPath()- Specified by:
getParentPath
in interfacejakarta.persistence.criteria.Path<T>
-
get
public <E,C extends Collection<E>> jakarta.persistence.criteria.Expression<C> get(jakarta.persistence.metamodel.PluralAttribute<T, C, E> collection) - Specified by:
get
in interfacejakarta.persistence.criteria.Path<T>
-
get
public <K,V, jakarta.persistence.criteria.Expression<M> getM extends Map<K, V>> (jakarta.persistence.metamodel.MapAttribute<T, K, V> map) - Specified by:
get
in interfacejakarta.persistence.criteria.Path<T>
-
get
public <Y> jakarta.persistence.criteria.Path<Y> get(jakarta.persistence.metamodel.SingularAttribute<? super T, Y> attribute) - Specified by:
get
in interfacejakarta.persistence.criteria.Path<T>
-
type
- Specified by:
type
in interfacejakarta.persistence.criteria.Path<T>
-
get
- Specified by:
get
in interfacejakarta.persistence.criteria.Path<T>
-
getJavaType
- Specified by:
getJavaType
in interfaceIExpression<T>
- Specified by:
getJavaType
in interfacejakarta.persistence.TupleElement<T>
-
visitExpression
Description copied from interface:IExpression
Visit the expression.- Specified by:
visitExpression
in interfaceIExpression<T>
- Parameters:
expressionVisitor
- The expression visitor
-
toString
-