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

public Class BooleanLiteralNode

extends LiteralNode
implements ExpectedTypeAwareNode
Class Inheritance
All Implemented Interfaces
org.hibernate.hql.internal.ast.tree.ExpectedTypeAwareNode
Imports
org.hibernate.QueryException, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.type.LiteralType, .StandardBasicTypes, .Type, org.hibernate.type.descriptor.converter.AttributeConverterTypeAdapter

Represents a boolean literal within a query.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private Type

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Type
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 Boolean
public void
public void
Inherited from org.hibernate.hql.internal.ast.tree.LiteralNode:
determineConvertedValuegetLiteralValuesetScalarColumnText

Field Detail

expectedTypeback to summary
private Type expectedType

Hides org.hibernate.hql.internal.ast.tree.LiteralNode.expectedType.

Constructor Detail

BooleanLiteralNodeback to summary
public BooleanLiteralNode()

Method Detail

getDataTypeback to summary
public Type getDataType()

Overrides org.hibernate.hql.internal.ast.tree.LiteralNode.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.

getExpectedTypeback to summary
public Type getExpectedType()

Overrides org.hibernate.hql.internal.ast.tree.LiteralNode.getExpectedType.

Implements org.hibernate.hql.internal.ast.tree.ExpectedTypeAwareNode.getExpectedType.

Annotations
@Override
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 Boolean getValue()
setExpectedTypeback to summary
public void setExpectedType(Type expectedType)

Overrides org.hibernate.hql.internal.ast.tree.LiteralNode.setExpectedType.

Implements org.hibernate.hql.internal.ast.tree.ExpectedTypeAwareNode.setExpectedType.

Annotations
@Override
setTextback to summary
public void setText(String s)

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

Implements org.hibernate.hql.internal.ast.tree.SelectExpression.setText, antlr.collections.AST.setText.

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

Sets the text of the node.

Parameters
s:String

the new node text.

Annotations
@Override