Z
- type from which joiningX
- type of the attribute being joinedstatic class Joins.SingularJoin<Z,X> extends FromImpl<Z,X> implements javax.persistence.criteria.Join<Z,X>
Constructor and Description |
---|
Joins.SingularJoin(FromImpl<?,Z> from,
Members.SingularAttributeImpl<? super Z,X> member,
javax.persistence.criteria.JoinType jt) |
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuilder |
asVariable(AliasContext q)
Get a string representation of this node as a variable in the context of the given query.
|
javax.persistence.metamodel.Attribute<? super Z,?> |
getAttribute()
Return the metamodel attribute corresponding to the join.
|
javax.persistence.criteria.JoinType |
getJoinType() |
Members.Member<? extends Z,X> |
getMember() |
FromImpl<?,Z> |
getParent() |
void |
setImplicitContainsTypes(Value val1,
Value val2,
int op)
Set the implicit types of the given values based on the fact that
the first is supposed to contain the second.
|
Expression |
toKernelExpression(ExpressionFactory factory,
CriteriaQueryImpl<?> c)
Bridge contract to convert this facade expression to a kernel expression.
|
Value |
toValue(ExpressionFactory factory,
CriteriaQueryImpl<?> c)
Convert this path to a kernel path.
|
acceptVisit, assertJoinable, fetch, fetch, fetch, fetch, fetch, fetch, getCorrelationParent, getFetches, getJoins, getType, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
asValue, get, get, get, get, getCorrelatedJoin, getCorrelatedPath, getCorrelatedRoot, getEmbeddedFieldMetaData, getInnermostMember, getInnermostParentPath, getModel, getParentPath, inSubquery, isCorrelated, setCorrelatedPath, traversePath, type
as, in, in, in, in, isNotNull, isNull
alias, asProjection, assertValidName, getAlias, getCompoundSelectionItems, getJavaType, isAliased, isAutoAliased, isCompoundSelection, setAutoAlias
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
get, get, get, get, getModel, getParentPath, type
as, in, in, in, in, isNotNull, isNull
public Joins.SingularJoin(FromImpl<?,Z> from, Members.SingularAttributeImpl<? super Z,X> member, javax.persistence.criteria.JoinType jt)
public javax.persistence.criteria.JoinType getJoinType()
public Members.Member<? extends Z,X> getMember()
public javax.persistence.metamodel.Attribute<? super Z,?> getAttribute()
public Value toValue(ExpressionFactory factory, CriteriaQueryImpl<?> c)
PathImpl
public Expression toKernelExpression(ExpressionFactory factory, CriteriaQueryImpl<?> c)
ExpressionImpl
toKernelExpression
in class ExpressionImpl<X>
factory
- creates the kernel expressionc
- the query definition context of this expressionpublic void setImplicitContainsTypes(Value val1, Value val2, int op)
public java.lang.StringBuilder asVariable(AliasContext q)
CriteriaExpression
asVariable
in interface CriteriaExpression
asVariable
in class PathImpl<Z,X>
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.