| Modifier and Type | Field and Description |
|---|---|
| private NullPrecedence | |
| private final SqmExpression | |
| private final SortDirection |
| Access | Constructor and Description |
|---|---|
| public | SqmSortSpecification(SqmExpression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public SqmSortSpecification | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public JpaExpression | getExpression()
Implements org. |
| public NullPrecedence | getNullPrecedence()
Implements org. |
| public SortDirection | getSortDirection()
Implements org. |
| public SqmExpression | |
| public int | |
| public boolean | isAscending()
Implements jakarta. |
| public JpaOrder | nullPrecedence(NullPrecedence nullPrecedence)
Implements org. |
| public JpaOrder |
| nullPrecedence | back to summary |
|---|---|
| private NullPrecedence nullPrecedence | |
| sortExpression | back to summary |
|---|---|
| private final SqmExpression<T> sortExpression | |
| sortOrder | back to summary |
|---|---|
| private final SortDirection sortOrder | |
| SqmSortSpecification | back to summary |
|---|---|
| public SqmSortSpecification(SqmExpression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) | |
| SqmSortSpecification | back to summary |
|---|---|
| public SqmSortSpecification(SqmExpression<T> sortExpression) | |
| SqmSortSpecification | back to summary |
|---|---|
| public SqmSortSpecification(SqmExpression<T> sortExpression, SortDirection sortOrder) | |
| appendHqlString | back to summary |
|---|---|
| public void appendHqlString(StringBuilder sb) | |
| copy | back to summary |
|---|---|
| public SqmSortSpecification copy(SqmCopyContext context) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getExpression | back to summary |
|---|---|
| public JpaExpression Implements org. Doc from org. The expression to sort by
| |
| getNullPrecedence | back to summary |
|---|---|
| public NullPrecedence getNullPrecedence() Implements org. Doc from org. The precedence for nulls for this order element
| |
| getSortDirection | back to summary |
|---|---|
| public SortDirection getSortDirection() Implements org. Doc from org. The direction, ascending or descending, in which to sort
| |
| getSortExpression | back to summary |
|---|---|
| public SqmExpression | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isAscending | back to summary |
|---|---|
| public boolean isAscending() Implements jakarta. Doc from jakarta. Whether ascending ordering is in effect.
| |
| nullPrecedence | back to summary |
|---|---|
| public JpaOrder nullPrecedence(NullPrecedence nullPrecedence) Implements org. Doc from org. Set the precedence of nulls for this order element
| |
| reverse | back to summary |
|---|---|
| public JpaOrder reverse() Implements org. Doc from org. Reverse the sorting direction
| |