Class AbstractPath<X>
java.lang.Object
com.blazebit.persistence.criteria.impl.expression.AbstractTupleElement<X>
com.blazebit.persistence.criteria.impl.expression.AbstractSelection<T>
com.blazebit.persistence.criteria.impl.expression.AbstractExpression<X>
com.blazebit.persistence.criteria.impl.path.AbstractPath<X>
- All Implemented Interfaces:
BlazeExpression<X>,BlazePath<X>,Serializable,Expression<X>,Path<X>,Selection<X>,TupleElement<X>
- Direct Known Subclasses:
AbstractFrom,MapKeyBasePath,MapKeyPath,PluralAttributePath,SingularAttributePath
- Since:
- 1.2.0
- Author:
- Christian Beikov
- See Also:
-
Field Summary
Fields inherited from class com.blazebit.persistence.criteria.impl.expression.AbstractTupleElement
criteriaBuilder -
Constructor Summary
ConstructorsConstructorDescriptionAbstractPath(BlazeCriteriaBuilderImpl criteriaBuilder, Class<X> javaType, AbstractPath<?> basePath) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract javax.persistence.metamodel.Attribute<?,?> findAttribute(String attributeName) <Y> BlazePath<Y><K,V, M extends Map<K, V>>
BlazeExpression<M><E,C extends Collection<E>>
BlazeExpression<C><Y> BlazePath<Y>abstract javax.persistence.metamodel.Attribute<?,?> protected final javax.persistence.metamodel.Attribute<?,?> getAttribute(String attributeName) protected final Path<?>getAttributePath(String attributeName) AbstractPath<?>AbstractPath<?>protected final <T> javax.persistence.metamodel.EntityType<T>getTreatType(Class<T> type) protected abstract booleanprotected final voidputAttributePath(String attributeName, Path<?> path) voidrender(RenderContext context) voidrenderPathExpression(RenderContext context) resolveAlias(RenderContext context) abstract <T extends X>
AbstractPath<T>BlazeExpression<Class<? extends X>>type()Methods inherited from class com.blazebit.persistence.criteria.impl.expression.AbstractExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNullMethods inherited from class com.blazebit.persistence.criteria.impl.expression.AbstractSelection
alias, getCompoundSelectionItems, isCompoundSelection, visitParametersMethods inherited from class com.blazebit.persistence.criteria.impl.expression.AbstractTupleElement
getAlias, getConverter, getJavaType, setAlias, setConverter, setJavaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blazebit.persistence.criteria.BlazeExpression
asMethods inherited from interface javax.persistence.criteria.Expression
in, in, in, in, isNotNull, isNullMethods inherited from interface javax.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface javax.persistence.TupleElement
getAlias, getJavaType
-
Constructor Details
-
AbstractPath
public AbstractPath(BlazeCriteriaBuilderImpl criteriaBuilder, Class<X> javaType, AbstractPath<?> basePath)
-
-
Method Details
-
getBasePath
-
getParentPath
- Specified by:
getParentPathin interfaceBlazePath<X>- Specified by:
getParentPathin interfacePath<X>
-
treatAs
-
getTreatType
-
type
-
getAttribute
public abstract javax.persistence.metamodel.Attribute<?,?> getAttribute() -
findAttribute
-
isDereferencable
protected abstract boolean isDereferencable() -
getPathExpression
-
getAttributePath
-
putAttributePath
-
get
-
get
public <E,C extends Collection<E>> BlazeExpression<C> get(javax.persistence.metamodel.PluralAttribute<X, C, E> attribute) -
get
public <K,V, BlazeExpression<M> getM extends Map<K, V>> (javax.persistence.metamodel.MapAttribute<X, K, V> attribute) -
get
-
getAttribute
-
resolveAlias
-
renderPathExpression
-
render
- Specified by:
renderin classAbstractSelection<X>
-