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.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:
copyin interfaceSqmExpression- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmSelectableNode- Specified by:
copyin interfaceSqmTypedNode
-
getNodeType
public SqmExpressible getNodeType()
Description copied from interface:SqmExpressionThe expression's type. Can change as a result of calls toSqmExpression.applyInferableType(org.hibernate.query.sqm.SqmExpressible<?>)- Specified by:
getNodeTypein interfaceSqmExpression- Specified by:
getNodeTypein interfaceSqmTypedNode
-
accept
public Object accept(SemanticQueryWalker walker)
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode
-
getJavaTypeDescriptor
public JavaType getJavaTypeDescriptor()
- Specified by:
getJavaTypeDescriptorin interfaceJpaTupleElement
-
applyInferableType
public void applyInferableType(SqmExpressible type)
Description copied from interface:SqmExpressionUsed to apply type information based on the expression's usage within the query.- Specified by:
applyInferableTypein interfaceSqmExpression
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlStringin interfaceSqmVisitableNode
-
asLong
public SqmExpression<Long> asLong()
- Specified by:
asLongin interfaceJpaExpression- Specified by:
asLongin interfaceSqmExpression
-
asInteger
public SqmExpression<Integer> asInteger()
- Specified by:
asIntegerin interfaceJpaExpression- Specified by:
asIntegerin interfaceSqmExpression
-
asFloat
public SqmExpression<Float> asFloat()
- Specified by:
asFloatin interfaceJpaExpression- Specified by:
asFloatin interfaceSqmExpression
-
asDouble
public SqmExpression<Double> asDouble()
- Specified by:
asDoublein interfaceJpaExpression- Specified by:
asDoublein interfaceSqmExpression
-
asBigDecimal
public SqmExpression<BigDecimal> asBigDecimal()
- Specified by:
asBigDecimalin interfaceJpaExpression- Specified by:
asBigDecimalin interfaceSqmExpression
-
asBigInteger
public SqmExpression<BigInteger> asBigInteger()
- Specified by:
asBigIntegerin interfaceJpaExpression- Specified by:
asBigIntegerin interfaceSqmExpression
-
asString
public SqmExpression<String> asString()
- Specified by:
asStringin interfaceJpaExpression- Specified by:
asStringin interfaceSqmExpression
-
as
public SqmExpression as(Class type)
- Specified by:
asin interfaceExpression- Specified by:
asin interfaceJpaExpression- Specified by:
asin interfaceSqmExpression
-
isNull
public SqmPredicate isNull()
- Specified by:
isNullin interfaceExpression- Specified by:
isNullin interfaceJpaExpression- Specified by:
isNullin interfaceSqmExpression
-
isNotNull
public SqmPredicate isNotNull()
- Specified by:
isNotNullin interfaceExpression- Specified by:
isNotNullin interfaceJpaExpression- Specified by:
isNotNullin interfaceSqmExpression
-
in
public SqmPredicate in(Object... values)
- Specified by:
inin interfaceExpression- Specified by:
inin interfaceJpaExpression- Specified by:
inin interfaceSqmExpression
-
in
public SqmPredicate in(Expression[] values)
- Specified by:
inin interfaceExpression- Specified by:
inin interfaceJpaExpression- Specified by:
inin interfaceSqmExpression
-
in
public SqmPredicate in(Collection values)
- Specified by:
inin interfaceExpression- Specified by:
inin interfaceJpaExpression- Specified by:
inin interfaceSqmExpression
-
in
public SqmPredicate in(Expression values)
- Specified by:
inin interfaceExpression- Specified by:
inin interfaceJpaExpression- Specified by:
inin interfaceSqmExpression
-
getSelectionItems
public List<? extends JpaSelection<?>> getSelectionItems()
- Specified by:
getSelectionItemsin interfaceJpaSelection
-
alias
public JpaSelection alias(String name)
- Specified by:
aliasin interfaceJpaSelection- Specified by:
aliasin interfaceSelection
-
isCompoundSelection
public boolean isCompoundSelection()
- Specified by:
isCompoundSelectionin interfaceSelection
-
getAlias
public String getAlias()
- Specified by:
getAliasin interfaceTupleElement
-
nodeBuilder
public NodeBuilder nodeBuilder()
- Specified by:
nodeBuilderin interfaceSqmNode
-
-