Class AbstractJoin<Z,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>
com.blazebit.persistence.criteria.impl.path.AbstractFrom<Z,X>
com.blazebit.persistence.criteria.impl.path.AbstractJoin<Z,X>
- All Implemented Interfaces:
BlazeExpression<X>,BlazeFetch<Z,,X> BlazeFetchParent<Z,,X> BlazeFrom<Z,,X> BlazeJoin<Z,,X> BlazePath<X>,JoinSupport<Z,,X> Serializable,Expression<X>,Fetch<Z,,X> FetchParent<Z,,X> From<Z,,X> Join<Z,,X> Path<X>,Selection<X>,TupleElement<X>
- Direct Known Subclasses:
AbstractPluralAttributeJoin,EntityJoin,SingularAttributeJoin
public abstract class AbstractJoin<Z,X>
extends AbstractFrom<Z,X>
implements BlazeJoin<Z,X>, BlazeFetch<Z,X>, JoinSupport<Z,X>
- Since:
- 1.2.0
- Author:
- Christian Beikov
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.blazebit.persistence.criteria.impl.path.AbstractFrom
AbstractFrom.BasicJoinScope, AbstractFrom.CorrelationJoinScope, AbstractFrom.JoinScope<X> -
Field Summary
FieldsFields inherited from class com.blazebit.persistence.criteria.impl.path.AbstractFrom
DEFAULT_JOIN_TYPEFields inherited from class com.blazebit.persistence.criteria.impl.expression.AbstractTupleElement
criteriaBuilder -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractJoin(BlazeCriteriaBuilderImpl criteriaBuilder, AbstractJoin<Z, ? super X> original, javax.persistence.metamodel.EntityType<X> treatType) AbstractJoin(BlazeCriteriaBuilderImpl criteriaBuilder, Class<X> javaType, AbstractPath<Z> pathSource, javax.persistence.metamodel.Attribute<? super Z, ?> joinAttribute, JoinType joinType) -
Method Summary
Modifier and TypeMethodDescriptioncorrelateTo(SubqueryExpression<?> subquery) fetch()javax.persistence.metamodel.Attribute<? super Z,?> getOn()javax.persistence.metamodel.EntityType<? extends X>booleanisFetch()protected final voidonExpression(Expression<Boolean> restriction) protected final voidonPredicates(Predicate... restrictions) voidsetFetch(boolean fetch) protected final voidsetTreatType(Class<? extends X> treatType) abstract <T extends X>
AbstractJoin<Z,T> abstract <T extends X>
AbstractJoin<Z,T> voidvisit(ParameterVisitor visitor) Methods inherited from class com.blazebit.persistence.criteria.impl.path.AbstractFrom
addTreatedPath, alias, checkFetchAllowed, checkJoinAllowed, createCorrelationDelegate, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, findAttribute, getAlias, getBlazeJoins, getCorrelationParent, getFetches, getJoins, getJoinScope, getManagedType, getPathExpression, getTreatedPaths, isCorrelated, isDereferencable, isFetchAllowed, isJoinAllowed, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinCollection, joinCollection, joinList, joinList, joinList, joinList, joinMap, joinMap, joinMap, joinMap, joinSet, joinSet, joinSet, joinSet, prepareCorrelationDelegate, render, renderPathExpression, resolveAliasMethods inherited from class com.blazebit.persistence.criteria.impl.path.AbstractPath
get, get, get, get, getAttribute, getAttributePath, getParentPath, getTreatType, putAttributePath, typeMethods 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
getCompoundSelectionItems, isCompoundSelection, visitParametersMethods inherited from class com.blazebit.persistence.criteria.impl.expression.AbstractTupleElement
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 com.blazebit.persistence.criteria.BlazeFetchParent
fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchMethods inherited from interface com.blazebit.persistence.criteria.BlazeFrom
getBlazeJoins, getCorrelationParent, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinCollection, joinCollection, joinList, joinList, joinList, joinList, joinMap, joinMap, joinMap, joinMap, joinSet, joinSet, joinSet, joinSetMethods inherited from interface com.blazebit.persistence.criteria.BlazePath
get, get, get, get, getParentPath, typeMethods inherited from interface javax.persistence.criteria.Expression
in, in, in, in, isNotNull, isNullMethods inherited from interface javax.persistence.criteria.FetchParent
getFetchesMethods inherited from interface javax.persistence.criteria.From
getJoins, isCorrelatedMethods inherited from interface com.blazebit.persistence.criteria.impl.support.JoinSupport
on, onMethods inherited from interface javax.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface javax.persistence.TupleElement
getAlias, getJavaType
-
Field Details
-
treatJoinType
-
-
Constructor Details
-
AbstractJoin
protected AbstractJoin(BlazeCriteriaBuilderImpl criteriaBuilder, AbstractJoin<Z, ? super X> original, javax.persistence.metamodel.EntityType<X> treatType) -
AbstractJoin
public AbstractJoin(BlazeCriteriaBuilderImpl criteriaBuilder, Class<X> javaType, AbstractPath<Z> pathSource, javax.persistence.metamodel.Attribute<? super Z, ?> joinAttribute, JoinType joinType)
-
-
Method Details
-
visit
- Overrides:
visitin classAbstractFrom<Z,X>
-
getBasePath
- Overrides:
getBasePathin classAbstractPath<X>
-
getAttribute
- Specified by:
getAttributein interfaceFetch<Z,X> - Specified by:
getAttributein interfaceJoin<Z,X> - Overrides:
getAttributein classAbstractFrom<Z,X>
-
getJoinType
- Specified by:
getJoinTypein interfaceFetch<Z,X> - Specified by:
getJoinTypein interfaceJoin<Z,X>
-
getParent
-
fetch
-
isFetch
public boolean isFetch() -
setFetch
public void setFetch(boolean fetch) -
correlateTo
- Overrides:
correlateToin classAbstractFrom<Z,X>
-
treatJoin
-
setTreatType
-
treatAs
-
getTreatJoinType
-
onPredicates
-
onExpression
-
getOn
-