Uses of Class
com.github.collinalpert.java2db.queries.OrderTypes
-
Packages that use OrderTypes Package Description com.github.collinalpert.java2db.pagination com.github.collinalpert.java2db.queries com.github.collinalpert.java2db.services -
-
Uses of OrderTypes in com.github.collinalpert.java2db.pagination
Methods in com.github.collinalpert.java2db.pagination with parameters of type OrderTypes Modifier and Type Method Description PaginationResult<T>PaginationResult. orderBy(OrderTypes orderType, com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?>... orderFunctions)Adds ORDER BY statements to the queries executed for the pages in a coalescing manner. -
Uses of OrderTypes in com.github.collinalpert.java2db.queries
Methods in com.github.collinalpert.java2db.queries that return OrderTypes Modifier and Type Method Description static OrderTypesOrderTypes. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OrderTypes[]OrderTypes. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.github.collinalpert.java2db.queries with parameters of type OrderTypes Modifier and Type Method Description Query<T>Query. orderBy(OrderTypes type, com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?>... functions)Sets multiple ORDER BY clauses for the DQL statement. -
Uses of OrderTypes in com.github.collinalpert.java2db.services
Methods in com.github.collinalpert.java2db.services with parameters of type OrderTypes Modifier and Type Method Description java.util.List<T>BaseService. getAll(OrderTypes sortingType, com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?> orderBy)Gets all values from the table and orders them in the specified order by multiple columns in a coalescing manner.java.util.List<T>BaseService. getAll(OrderTypes sortingType, com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?>... orderBy)Gets all values from the table and orders them in the specified order by multiple columns in a coalescing manner.java.util.concurrent.CompletableFuture<java.lang.Void>AsyncBaseService. getAllAsync(java.util.function.Consumer<? super java.util.List<T>> callback, OrderTypes sortingType, com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?> orderBy)The asynchronous version of theBaseService.getAll(OrderTypes, SqlFunction)method.java.util.concurrent.CompletableFuture<java.lang.Void>AsyncBaseService. getAllAsync(java.util.function.Consumer<? super java.util.List<T>> callback, OrderTypes sortingType, com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?>... orderBy)The asynchronous version of theBaseService.getAll(OrderTypes, SqlFunction[])method.
-