jakarta.persistence.criteria.CriteriaBuilder#parameter ).
JpaCriteriaParameter is the "domain query parameter" (org.hibernate.query.QueryParameter
while SqmJpaCriteriaParameterWrapper is the SqmParameter
| Modifier and Type | Field and Description |
|---|---|
| private final JpaCriteriaParameter |
| Access | Constructor and Description |
|---|---|
| public | SqmJpaCriteriaParameterWrapper(BindableType<T> type, JpaCriteriaParameter<T> jpaCriteriaParameter, NodeBuilder criteriaBuilder)
|
| Modifier and Type | Method and Description |
|---|---|
| public <X> X | accept(SemanticQueryWalker<X> walker)
Implements org. |
| public boolean | allowMultiValuedBinding()
Implements org. |
| public void | |
| public int | compareTo(SqmParameter<T>
the object to be compared. anotherParameter)Overrides default org. |
| public SqmJpaCriteriaParameterWrapper | |
| public SqmParameter | |
| public BindableType | getAnticipatedType()
Implements org. |
| public JpaCriteriaParameter | |
| public String | getName()
Implements org. null.
|
| public Class | getParameterType()
Implements jakarta. |
| public Integer | getPosition()
Implements org. null.
|
| public void | visitSubSelectableNodes(Consumer<SqmSelectableNode<?>> jpaSelectionConsumer)
Overrides default org. Implements org. Selection model (which is really a "selectable",
just poorly named and poorly defined
|
| jpaCriteriaParameter | back to summary |
|---|---|
| private final JpaCriteriaParameter<T> jpaCriteriaParameter | |
| SqmJpaCriteriaParameterWrapper | back to summary |
|---|---|
| public SqmJpaCriteriaParameterWrapper(BindableType<T> type, JpaCriteriaParameter<T> jpaCriteriaParameter, NodeBuilder criteriaBuilder) | |
| accept | back to summary |
|---|---|
| public <X> X accept(SemanticQueryWalker<X> walker) Implements org. Unsupported. Visitation for a criteria parameter should be handled
as part of
| |
| allowMultiValuedBinding | back to summary |
|---|---|
| public boolean allowMultiValuedBinding() Implements org. Doc from org. Can a collection/array of values be bound to this parameter? This is allowed in very limited contexts within the query:
| |
| appendHqlString | back to summary |
|---|---|
| public void appendHqlString(StringBuilder sb) Implements org.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(SqmParameter<T> anotherParameter) Overrides default org. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| copy | back to summary |
|---|---|
| public SqmParameter Implements org. Doc from org. Make a copy
| |
| getAnticipatedType | back to summary |
|---|---|
| public BindableType Implements org. Doc from org. Based on the context it is declared, what is the anticipated type for bind values? Note If
| |
| getJpaCriteriaParameter | back to summary |
|---|---|
| public JpaCriteriaParameter | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. If this represents a named parameter, return that parameter name;
otherwise return | |
| getParameterType | back to summary |
|---|---|
| public Class Implements jakarta. Doc from jakarta. Return the Java type of the parameter. Values bound to the parameter must be assignable to this type. This method is required to be supported for criteria queries only. Applications that use this method for Jakarta Persistence query language queries and native queries will not be portable. | |
| getPosition | back to summary |
|---|---|
| public Integer getPosition() Implements org. Doc from org. If this represents a positional parameter, return that parameter position;
otherwise return | |
| visitSubSelectableNodes | back to summary |
|---|---|
| public void visitSubSelectableNodes(Consumer<SqmSelectableNode<?>> jpaSelectionConsumer) Overrides default org. Implements org. Doc from org. Visit each of this selectable's direct sub-selectables - used to
support JPA's
| |