Top Description Methods
org.hibernate.query.spi

public Interface SqmQuery

extends CommonQueryContract
Known Direct Subinterfaces
org.hibernate.query.sqm.SqmSelectionQuery, org.hibernate.query.hql.spi.SqmQueryImplementor
Imports
java.time.Instant, java.util.Calendar, .Collection, .Date, .Map, org.hibernate.FlushMode, org.hibernate.query.BindableType, .CommonQueryContract, .ParameterMetadata, .QueryParameter, org.hibernate.query.sqm.tree.SqmStatement, jakarta.persistence.Parameter, .TemporalType

Query based on an SQM tree.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public ParameterMetadata
public QueryOptions
public String
public SqmStatement<T>
public SqmQuery
setHibernateFlushMode(FlushMode flushMode)

Redeclares org.hibernate.query.CommonQueryContract.setHibernateFlushMode.

Set the current FlushMode in effect for this query.
public SqmQuery
setParameter(String name, Object value)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Bind the given argument to a named query parameter.
public <P> SqmQuery
setParameter(String name, P value, Class<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Bind the given argument to a named query parameter using the given Class reference to attempt to infer the BindableType.
public <P> SqmQuery
setParameter(String name, P value, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Bind the given argument to a named query parameter using the given BindableType.
public SqmQuery
setParameter(String name, Instant value, TemporalType temporalType)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Bind an Instant to the named query parameter using just the portion indicated by the given TemporalType.
public SqmQuery
public SqmQuery
public SqmQuery
setParameter(int position, Object value)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Bind the given argument to an ordinal query parameter.
public <P> SqmQuery
setParameter(int position, P value, Class<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Bind the given argument to an ordinal query parameter using the given Class reference to attempt to infer the BindableType.
public <P> SqmQuery
setParameter(int position, P value, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Bind the given argument to an ordinal query parameter using the given BindableType.
public SqmQuery
setParameter(int position, Instant value, TemporalType temporalType)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Bind an Instant to an ordinal query parameter using just the portion indicated by the given TemporalType.
public SqmQuery
public SqmQuery
public <T> SqmQuery
setParameter(QueryParameter<T>
the query parameter memento
parameter
,
T
the argument, which might be null
value
)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Bind an argument to the query parameter represented by the given QueryParameter.
public <P> SqmQuery
setParameter(QueryParameter<P>
the query parameter memento
parameter
,
P
the argument, which might be null
value
,
Class<P>
a BindableType representing the type of the parameter
type
)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Bind an argument to the query parameter represented by the given QueryParameter, using the given Class reference to attempt to infer the BindableType to use.
public <P> SqmQuery
setParameter(QueryParameter<P>
the query parameter memento
parameter
,
P
the argument, which might be null
val
,
BindableType<P>
a BindableType representing the type of the parameter
type
)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Bind an argument to the query parameter represented by the given QueryParameter, using the given BindableType.
public <T> SqmQuery
public SqmQuery
public SqmQuery
public SqmQuery
setParameterList(String name, Collection<E> values)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to a named query parameter.
public <P> SqmQuery
setParameterList(String name, Collection<? extends P> values, Class<P> javaType)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to a named query parameter using the given Class reference to attempt to infer the BindableType If unable to infer an appropriate BindableType, fall back to setParameterList(String, Collection).
public <P> SqmQuery
setParameterList(String name, Collection<? extends P> values, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to a named query parameter using the given BindableType.
public SqmQuery
setParameterList(String name, Object[] values)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to a named query parameter.
public <P> SqmQuery
setParameterList(String name, P[] values, Class<P> javaType)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine the BindableType to use.
public <P> SqmQuery
setParameterList(String name, P[] values, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to a named query parameter using the given BindableType.
public SqmQuery
setParameterList(int position, Collection<E> values)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to an ordinal query parameter.
public <P> SqmQuery
setParameterList(int position, Collection<? extends P> values, Class<P> javaType)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to an ordinal query parameter using the given Class reference to attempt to infer the BindableType.
public <P> SqmQuery
setParameterList(int position, Collection<? extends P> values, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to an ordinal query parameter using the given BindableType.
public SqmQuery
setParameterList(int position, Object[] values)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to an ordinal query parameter.
public <P> SqmQuery
setParameterList(int position, P[] values, Class<P> javaType)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to an ordinal query parameter using the given Class reference to attempt to infer the BindableType.
public <P> SqmQuery
setParameterList(int position, P[] values, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to an ordinal query parameter using the given BindableType.
public <P> SqmQuery
setParameterList(QueryParameter<P>
the parameter memento
parameter
,
Collection<? extends P>
a collection of arguments
values
)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to the query parameter represented by the given QueryParameter.
public <P> SqmQuery
setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to the query parameter represented by the given QueryParameter using the given Class reference to attempt to infer the BindableType to use.
public <P> SqmQuery
setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to the query parameter represented by the given QueryParameter, using the given BindableType.
public <P> SqmQuery
setParameterList(QueryParameter<P>
the parameter memento
parameter
,
P[]
a collection of arguments
values
)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to the query parameter represented by the given QueryParameter.
public <P> SqmQuery
setParameterList(QueryParameter<P> parameter, P[] values, Class<P> javaType)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to the query parameter represented by the given QueryParameter using the given Class reference to attempt to infer the BindableType to use.
public <P> SqmQuery
setParameterList(QueryParameter<P> parameter, P[] values, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to the query parameter represented by the given QueryParameter, using the given the BindableType.
public SqmQuery
setProperties(Object
any JavaBean or POJO
bean
)

Redeclares org.hibernate.query.CommonQueryContract.setProperties.

Bind the property values of the given bean to named parameters of the query, matching property names with parameter names and mapping property types to Hibernate types using heuristics.
public SqmQuery
setProperties(Map<K, V>
a Map of names to arguments
bean
)

Redeclares org.hibernate.query.CommonQueryContract.setProperties.

Bind the values of the given Map to named parameters of the query, matching key names with parameter names and mapping value types to Hibernate types using heuristics.
Inherited from org.hibernate.query.CommonQueryContract:
getCommentgetFlushModegetHibernateFlushModegetTimeoutsetCommentsetFlushModesetHintsetTimeout

Method Detail

getParameterMetadataback to summary
public ParameterMetadata getParameterMetadata()
getQueryOptionsback to summary
public QueryOptions getQueryOptions()
getQueryStringback to summary
public String getQueryString()
getSqmStatementback to summary
public SqmStatement<T> getSqmStatement()
Annotations
@SuppressWarnings:rawtypes
setHibernateFlushModeback to summary
public SqmQuery setHibernateFlushMode(FlushMode flushMode)

Redeclares org.hibernate.query.CommonQueryContract.setHibernateFlushMode.

Doc from org.hibernate.query.CommonQueryContract.setHibernateFlushMode.

Set the current FlushMode in effect for this query.

Annotations
@Override
setParameterback to summary
public SqmQuery setParameter(String name, Object value)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Doc from org.hibernate.query.CommonQueryContract.setParameter.

Bind the given argument to a named query parameter.

If the type of the parameter cannot be inferred from the context in which it occurs, use one of the forms which accepts a "type".

Annotations
@Override
setParameterback to summary
public <P> SqmQuery setParameter(String name, P value, Class<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Doc from org.hibernate.query.CommonQueryContract.setParameter.

Bind the given argument to a named query parameter using the given Class reference to attempt to infer the BindableType. If unable to infer an appropriate BindableType, fall back to setParameter(String, Object).

Annotations
@Override
setParameterback to summary
public <P> SqmQuery setParameter(String name, P value, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Doc from org.hibernate.query.CommonQueryContract.setParameter.

Bind the given argument to a named query parameter using the given BindableType.

Annotations
@Override
setParameterback to summary
public SqmQuery setParameter(String name, Instant value, TemporalType temporalType)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Doc from org.hibernate.query.CommonQueryContract.setParameter.

Bind an Instant to the named query parameter using just the portion indicated by the given TemporalType.

Annotations
@Override
setParameterback to summary
public SqmQuery setParameter(String name, Calendar value, TemporalType temporalType)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Annotations
@Override
setParameterback to summary
public SqmQuery setParameter(String name, Date value, TemporalType temporalType)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Annotations
@Override
setParameterback to summary
public SqmQuery setParameter(int position, Object value)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Doc from org.hibernate.query.CommonQueryContract.setParameter.

Bind the given argument to an ordinal query parameter.

If the type of the parameter cannot be inferred from the context in which it occurs, use one of the forms which accepts a "type".

Annotations
@Override
setParameterback to summary
public <P> SqmQuery setParameter(int position, P value, Class<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Doc from org.hibernate.query.CommonQueryContract.setParameter.

Bind the given argument to an ordinal query parameter using the given Class reference to attempt to infer the BindableType. If unable to infer an appropriate BindableType, fall back to setParameter(int, Object).

Annotations
@Override
setParameterback to summary
public <P> SqmQuery setParameter(int position, P value, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Doc from org.hibernate.query.CommonQueryContract.setParameter.

Bind the given argument to an ordinal query parameter using the given BindableType.

Annotations
@Override
setParameterback to summary
public SqmQuery setParameter(int position, Instant value, TemporalType temporalType)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Doc from org.hibernate.query.CommonQueryContract.setParameter.

Bind an Instant to an ordinal query parameter using just the portion indicated by the given TemporalType.

Annotations
@Override
setParameterback to summary
public SqmQuery setParameter(int position, Date value, TemporalType temporalType)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Annotations
@Override
setParameterback to summary
public SqmQuery setParameter(int position, Calendar value, TemporalType temporalType)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Annotations
@Override
setParameterback to summary
public <T> SqmQuery setParameter(QueryParameter<T> parameter, T value)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Doc from org.hibernate.query.CommonQueryContract.setParameter.

Bind an argument to the query parameter represented by the given QueryParameter.

If the type of the parameter cannot be inferred from the context in which it occurs, use one of the forms which accepts a "type".

Parameters
parameter:QueryParameter<T>

the query parameter memento

value:T

the argument, which might be null

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterback to summary
public <P> SqmQuery setParameter(QueryParameter<P> parameter, P value, Class<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Doc from org.hibernate.query.CommonQueryContract.setParameter.

Bind an argument to the query parameter represented by the given QueryParameter, using the given Class reference to attempt to infer the BindableType to use. If unable to infer an appropriate BindableType, fall back to setParameter(QueryParameter, Object).

Parameters
parameter:QueryParameter<P>

the query parameter memento

value:P

the argument, which might be null

type:Class<P>

a BindableType representing the type of the parameter

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterback to summary
public <P> SqmQuery setParameter(QueryParameter<P> parameter, P val, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Doc from org.hibernate.query.CommonQueryContract.setParameter.

Bind an argument to the query parameter represented by the given QueryParameter, using the given BindableType.

Parameters
parameter:QueryParameter<P>

the query parameter memento

val:P

the argument, which might be null

type:BindableType<P>

a BindableType representing the type of the parameter

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterback to summary
public <T> SqmQuery setParameter(Parameter<T> param, T value)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Annotations
@Override
setParameterback to summary
public SqmQuery setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Annotations
@Override
setParameterback to summary
public SqmQuery setParameter(Parameter<Date> param, Date value, TemporalType temporalType)

Redeclares org.hibernate.query.CommonQueryContract.setParameter.

Annotations
@Override
setParameterListback to summary
public SqmQuery setParameterList(String name, Collection<E> values)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to a named query parameter.

The "type mapping" for the binding is inferred from the type of the first collection element.

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(String name, Collection<? extends P> values, Class<P> javaType)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to a named query parameter using the given Class reference to attempt to infer the BindableType If unable to infer an appropriate BindableType, fall back to setParameterList(String, Collection).

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(String name, Collection<? extends P> values, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to a named query parameter using the given BindableType.

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public SqmQuery setParameterList(String name, Object[] values)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to a named query parameter.

The "type mapping" for the binding is inferred from the type of the first collection element

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(String name, P[] values, Class<P> javaType)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine the BindableType to use. If unable to determine an appropriate BindableType, setParameterList(String, Collection) is used

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(String name, P[] values, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to a named query parameter using the given BindableType.

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public SqmQuery setParameterList(int position, Collection<E> values)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to an ordinal query parameter.

The "type mapping" for the binding is inferred from the type of the first collection element

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(int position, Collection<? extends P> values, Class<P> javaType)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to an ordinal query parameter using the given Class reference to attempt to infer the BindableType. If unable to infer an appropriate BindableType, fall back to setParameterList(String, Collection).

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(int position, Collection<? extends P> values, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to an ordinal query parameter using the given BindableType.

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public SqmQuery setParameterList(int position, Object[] values)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to an ordinal query parameter.

The "type mapping" for the binding is inferred from the type of the first collection element

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(int position, P[] values, Class<P> javaType)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to an ordinal query parameter using the given Class reference to attempt to infer the BindableType. If unable to infer an appropriate BindableType, fall back to setParameterList(String, Collection).

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(int position, P[] values, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to an ordinal query parameter using the given BindableType.

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(QueryParameter<P> parameter, Collection<? extends P> values)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to the query parameter represented by the given QueryParameter.

The type of the parameter is inferred from the context in which it occurs, and from the type of the first given argument.

Parameters
parameter:QueryParameter<P>

the parameter memento

values:Collection<? extends P>

a collection of arguments

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to the query parameter represented by the given QueryParameter using the given Class reference to attempt to infer the BindableType to use. If unable to infer an appropriate BindableType, fall back to using setParameterList(String, Collection).

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to the query parameter represented by the given QueryParameter, using the given BindableType.

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(QueryParameter<P> parameter, P[] values)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to the query parameter represented by the given QueryParameter.

The type of the parameter is inferred between the context in which it occurs, the type associated with the QueryParameter and the type of the first given argument.

Parameters
parameter:QueryParameter<P>

the parameter memento

values:P[]

a collection of arguments

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(QueryParameter<P> parameter, P[] values, Class<P> javaType)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to the query parameter represented by the given QueryParameter using the given Class reference to attempt to infer the BindableType to use. If unable to infer an appropriate BindableType, fall back to using setParameterList(String, Collection).

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setParameterListback to summary
public <P> SqmQuery setParameterList(QueryParameter<P> parameter, P[] values, BindableType<P> type)

Redeclares org.hibernate.query.CommonQueryContract.setParameterList.

Doc from org.hibernate.query.CommonQueryContract.setParameterList.

Bind multiple arguments to the query parameter represented by the given QueryParameter, using the given the BindableType.

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setPropertiesback to summary
public SqmQuery setProperties(Object bean)

Redeclares org.hibernate.query.CommonQueryContract.setProperties.

Doc from org.hibernate.query.CommonQueryContract.setProperties.

Bind the property values of the given bean to named parameters of the query, matching property names with parameter names and mapping property types to Hibernate types using heuristics.

Parameters
bean:Object

any JavaBean or POJO

Returns:SqmQuery

this, for method chaining

Annotations
@Override
setPropertiesback to summary
public SqmQuery setProperties(Map<K, V> bean)

Redeclares org.hibernate.query.CommonQueryContract.setProperties.

Doc from org.hibernate.query.CommonQueryContract.setProperties.

Bind the values of the given Map to named parameters of the query, matching key names with parameter names and mapping value types to Hibernate types using heuristics.

Parameters
bean:Map<K, V>

a Map of names to arguments

Returns:SqmQuery

this, for method chaining

Annotations
@Override