java.lang.Object
io.lettuce.core.SortArgs.Builder
- Enclosing class:
- SortArgs
public static class SortArgs.Builder extends Object
Builder entry points for
SortArgs.-
Method Summary
Modifier and Type Method Description static SortArgsalpha()Creates newSortArgssetting ALPHA.static SortArgsasc()Creates newSortArgssetting ASC.static SortArgsby(String pattern)Creates newSortArgssetting PATTERN.static SortArgsdesc()Creates newSortArgssetting DESC.static SortArgsget(String pattern)Creates newSortArgssetting GET.static SortArgslimit(long offset, long count)Creates newSortArgssetting LIMIT.
-
Method Details
-
by
Creates newSortArgssetting PATTERN.- Parameters:
pattern- must not benull.- Returns:
- new
SortArgswith PATTERN set. - See Also:
SortArgs.by(String)
-
limit
Creates newSortArgssetting LIMIT.- Parameters:
offset-count-- Returns:
- new
SortArgswith LIMIT set. - See Also:
SortArgs.limit(long, long)
-
get
Creates newSortArgssetting GET.- Parameters:
pattern- must not benull.- Returns:
- new
SortArgswith GET set. - See Also:
SortArgs.by(String)
-
asc
Creates newSortArgssetting ASC.- Returns:
- new
SortArgswith ASC set. - See Also:
SortArgs.asc()
-
desc
Creates newSortArgssetting DESC.- Returns:
- new
SortArgswith DESC set. - See Also:
SortArgs.desc()
-
alpha
Creates newSortArgssetting ALPHA.- Returns:
- new
SortArgswith ALPHA set. - See Also:
SortArgs.alpha()
-