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
ConstructorsConstructorDescriptionAbstractPersistentPropertyPath(PersistentProperty persistentProperty, List<Association> path) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(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, waitMethods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, inMethods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentPropertyPath
getPathAsString, in, in, in, isBoolean, isComparable, isNotNull, isNull, isNumeric
-
Constructor Details
-
AbstractPersistentPropertyPath
public AbstractPersistentPropertyPath(PersistentProperty persistentProperty, List<Association> path)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceSelectionVisitable
-
getProperty
- Specified by:
getPropertyin interfacePersistentPropertyPath<T>
-
getAssociations
- Specified by:
getAssociationsin interfacePersistentPropertyPath<T>
-
getModel
- Specified by:
getModelin interfacejakarta.persistence.criteria.Path<T>
-
getParentPath
public jakarta.persistence.criteria.Path<?> getParentPath()- Specified by:
getParentPathin 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:
getin 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:
getin interfacejakarta.persistence.criteria.Path<T>
-
get
public <Y> jakarta.persistence.criteria.Path<Y> get(jakarta.persistence.metamodel.SingularAttribute<? super T, Y> attribute) - Specified by:
getin interfacejakarta.persistence.criteria.Path<T>
-
type
- Specified by:
typein interfacejakarta.persistence.criteria.Path<T>
-
get
- Specified by:
getin interfacejakarta.persistence.criteria.Path<T>
-
getJavaType
- Specified by:
getJavaTypein interfacejakarta.persistence.TupleElement<T>
-
toString
-