Package org.hibernate.query.sqm.internal
Class DomainParameterXref
- java.lang.Object
-
- org.hibernate.query.sqm.internal.DomainParameterXref
-
public class DomainParameterXref extends Object
Maintains a cross-reference between SqmParameter and QueryParameter references.
-
-
Field Summary
Fields Modifier and Type Field Description static DomainParameterXref
EMPTY
-
Method Summary
-
-
-
Field Detail
-
EMPTY
public static final DomainParameterXref EMPTY
-
-
Method Detail
-
from
public static DomainParameterXref from(SqmStatement<?> sqmStatement)
Create a DomainParameterXref for the parameters defined in the SQM statement
-
copy
public DomainParameterXref copy()
-
hasParameters
public boolean hasParameters()
Does this xref contain any parameters?
-
getQueryParameters
public Map<QueryParameterImplementor<?>,List<SqmParameter<?>>> getQueryParameters()
Get all of the QueryParameters mapped by this xref
-
getQueryParameterCount
public int getQueryParameterCount()
-
getSqmParameterCount
public int getSqmParameterCount()
-
getNumberOfSqmParameters
public int getNumberOfSqmParameters(QueryParameterImplementor<?> queryParameter)
-
getParameterResolutions
public SqmStatement.ParameterResolutions getParameterResolutions()
-
getSqmParameters
public List<SqmParameter<?>> getSqmParameters(QueryParameterImplementor<?> queryParameter)
-
getQueryParameter
public QueryParameterImplementor<?> getQueryParameter(SqmParameter<?> sqmParameter)
-
addExpansion
public void addExpansion(QueryParameterImplementor<?> domainParam, SqmParameter originalSqmParameter, SqmParameter expansion)
-
getExpansions
public List<SqmParameter<?>> getExpansions(SqmParameter<?> sqmParameter)
-
clearExpansions
public void clearExpansions()
-
-