Class AbstractPersistentPropertyPath<T>
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.AbstractPersistentPropertyPath<T>
- Type Parameters:
T
- The property type
- All Implemented Interfaces:
IExpression<T>
,SelectionVisitable
,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 abstract class AbstractPersistentPropertyPath<T>
extends Object
implements PersistentPropertyPath<T>, SelectionVisitable
The abstract implementation of
PersistentPropertyPath
.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Constructor Summary
ConstructorDescriptionAbstractPersistentPropertyPath
(PersistentProperty persistentProperty, List<Association> path) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SelectionVisitor selectionVisitor) <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<?>
toString()
type()
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
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
getPathAsString, in, in, in, in, isBoolean, isComparable, isNotNull, isNull, isNumeric
-
Constructor Details
-
AbstractPersistentPropertyPath
public AbstractPersistentPropertyPath(PersistentProperty persistentProperty, List<Association> path)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceSelectionVisitable
-
getProperty
- Specified by:
getProperty
in interfacePersistentPropertyPath<T>
-
getAssociations
- Specified by:
getAssociations
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 interfacejakarta.persistence.TupleElement<T>
-
toString
-