Package glide.api.models.commands
Class SortBaseOptions
- java.lang.Object
-
- glide.api.models.commands.SortBaseOptions
-
- Direct Known Subclasses:
SortOptions,SortOptionsBinary
public abstract class SortBaseOptions extends java.lang.ObjectOptional arguments to sort, sortReadOnly, and sortStore commands
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSortBaseOptions.LimitTheLIMITargument is commonly used to specify a subset of results from the matching elements, similar to theLIMITclause in SQL (e.g., `SELECT LIMIT offset, count`).static classSortBaseOptions.OrderBySpecifies the order to sort the elements.static classSortBaseOptions.SortBaseOptionsBuilder<C extends SortBaseOptions,B extends SortBaseOptions.SortBaseOptionsBuilder<C,B>>
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringALPHA_COMMAND_STRINGALPHAsubcommand string to include in theSORTandSORT_ROcommands.static java.lang.StringLIMIT_COMMAND_STRINGLIMITsubcommand string to include in theSORTandSORT_ROcommands.static java.lang.StringSTORE_COMMAND_STRINGSTOREsubcommand string to include in theSORTcommand.
-
Constructor Summary
Constructors Modifier Constructor Description protectedSortBaseOptions(SortBaseOptions.SortBaseOptionsBuilder<?,?> b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]toArgs()Creates the arguments to be used inSORTandSORT_ROcommands.
-
-
-
Field Detail
-
LIMIT_COMMAND_STRING
public static final java.lang.String LIMIT_COMMAND_STRING
LIMITsubcommand string to include in theSORTandSORT_ROcommands.- See Also:
- Constant Field Values
-
ALPHA_COMMAND_STRING
public static final java.lang.String ALPHA_COMMAND_STRING
ALPHAsubcommand string to include in theSORTandSORT_ROcommands.- See Also:
- Constant Field Values
-
STORE_COMMAND_STRING
public static final java.lang.String STORE_COMMAND_STRING
STOREsubcommand string to include in theSORTcommand.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SortBaseOptions
protected SortBaseOptions(SortBaseOptions.SortBaseOptionsBuilder<?,?> b)
-
-