Implementation Note
Each usage of a given named/positional query parameter will result in a unique SqmParameter instance, each will simply use to the same binding. This is important to distinguish usage of the same parameter in different clauses which effects the rendering and value binding.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if binding collection/array of values is allowed
for this parameter; false otherwise.Can a collection/array of values be bound to this parameter? |
| public default int | compareTo(SqmParameter<T>
the object to be compared. anotherParameter)Implements java. |
| public SqmParameter | |
| public SqmParameter | |
| public BindableType | Returns: The anticipated Type.Based on the context it is declared, what is the anticipated type for bind values? |
| public String | Returns: The parameter name, ornull if not a named parameterRedeclares jakarta. null.
|
| public SqmExpressible | getNodeType()
Redeclares org. |
| public Integer | Returns: The parameter positionRedeclares jakarta. null.
|
| allowMultiValuedBinding | back to summary |
|---|---|
| public boolean allowMultiValuedBinding() Can a collection/array of values be bound to this parameter? This is allowed in very limited contexts within the query:
| |
| compareTo | back to summary |
|---|---|
| public default int compareTo(SqmParameter<T> anotherParameter) Implements java. 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 Implementation Specification Defined as default since this is an SPI to support any previous extensions
| |
| copy | back to summary |
|---|---|
| public SqmParameter Make a copy | |
| copy | back to summary |
|---|---|
| public SqmParameter Redeclares org.
| |
| getAnticipatedType | back to summary |
|---|---|
| public BindableType Based on the context it is declared, what is the anticipated type for bind values? Note If
| |
| getName | back to summary |
|---|---|
| public String getName() Redeclares jakarta. If this represents a named parameter, return that parameter name;
otherwise return
| |
| getNodeType | back to summary |
|---|---|
| public SqmExpressible Redeclares org. Doc from org. The expression's type.
Can change as a result of calls to
| |
| getPosition | back to summary |
|---|---|
| public Integer getPosition() Redeclares jakarta. If this represents a positional parameter, return that parameter position;
otherwise return
| |