Top Fields Constructors Methods
org.hibernate.query.sqm.tree

public abstract Class AbstractSqmStatement<T>

extends AbstractSqmNode
implements SqmStatement<T>, ParameterCollector
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.internal.ParameterCollector, org.hibernate.query.sqm.tree.SqmStatement, org.hibernate.query.sqm.tree.SqmVisitableNode, org.hibernate.query.sqm.tree.SqmNode, org.hibernate.query.criteria.JpaCriteriaNode, java.io.Serializable, org.hibernate.query.criteria.JpaQueryableCriteria, org.hibernate.query.criteria.JpaCteContainer, org.hibernate.query.criteria.JpaCriteriaBase, jakarta.persistence.criteria.CommonAbstractCriteria, org.hibernate.query.sqm.tree.SqmQuery
Known Direct Subclasses
org.hibernate.query.sqm.tree.AbstractSqmDmlStatement
Imports
java.util.Collections, .HashSet, .Set, org.hibernate.query.sqm.NodeBuilder, .SqmQuerySource, org.hibernate.query.sqm.internal.ParameterCollector, .SqmUtil, org.hibernate.query.sqm.tree.expression.SqmParameter

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private Set<SqmParameter<?>>
private final SqmQuerySource

Constructor Summary

AccessConstructor and Description
public
protected
AbstractSqmStatement(NodeBuilder builder, SqmQuerySource querySource, Set<SqmParameter<?>> parameters)

Method Summary

Modifier and TypeMethod and Description
public void
protected Set<SqmParameter<?>>
public SqmQuerySource
public Set<SqmParameter<?>>
getSqmParameters()

Implements org.hibernate.query.sqm.tree.SqmStatement.getSqmParameters.

Access to the (potentially still growing) collection of parameters for the statement.
public SqmStatement.ParameterResolutions
Inherited from org.hibernate.query.sqm.tree.AbstractSqmNode:
nodeBuilder

Field Detail

parametersback to summary
private Set<SqmParameter<?>> parameters
querySourceback to summary
private final SqmQuerySource querySource

Constructor Detail

AbstractSqmStatementback to summary
public AbstractSqmStatement(SqmQuerySource querySource, NodeBuilder builder)
AbstractSqmStatementback to summary
protected AbstractSqmStatement(NodeBuilder builder, SqmQuerySource querySource, Set<SqmParameter<?>> parameters)

Method Detail

addParameterback to summary
public void addParameter(SqmParameter<?> parameter)

Implements org.hibernate.query.sqm.internal.ParameterCollector.addParameter.

Annotations
@Override
copyParametersback to summary
protected Set<SqmParameter<?>> copyParameters(SqmCopyContext context)
getQuerySourceback to summary
public SqmQuerySource getQuerySource()

Implements org.hibernate.query.sqm.tree.SqmStatement.getQuerySource.

Annotations
@Override
getSqmParametersback to summary
public Set<SqmParameter<?>> getSqmParameters()

Implements org.hibernate.query.sqm.tree.SqmStatement.getSqmParameters.

Doc from org.hibernate.query.sqm.tree.SqmStatement.getSqmParameters.

Access to the (potentially still growing) collection of parameters for the statement.

Annotations
@Override
resolveParametersback to summary
public SqmStatement.ParameterResolutions resolveParameters()

Implements org.hibernate.query.sqm.tree.SqmStatement.resolveParameters.

Annotations
@Override