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

public Class SqmCollectionSize

extends AbstractSqmExpression<Integer>
Class Inheritance
Imports
org.hibernate.query.sqm.NodeBuilder, .SemanticQueryWalker, .SqmExpressible, org.hibernate.query.sqm.tree.SqmCopyContext, org.hibernate.query.sqm.tree.domain.SqmPath

Represents the SIZE() function.
Authors
Steve Ebersole, Gunnar Morling

Field Summary

Modifier and TypeField and Description
private final SqmPath<?>

Constructor Summary

AccessConstructor and Description
public
SqmCollectionSize(SqmPath<?> pluralPath, NodeBuilder nodeBuilder)

public
SqmCollectionSize(SqmPath<?> pluralPath, SqmExpressible<Integer> sizeType, NodeBuilder nodeBuilder)

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 String
public SqmCollectionSize
public SqmPath<?>
Inherited from org.hibernate.query.sqm.tree.expression.AbstractSqmExpression:
aliasapplyInferableTypeasasBigDecimalasBigIntegerasDoubleasFloatasIntegerasLongasStringequalToequalTogetJavaTypeDescriptorinininininternalApplyInferableTypeisNotNullisNullnodeBuilder

Field Detail

pluralPathback to summary
private final SqmPath<?> pluralPath

Constructor Detail

SqmCollectionSizeback to summary
public SqmCollectionSize(SqmPath<?> pluralPath, NodeBuilder nodeBuilder)
SqmCollectionSizeback to summary
public SqmCollectionSize(SqmPath<?> pluralPath, SqmExpressible<Integer> sizeType, 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
asLoggableTextback to summary
public String asLoggableText()

Overrides default org.hibernate.query.sqm.tree.SqmNode.asLoggableText.

Annotations
@Override
copyback to summary
public SqmCollectionSize copy(SqmCopyContext context)

Implements org.hibernate.query.sqm.tree.expression.SqmExpression.copy, org.hibernate.query.sqm.tree.select.SqmSelectableNode.copy, org.hibernate.query.sqm.tree.SqmNode.copy.

Annotations
@Override
getPluralPathback to summary
public SqmPath<?> getPluralPath()