Top Description Fields Constructors Methods
org.hibernate.sql.ast.tree.expression

public Class SqlSelectionExpression

extends Object
implements Expression
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.ast.tree.expression.Expression, org.hibernate.sql.ast.spi.SqlSelectionProducer, org.hibernate.sql.ast.tree.SqlAstNode
Imports
org.hibernate.metamodel.mapping.JdbcMappingContainer, org.hibernate.sql.ast.SqlAstWalker, org.hibernate.sql.ast.spi.SqlSelection

Represents a selection that is "re-used" in certain parts of the query other than the select-clause (mainly important for order-by, group-by and having). Allows usage of the selection position within the select-clause in that other part of the query rather than the full expression
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final SqlSelection

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public ColumnReference
public JdbcMappingContainer
public SqlSelection
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

theSelectionback to summary
private final SqlSelection theSelection

Constructor Detail

SqlSelectionExpressionback to summary
public SqlSelectionExpression(SqlSelection theSelection)

Method Detail

acceptback to summary
public void accept(SqlAstWalker sqlTreeWalker)

Implements org.hibernate.sql.ast.tree.SqlAstNode.accept.

Annotations
@Override
getColumnReferenceback to summary
public ColumnReference getColumnReference()

Overrides default org.hibernate.sql.ast.tree.expression.Expression.getColumnReference.

Annotations
@Override
getExpressionTypeback to summary
public JdbcMappingContainer getExpressionType()

Implements org.hibernate.sql.ast.tree.expression.Expression.getExpressionType.

Doc from org.hibernate.sql.ast.tree.expression.Expression.getExpressionType.

The type for this expression

Annotations
@Override
getSelectionback to summary
public SqlSelection getSelection()