Top Fields Constructors Methods
org.hibernate.query.sqm.tree.expression

public Class SqmDurationUnit<T>

extends AbstractSqmNode
implements SqmTypedNode<T>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.tree.SqmTypedNode, org.hibernate.query.sqm.tree.SqmVisitableNode, org.hibernate.query.sqm.tree.SqmNode, org.hibernate.query.criteria.JpaCriteriaNode, java.io.Serializable, org.hibernate.query.sqm.tree.SqmExpressibleAccessor
Imports
org.hibernate.query.ReturnableType, org.hibernate.query.sqm.TemporalUnit, .NodeBuilder, .SemanticQueryWalker, .SqmExpressible, org.hibernate.query.sqm.tree.AbstractSqmNode, .SqmCopyContext, .SqmTypedNode

Author
Gavin King

Field Summary

Modifier and TypeField and Description
private final ReturnableType<T>
private final TemporalUnit

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <T> T
accept(SemanticQueryWalker<T> walker)

Implements org.hibernate.query.sqm.tree.SqmVisitableNode.accept.

Accept the walker per visitation
public void
public SqmDurationUnit<T>
public SqmExpressible<T>
public ReturnableType<T>
public TemporalUnit
Inherited from org.hibernate.query.sqm.tree.AbstractSqmNode:
nodeBuilder

Field Detail

typeback to summary
private final ReturnableType<T> type
unitback to summary
private final TemporalUnit unit

Constructor Detail

SqmDurationUnitback to summary
public SqmDurationUnit(TemporalUnit unit, ReturnableType<T> type, NodeBuilder nodeBuilder)

Method Detail

acceptback to summary
public <T> T accept(SemanticQueryWalker<T> walker)

Implements org.hibernate.query.sqm.tree.SqmVisitableNode.accept.

Doc from org.hibernate.query.sqm.tree.SqmVisitableNode.accept.

Accept the walker per visitation

Annotations
@Override
appendHqlStringback to summary
public void appendHqlString(StringBuilder sb)

Implements org.hibernate.query.sqm.tree.SqmVisitableNode.appendHqlString.

Annotations
@Override
copyback to summary
public SqmDurationUnit<T> copy(SqmCopyContext context)

Implements org.hibernate.query.sqm.tree.SqmTypedNode.copy, org.hibernate.query.sqm.tree.SqmNode.copy.

Annotations
@Override
getNodeTypeback to summary
public SqmExpressible<T> getNodeType()

Implements org.hibernate.query.sqm.tree.SqmTypedNode.getNodeType.

Annotations
@Override
getTypeback to summary
public ReturnableType<T> getType()
getUnitback to summary
public TemporalUnit getUnit()