| Constructor and Description |
|---|
DefaultStringSortQuery(IKeyNamingPolicy keyNamingPolicy,
org.springframework.data.redis.core.query.SortQuery<String> origin) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBy()
Returns the pattern of the external key used for sorting.
|
List<String> |
getGetPattern()
Returns the external key(s) whose values are returned by the sort.
|
String |
getKey()
Return the target key for sorting.
|
org.springframework.data.redis.connection.SortParameters.Range |
getLimit()
Returns the sorting limit (range or pagination).
|
org.springframework.data.redis.connection.SortParameters.Order |
getOrder()
Returns the sorting order.
|
Boolean |
isAlphabetic()
Indicates if the sorting is numeric (default) or alphabetical (lexicographical).
|
public DefaultStringSortQuery(IKeyNamingPolicy keyNamingPolicy, org.springframework.data.redis.core.query.SortQuery<String> origin)
public String getKey()
getKey in interface org.springframework.data.redis.core.query.SortQuery<String>public org.springframework.data.redis.connection.SortParameters.Order getOrder()
getOrder in interface org.springframework.data.redis.core.query.SortQuery<String>public Boolean isAlphabetic()
isAlphabetic in interface org.springframework.data.redis.core.query.SortQuery<String>public org.springframework.data.redis.connection.SortParameters.Range getLimit()
getLimit in interface org.springframework.data.redis.core.query.SortQuery<String>public String getBy()
getBy in interface org.springframework.data.redis.core.query.SortQuery<String>Copyright © 2021. All rights reserved.