Top Constructors Methods
org.hibernate.hql.internal.ast.tree

public Class NullNode

extends AbstractSelectExpression
Class Inheritance
Imports
antlr.SemanticException, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.hql.internal.ast.util.ColumnHelper, org.hibernate.type.Type

Author
Andrea Boriero

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Type
public String
getRenderText(SessionFactoryImplementor
The session factory
sessionFactory
)

Overrides org.hibernate.hql.internal.ast.tree.Node.getRenderText.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Retrieve the text to be used for rendering this particular node.
public Object
public void
setScalarColumnText(int
The index of the select expression in the projection list.
i
)

Implements org.hibernate.hql.internal.ast.tree.SelectExpression.setScalarColumnText.

Appends AST nodes that represent the columns after the current AST node.
Inherited from org.hibernate.hql.internal.ast.tree.AbstractSelectExpression:
getAliasgetFromElementgetScalarColumnIndexisConstructorisReturnableEntityisScalarsetAliassetScalarColumn

Constructor Detail

NullNodeback to summary
public NullNode()

Method Detail

getDataTypeback to summary
public Type getDataType()

Overrides org.hibernate.hql.internal.ast.tree.SqlNode.getDataType.

Implements org.hibernate.hql.internal.ast.tree.SelectExpression.getDataType.

Doc from org.hibernate.hql.internal.ast.tree.SelectExpression.getDataType.

Returns the data type of the select expression.

Returns:Type

The data type of the select expression.

getRenderTextback to summary
public String getRenderText(SessionFactoryImplementor sessionFactory)

Overrides org.hibernate.hql.internal.ast.tree.Node.getRenderText.

Doc from org.hibernate.hql.internal.ast.tree.Node.getRenderText.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Retrieve the text to be used for rendering this particular node.

Parameters
sessionFactory:SessionFactoryImplementor

The session factory

Returns:String

The text to use for rendering

Annotations
@Override
@SuppressWarnings:unchecked
getValueback to summary
public Object getValue()
setScalarColumnTextback to summary
public void setScalarColumnText(int i) throws SemanticException

Implements org.hibernate.hql.internal.ast.tree.SelectExpression.setScalarColumnText.

Doc from org.hibernate.hql.internal.ast.tree.SelectExpression.setScalarColumnText.

Appends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')

Parameters
i:int

The index of the select expression in the projection list.

Annotations
@Override
Exceptions
SemanticException:
if a semantic error occurs