Package org.hibernate.query.hql.internal
Class FullyQualifiedReflectivePathTerminal
- java.lang.Object
-
- org.hibernate.query.hql.internal.FullyQualifiedReflectivePath
-
- org.hibernate.query.hql.internal.FullyQualifiedReflectivePathTerminal
-
- All Implemented Interfaces:
Expression
,Selection
,TupleElement
,Serializable
,JpaCriteriaNode
,JpaExpression
,JpaSelection
,JpaTupleElement
,FullyQualifiedReflectivePathSource
,SemanticPathPart
,SqmExpression
,SqmSelectableNode
,SqmExpressibleAccessor
,SqmNode
,SqmTypedNode
,SqmVisitableNode
,DotIdentifierSequence
public class FullyQualifiedReflectivePathTerminal extends FullyQualifiedReflectivePath implements SqmExpression
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FullyQualifiedReflectivePathTerminal(FullyQualifiedReflectivePathSource pathSource, String subPathName, SqmCreationState creationState)
-
Method Summary
-
Methods inherited from class org.hibernate.query.hql.internal.FullyQualifiedReflectivePath
append, getFullPath, getLocalName, getParent, resolveIndexedAccess, resolvePathPart
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.spi.DotIdentifierSequence
getParts, isRoot
-
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
getCompoundSelectionItems
-
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType
-
Methods inherited from interface org.hibernate.query.sqm.tree.expression.SqmExpression
castAs, visitSubSelectableNodes
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText
-
Methods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLength
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
-
-
-
-
Constructor Detail
-
FullyQualifiedReflectivePathTerminal
public FullyQualifiedReflectivePathTerminal(FullyQualifiedReflectivePathSource pathSource, String subPathName, SqmCreationState creationState)
-
-
Method Detail
-
copy
public FullyQualifiedReflectivePathTerminal copy(SqmCopyContext context)
- Specified by:
copy
in interfaceSqmExpression
- Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmSelectableNode
- Specified by:
copy
in interfaceSqmTypedNode
-
getNodeType
public SqmExpressible getNodeType()
Description copied from interface:SqmExpression
The expression's type.Can change as a result of calls to
SqmExpression.applyInferableType(org.hibernate.query.sqm.SqmExpressible<?>)
- Specified by:
getNodeType
in interfaceSqmExpression
- Specified by:
getNodeType
in interfaceSqmTypedNode
-
accept
public Object accept(SemanticQueryWalker walker)
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
-
getJavaTypeDescriptor
public JavaType getJavaTypeDescriptor()
- Specified by:
getJavaTypeDescriptor
in interfaceJpaTupleElement
-
applyInferableType
public void applyInferableType(SqmExpressible type)
Description copied from interface:SqmExpression
Used to apply type information based on the expression's usage within the query.- Specified by:
applyInferableType
in interfaceSqmExpression
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
-
asLong
public SqmExpression<Long> asLong()
- Specified by:
asLong
in interfaceJpaExpression
- Specified by:
asLong
in interfaceSqmExpression
-
asInteger
public SqmExpression<Integer> asInteger()
- Specified by:
asInteger
in interfaceJpaExpression
- Specified by:
asInteger
in interfaceSqmExpression
-
asFloat
public SqmExpression<Float> asFloat()
- Specified by:
asFloat
in interfaceJpaExpression
- Specified by:
asFloat
in interfaceSqmExpression
-
asDouble
public SqmExpression<Double> asDouble()
- Specified by:
asDouble
in interfaceJpaExpression
- Specified by:
asDouble
in interfaceSqmExpression
-
asBigDecimal
public SqmExpression<BigDecimal> asBigDecimal()
- Specified by:
asBigDecimal
in interfaceJpaExpression
- Specified by:
asBigDecimal
in interfaceSqmExpression
-
asBigInteger
public SqmExpression<BigInteger> asBigInteger()
- Specified by:
asBigInteger
in interfaceJpaExpression
- Specified by:
asBigInteger
in interfaceSqmExpression
-
asString
public SqmExpression<String> asString()
- Specified by:
asString
in interfaceJpaExpression
- Specified by:
asString
in interfaceSqmExpression
-
as
public SqmExpression as(Class type)
- Specified by:
as
in interfaceExpression
- Specified by:
as
in interfaceJpaExpression
- Specified by:
as
in interfaceSqmExpression
-
isNull
public SqmPredicate isNull()
- Specified by:
isNull
in interfaceExpression
- Specified by:
isNull
in interfaceJpaExpression
- Specified by:
isNull
in interfaceSqmExpression
-
isNotNull
public SqmPredicate isNotNull()
- Specified by:
isNotNull
in interfaceExpression
- Specified by:
isNotNull
in interfaceJpaExpression
- Specified by:
isNotNull
in interfaceSqmExpression
-
equalTo
public SqmPredicate equalTo(Expression that)
- Specified by:
equalTo
in interfaceJpaExpression
- Specified by:
equalTo
in interfaceSqmExpression
-
equalTo
public SqmPredicate equalTo(Object that)
- Specified by:
equalTo
in interfaceJpaExpression
- Specified by:
equalTo
in interfaceSqmExpression
-
in
public SqmPredicate in(Object... values)
- Specified by:
in
in interfaceExpression
- Specified by:
in
in interfaceJpaExpression
- Specified by:
in
in interfaceSqmExpression
-
in
public SqmPredicate in(Expression[] values)
- Specified by:
in
in interfaceExpression
- Specified by:
in
in interfaceJpaExpression
- Specified by:
in
in interfaceSqmExpression
-
in
public SqmPredicate in(Collection values)
- Specified by:
in
in interfaceExpression
- Specified by:
in
in interfaceJpaExpression
- Specified by:
in
in interfaceSqmExpression
-
in
public SqmPredicate in(Expression values)
- Specified by:
in
in interfaceExpression
- Specified by:
in
in interfaceJpaExpression
- Specified by:
in
in interfaceSqmExpression
-
getSelectionItems
public List<? extends JpaSelection<?>> getSelectionItems()
- Specified by:
getSelectionItems
in interfaceJpaSelection
-
alias
public JpaSelection alias(String name)
- Specified by:
alias
in interfaceJpaSelection
- Specified by:
alias
in interfaceSelection
-
isCompoundSelection
public boolean isCompoundSelection()
- Specified by:
isCompoundSelection
in interfaceSelection
-
getAlias
public String getAlias()
- Specified by:
getAlias
in interfaceTupleElement
-
nodeBuilder
public NodeBuilder nodeBuilder()
- Specified by:
nodeBuilder
in interfaceSqmNode
-
-