Class SqmExtractUnit<T>
- java.lang.Object
-
- org.hibernate.query.sqm.tree.AbstractSqmNode
-
- org.hibernate.query.sqm.tree.expression.SqmExtractUnit<T>
-
- All Implemented Interfaces:
Serializable
,JpaCriteriaNode
,SqmExpressibleAccessor<T>
,SqmNode
,SqmTypedNode<T>
,SqmVisitableNode
public class SqmExtractUnit<T> extends AbstractSqmNode implements SqmTypedNode<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqmExtractUnit(TemporalUnit unit, ReturnableType<T> type, NodeBuilder nodeBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> X
accept(SemanticQueryWalker<X> walker)
Accept the walker per visitationvoid
appendHqlString(StringBuilder sb)
SqmExtractUnit<T>
copy(SqmCopyContext context)
SqmExpressible<T>
getNodeType()
ReturnableType<T>
getType()
TemporalUnit
getUnit()
-
Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmNode
nodeBuilder
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
-
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
-
SqmExtractUnit
public SqmExtractUnit(TemporalUnit unit, ReturnableType<T> type, NodeBuilder nodeBuilder)
-
-
Method Detail
-
copy
public SqmExtractUnit<T> copy(SqmCopyContext context)
- Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmTypedNode<T>
-
getUnit
public TemporalUnit getUnit()
-
getType
public ReturnableType<T> getType()
-
accept
public <X> X accept(SemanticQueryWalker<X> walker)
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
-
getNodeType
public SqmExpressible<T> getNodeType()
- Specified by:
getNodeType
in interfaceSqmTypedNode<T>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
-
-