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

public Class AssignmentSpecification

extends Object
Class Inheritance
Imports
java.util.Collections, .HashSet, .Iterator, .List, .Set, org.hibernate.QueryException, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.hql.internal.antlr.HqlSqlTokenTypes, org.hibernate.hql.internal.ast.SqlGenerator, org.hibernate.hql.internal.ast.util.ASTUtil, org.hibernate.param.ParameterSpecification, org.hibernate.persister.entity.Queryable, .UnionSubclassEntityPersister, antlr.collections.AST

Encapsulates the information relating to an individual assignment within the set clause of an HQL update statement. This information is used during execution of the update statements when the updates occur against "multi-table" stuff.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final AST
private final SessionFactoryImplementor
factory

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
private final ParameterSpecification[]
private String
private final Set<E>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
affectsTable(String tableName)

public ParameterSpecification[]
public String
private static boolean
isParam(AST node)

private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

eqback to summary
private final AST eq
factoryback to summary
private final SessionFactoryImplementor factory

Deprecated

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

hqlParametersback to summary
private final ParameterSpecification[] hqlParameters
sqlAssignmentStringback to summary
private String sqlAssignmentString
tableNamesback to summary
private final Set<E> tableNames

Constructor Detail

AssignmentSpecificationback to summary
public AssignmentSpecification(AST eq, Queryable persister)

Method Detail

affectsTableback to summary
public boolean affectsTable(String tableName)
getParametersback to summary
public ParameterSpecification[] getParameters()
getSqlAssignmentFragmentback to summary
public String getSqlAssignmentFragment()
isParamback to summary
private static boolean isParam(AST node)
validateLhsback to summary
private void validateLhs(FromReferenceNode lhs)