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.PaginationResult<T>PaginationResult. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?> orderFunction, OrderTypes orderType)Deprecated, for removal: This API element is subject to removal in a future version.Since the coalescing feature for ORDER BY statements was introduced, there is no need for the single-parameter methods. -
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.Query<T>Query. orderBy(com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?> function, OrderTypes type)Deprecated, for removal: This API element is subject to removal in a future version.Since the coalescing feature for ORDER BY statements was introduced, there is no need for the single-parameter methods. -
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(com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?> orderBy, OrderTypes sortingType)Gets all values from the table and orders them in the specified order.java.util.List<T>BaseService. getAll(com.github.collinalpert.lambda2sql.functions.SqlFunction<T,?> orderBy, OrderTypes sortingType, int limit)Gets all values from the table, orders them in a specific order and limits the result.
-