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
ConstructorsConstructorDescriptionDefaultPersistentPropertyPath(PersistentPropertyPath propertyPath, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder) DefaultPersistentPropertyPath(PersistentProperty persistentProperty, List<Association> associations, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder) -
Method Summary
Modifier and TypeMethodDescription<Y> PersistentPropertyPath<Y>jakarta.persistence.metamodel.Bindable<T>getModel()jakarta.persistence.criteria.Path<?>jakarta.persistence.criteria.Predicatein(jakarta.persistence.criteria.Expression<?>... values) jakarta.persistence.criteria.Predicatein(jakarta.persistence.criteria.Expression<Collection<?>> values) jakarta.persistence.criteria.Predicatejakarta.persistence.criteria.Predicatein(Collection<?> values) toString()type()voidvisitExpression(ExpressionVisitor expressionVisitor) Visit the expression.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, visitSelectionMethods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentPropertyPath
get, get, get, 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:
inin interfacejakarta.persistence.criteria.Expression<T>- Specified by:
inin interfaceIExpression<T>
-
in
- Specified by:
inin interfacejakarta.persistence.criteria.Expression<T>- Specified by:
inin interfaceIExpression<T>
-
in
public jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression<?>... values) - Specified by:
inin interfacejakarta.persistence.criteria.Expression<T>- Specified by:
inin interfaceIExpression<T>
-
in
public jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression<Collection<?>> values) - Specified by:
inin interfacejakarta.persistence.criteria.Expression<T>- Specified by:
inin interfaceIExpression<T>
-
getProperty
- Specified by:
getPropertyin interfacePersistentPropertyPath<T>
-
getAssociations
- Specified by:
getAssociationsin interfacePersistentPropertyPath<T>
-
getPropertyPath
- Specified by:
getPropertyPathin 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>
-
type
- Specified by:
typein interfacejakarta.persistence.criteria.Path<T>
-
get
- Specified by:
getin interfacejakarta.persistence.criteria.Path<T>- Specified by:
getin interfacePersistentPropertyPath<T>
-
getJavaType
- Specified by:
getJavaTypein interfaceIExpression<T>- Specified by:
getJavaTypein interfacejakarta.persistence.TupleElement<T>
-
visitExpression
Description copied from interface:IExpressionVisit the expression.- Specified by:
visitExpressionin interfaceIExpression<T>- Parameters:
expressionVisitor- The expression visitor
-
toString
-