org.hibernate.hql.ast.tree

Class IntoClause

Implemented Interfaces:
DisplayableNode, InitializeableNode

public class IntoClause
extends HqlSqlWalkerNode
implements DisplayableNode

Represents an entity referenced in the INTO clause of an HQL INSERT statement.
Author:
Steve Ebersole

Method Summary

String
getDisplayText()
Returns additional display text for the AST node.
String
getEntityName()
Type[]
getInsertionTypes()
Queryable
getQueryable()
String
getTableName()
void
initialize(Queryable persister)
boolean
isDiscriminated()
boolean
isExplicitIdInsertion()
boolean
isExplicitVersionInsertion()
void
prependIdColumnSpec()
void
prependVersionColumnSpec()
void
validateTypes(SelectClause selectClause)

Methods inherited from class org.hibernate.hql.ast.tree.HqlSqlWalkerNode

getASTFactory, getAliasGenerator, getSessionFactoryHelper, getWalker, initialize

Methods inherited from class org.hibernate.hql.ast.tree.SqlNode

getDataType, getOriginalText, setDataType, setText

Methods inherited from class org.hibernate.hql.ast.tree.Node

getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize

Method Details

getDisplayText

public String getDisplayText()
Returns additional display text for the AST node.
Specified by:
getDisplayText in interface DisplayableNode
Returns:
String - The additional display text.

getEntityName

public String getEntityName()

getInsertionTypes

public Type[] getInsertionTypes()

getQueryable

public Queryable getQueryable()

getTableName

public String getTableName()

initialize

public void initialize(Queryable persister)

isDiscriminated

public boolean isDiscriminated()

isExplicitIdInsertion

public boolean isExplicitIdInsertion()

isExplicitVersionInsertion

public boolean isExplicitVersionInsertion()

prependIdColumnSpec

public void prependIdColumnSpec()

prependVersionColumnSpec

public void prependVersionColumnSpec()

validateTypes

public void validateTypes(SelectClause selectClause)
            throws QueryException